Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^6: negative numbers when doing multiplications? (float++)

by almut (Canon)
on Mar 26, 2010 at 22:50 UTC ( [id://831290]=note: print w/replies, xml ) Need Help??


in reply to Re^5: negative numbers when doing multiplications? (float++)
in thread negative numbers when doing multiplications?

...which made me wonder why printf "%d" (apparently) did work for tye — I''m assuming he used a 32-bit perl, because personally I cannot replicate the issue with use integer on any of the 64-bit perls that I tried.

Replies are listed 'Best First'.
Re^7: negative numbers when doing multiplications? (float++)
by ikegami (Patriarch) on Mar 26, 2010 at 22:57 UTC
    Good point. I think he has a 64-bit Perl and didn't do a control test.

Log In?
Username:
Password:

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

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

    No recent polls found