Re: Standard library praise and challenge
- Posted by petelomax Sep 15, 2011
- 3110 views
mattlewis said...
jimcbrown said...
-- nan.ex constant NaN=-(2*power(10,308)/(3*power(10,308))) ? NaN
It's not working!
mattlewis said...
jimcbrown said...
-- nan.ex constant NaN=(2*power(10,9008)/(3*power(10,9008))) ? NaN
That gives me -nan.
Matt
Bit late, but there's no '-' in the second expression. The float64_to_atom is probably faster anyway.
Pete