[r6rs-discuss] Validity of nan.0 and inf.0 using a radix other than 10.
xacc.ide at gmail.com
Thu Jul 17 06:41:51 EDT 2008
Should the following be valid:
According to the spec it is. The question being raised is whether the
'decimal point' in nan's and inf's should be treated as a normal decimal
point, making them implicitly a decimal.
Also, nan's and inf's are inexact by nature, there are also no way to create
any other forms of inexact numbers using a radix other than 10 (according to
"If the representation of a number object has no exactness prefix, the
constant is inexact if it contains a decimal point, an exponent, or a
nonempty mantissa width; otherwise it is exact."
The above either implies nan's and inf's are exact OR the 'decimal point' in
them are infact seen as a real decimal point allowing them to be inexact.
This is ambiguous.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the r6rs-discuss