Re: Standard library praise and challenge

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...

However, Euphoria doesn't yet have a NaN that we can use. We should implement such a concept, even though it is not quite that easy to do well. If NaN can be an valid value in an expression or parameter, it affects lots of existing code.

I'm a bit confused. We might not have a constant in std/math.e or elsewhere, but we can do it:

constant NaN=-(2*power(10,308)/(3*power(10,308))) 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu