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

Re: Funny addition behaviour

by Theo (Priest)
on Apr 22, 2004 at 23:55 UTC ( #347504=note: print w/replies, xml ) Need Help??


in reply to Funny addition behaviour

I don't have a system to test this on, but what happens if you scale all the number up by a factor of 10?
perl -e 'print "CRAP\n" if ((334+333+333)/10 != 100)'
In other words, can you get around the problem by not dealing with decimals?

-Theo-
(so many nodes and so little time ... )

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://347504]
help
Chatterbox?
[stevieb]: ahhh you're talking about the actual Makefile, not the PP Makefile.PL
[Corion]: LanX: But most of that is just setup of variables to be used later, like CC , LIB etc.
[LanX]: yes and some builders try to avoid it
[RonW]: :)

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2017-08-18 21:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (310 votes). Check out past polls.

    Notices?