in reply to strange result for a simple addition ??

That's what Math::BigFloat is for. See, as explained above, many languages only support a certain level of precision natively for storing floating numbers. If you need precision for floating-point math, the module above is your friend.

<radiant.matrix>
A collection of thoughts and links from the minds of geeks
The Code that can be seen is not the true Code
I haven't found a problem yet that can't be solved by a well-placed trebuchet
  • Comment on Re: strange result for a simple addition ??