[r6rs-discuss] Two questions about writing inexact numbers

Alan Watson alan at alan-watson.org
Tue May 29 16:27:50 EDT 2007


John Cowan replied (off-list, but forwarded here with his permission):

 > If I mean "I want to be able to write a flonum on one implementation and
 > guarantee (within range restrictions) that it will be read as a flonum
 > on any other implementation",

Technically you can't do that at all, since the flonums are an
implementation-dependent subset of the inexact reals.  As of 5.91
(I haven't checked more recently) it was conformant for the only
flonum to be 0.0.




More information about the r6rs-discuss mailing list