laziness, impatience, and hubris | |
PerlMonks |
Re: Checking whether a $var is a numberby hsmyers (Canon) |
on Sep 05, 2001 at 02:55 UTC ( [id://110193]=note: print w/replies, xml ) | Need Help?? |
Just a thought, but if I had to guess, isNaN, probably checks to see if it got a NAN error from the FPU, if so, the quickest way would be to craft your own— but to get your hands on the FPU you would have to go low level (i.e. 'C' or asm) sooner or later... Question, does Perl's SIGNAL tie to this exception? hsm
In Section
Seekers of Perl Wisdom
|
|