From: "Dr.Ruud" <[email protected]>
Octavian Rasnita wrote:
print 0.79 - 0.798;
-0.00800000000000001
which is obviously wrong.
And it is obvious to me that you are wrong. Funny hey?
--
Ruud
Sorry but the calculation is obviously wrong. It is not my fault that the
computers can't make a perfect float calculation with an infinite number of
digits.
But yes, it is not just a fault of perl.
Octavian
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/