hadley wickham
7/23/2006 10:41:00 AM
> > Yes, but a lot of languages provide some way of accessing the
> > "constants" that represent special floating point numbers: Inf, -Inf
> > and NaN
> I think Matz vetoed anything that required IEEE floating point a little
> while ago. So ... for Ruby code to use Inf, -Inf or NaN, there would
> need to be special care taken to maintain portability.
Thanks for that explanation, although it does worry me a little, I
understand that getting floating point working precisely correctly
across multiple platforms is very hard.
Regards,
Hadley