Re: Standard library praise and challenge

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

Does this work for you guys?

include std/convert.e 
constant NaN= float64_to_atom({0,0,0,0,0,192,255,127}) 
? NaN 
? 3 + NaN 
 
function tn(object a) 
  return a * 2 
end function 
? tn(NaN) 

I get all nans on 4.1 64-bit.

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu