Re: Uninitialized Variables

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

>
> it's not a CPU thing.
>
> This works for me...
>
> -------------------
> atom x,y,nan,inf
> inf = 1e300 * 1e300
> nan = -(inf / inf) -- ( inf / inf = -nan )
>
> ? equal(10,nan)
> ? not equal(10,nan)
> ? equal(nan,nan)
> -------------------
>
> my results are:
> 0
> 1
> 1
>
>
> Chris

Great. I get the same as you. I even get the same when using '=' rather than
'equal()'.

? 10 = nan
? not (10 = nan)
? nan = nan

Chris, what CPU are use running with? Why does Andy get different results?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu