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

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,

Comment on Re: Incrementing "Infinity" bug
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2015-11-28 11:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (741 votes), past polls