Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Checking whether a $var is a number

by hsmyers (Canon)
on Sep 05, 2001 at 02:55 UTC ( [id://110193]=note: print w/replies, xml ) Need Help??


in reply to Checking whether a $var is a number

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

  • Comment on Re: Checking whether a $var is a number

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://110193]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 17:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found