Re: Uninitialized Variables
- Posted by Derek Parnell <ddparnell at bigpond.com> Mar 23, 2002
- 456 views
> > 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?