[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Scm-discuss] scm has errors in R4RS test on x86
From: |
Nathan Thern |
Subject: |
[Scm-discuss] scm has errors in R4RS test on x86 |
Date: |
Fri, 12 Nov 2010 16:42:49 -0600 |
I have tried this on linux, cygwin and Windows. The Windows executable
is the pre-compiled one provided by Aubrey Jaffer. The linux and
cygwin executables I compiled myself.
The executables all have the same errors when loading r4rstest.scm.
The errors all result from number->string + string->number conversion
as seen in this session paste:
----
address@hidden ~/build/scm]$ ./scm
SCM version 5e7, Copyright (C) 1990-2006 Free Software Foundation.
SCM comes with ABSOLUTELY NO WARRANTY; for details type `(terms)'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `(terms)' for details.
;loading /home/nthern/mylib/slib/require
;done loading /home/nthern/mylib/slib/require.scm
;loading /home/nthern/build/scm/Link
;done loading /home/nthern/build/scm/Link.scm
;loading /home/nthern/build/scm/Transcen
;done loading /home/nthern/build/scm/Transcen.scm
> (+ 1.0 (* -100 222.0446049250313e-18))
999.9999999999778e-3
> (number->string (+ 1.0 (* -100 222.0446049250313e-18)))
"999.9999999999778e-3"
> (string->number (number->string (+ 1.0 (* -100 222.0446049250313e-18))))
999.9999999999776e-3
> ;EXIT
address@hidden ~/build/scm]$
----
regards,
NT
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Scm-discuss] scm has errors in R4RS test on x86,
Nathan Thern <=