|
There is a procedure inexact->exact that creates exact representations. MIT Scheme Manual (Scroll up)
With this procedure, I'm observing glitches:
(inexact->exact 0.5) ;Value: 1/2 (inexact->exact 0.3) ;Value: 5404319552844595/18014398509481984 Why it doesn't evaluate 0.3 to 3/10 beats me. |
Don't use inexact->exact: it just pretends that something is exact by Mike O'Donnell, 2002, Nov 07
to: