There was a Parcplace package extending VW with such classes (NaN,
Infinity, Infinitesimal), and I liked it (can't remember if inheriting
from Magnitude though).

The main difference I see with state of the art FPU practice is
Exception handling: that does force Exception handling where users
might prefer traditional exceptional values...

Nicolas

2009/7/8 Igor Stasenko <[email protected]>:
> 2009/7/8 Andres Valloud <[email protected]>:
>> Would NaN be polymorphic with floats?
>>
> Do you mean , be a part of Number/Float class hierarchy?
> Answer is: no.
> Because NotANumber is not a number :)
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to