Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Infinity and Inf?

by ikegami (Patriarch)
on Aug 31, 2010 at 17:45 UTC ( [id://858192]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use constant MAX_INT => unpack('J', pack('j', -1));
    use constant MAX_INT => 0+sprintf('%u', -1);
    
  2. or download this
    for (my $_ = 1; ; ++$_)
    
  3. or download this
    $ perl -e'Inf()'
    Undefined subroutine &main::Inf called at -e line 1.
    ...
    $ perl -Mstrict -e'Inf'
    Bareword "Inf" not allowed while "strict subs" in use at -e line 1.
    Execution of -e aborted due to compilation errors.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2024-04-23 11:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found