Re: Standard library praise and challenge

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...
jimcbrown said...
-- nan.ex 
constant NaN=-(2*power(10,308)/(3*power(10,308))) 
? NaN 

It's not working! sad

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu