Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Incrementing "Infinity" bug

by Athanasius (Canon)
on Mar 24, 2013 at 14:56 UTC ( #1025152=note: print w/replies, xml ) Need Help??


in reply to Incrementing "Infinity" bug

0:52 >perl -E "$a = inf; print ++$a, qq[\n];" ing 0:52 >perl -E "$a = inf + 0; print ++$a, qq[\n];" 1.#INF 0:52 >perl -Mbigint -E "$a = inf; print ++$a, qq[\n];" inf 0:52 >perl -v This is perl 5, version 16, subversion 0 (v5.16.0) built for MSWin32-x +86-multi-thread-64int (with 1 registered patch, see perl -V for more detail)

Hope that helps,

Athanasius <°(((><contra mundum Iustus alius egestas vitae, eros Piratica,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2016-10-01 21:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (7 votes). Check out past polls.