in reply to Re: Odd results from mixing integer and floating point math?
in thread Odd results from mixing integer and floating point math?

Aie! Sometimes you just need someone else to say what you should already know. The result is so ridiculous that, yes, of course, it's a typo in the script. Had inadvertently subtracted $e from the wrong variable. That's what I get for coding on Sundays. Thanks.

Forget that fear of gravity,
Get a little savagery in your life.

  • Comment on Re^2: Odd results from mixing integer and floating point math?

Replies are listed 'Best First'.
Re^3: Odd results from mixing integer and floating point math?
by rinceWind (Monsignor) on Aug 21, 2005 at 20:07 UTC
    Would that not have been caught by use strict?

    --

    Oh Lord, won’t you burn me a Knoppix CD ?
    My friends all rate Windows, I must disagree.
    Your powers of persuasion will set them all free,
    So oh Lord, won’t you burn me a Knoppix CD ?
    (Missquoting Janis Joplin)

      Umm...  no, because use strict; does not catch logic errors of this sort (or any sort, afaik).