[Openmcl-devel] Re: Probably a stupid question...
Christophe Rhodes
csr21 at cam.ac.uk
Sat Aug 6 06:31:31 PDT 2005
Duncan Rose <duncan at robotcat.demon.co.uk> writes:
> LispWorks returns the same results as OpenMCL for me so I presume I'm
> just overlooking something...
Consider what (read-from-string "1234561.984537") returns. Then read
Goldberg, "What Every Computer Scientist Should Know About Floating
Point". (Briefly, the rational number 1234561984537/1000000 is not
exactly representable as a IEEE single float)
Cheers,
Christophe
More information about the Openmcl-devel
mailing list