[r6rs-discuss] Two questions about writing inexact numbers

Alan Watson alan at alan-watson.org
Wed May 23 18:07:56 EDT 2007


(a) Are put-datum (and write) required to write inexact numbers 
according to the restrictions placed on number->string (i.e., the 
minumum number of digits necessary to be eqv? on round-trip conversion)?

(b) Is there a simple way to write a flonum in a way that will always be 
read as a flonum (i.e., with an e exponent and no explicit mantissa 
precision)?

My reading of the latest draft suggests that the answers are "No" and 
"No". Hmm.

Regards,

Alan



More information about the r6rs-discuss mailing list