[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing the reference implementation
This page is part of the web mail archives of SRFI 77 from before July 7th, 2015. The new archives for SRFI 77 contain all messages, not just those from before July 7th, 2015.
> r6rs/will> (load "complex-test.scm")
> Error: I'm bored.
The reason for this behavior is that
the file 'scheme48-1.3/scheme/rts/floatnum.scm'
tries to compute the
exponent of a float value x by multiplying
by 1, 2, 4, 8, etc. until the
product is integral---which never happens
for x = +inf. This is initiated
by a call to ZERO? on +INF.0 in procedure
/* of 'flonum.scm' of the
SRFI's reference implementation.
The shortest program producing the same
,config ,load packages.scm
(let ((n r5rs->number)) (/ (n 1.0) (/ (n 1.0) (n
So far for today...
Dr. Sebastian Egner
Philips Research Laboratories
Prof. Holstlaan 4 (WDC 1-051, 1st floor, room 51)
5656 AA Eindhoven
tel: +31 40 27-43166
fax: +31 40 27-44004