Re: Uninitialized Variables
- Posted by jbrown1050 at yahoo.com Mar 24, 2002
- 451 views
On 0, Andy Serpa <renegade at earthling.net> wrote: > > > > I still don't understand what is wrong with equal(x,nan) > > > > > Simply, it doesn't work on my system. If it works on yours, then that's > a double-reason not to use it, as clearly it is unpredictable. The > other thread my have solved my problem, though -- sprint(nan) returns > "nan"! > It doesnt work for me either. equal(fix_num(x), fix_num(nan)), which uses my sprint() hack, does work fine, but thats only because fix_num() uses a version of value() which is hacked so it returns the same nan (btw the original value() doesnt work with nan or inf at all. It returns GET_FAILURE in either case.) jbrown -- "Is there peace in heaven, or is that merely an illusion?" - Someone "May peace find its way through the heavens to the world of men and women before the fires of the damned consume them." - Someone Linux User:190064 Linux Machine:84163