in reply to Re^2: int($x) gives strange result
in thread int($x) gives strange result

How is What Every Computer Scientist Should Know About Floating-Point Arithmetic misleading?

Replies are listed 'Best First'.
Re^4: int($x) gives strange result
by ikegami (Patriarch) on Aug 25, 2009 at 01:43 UTC
    I never said it was. In response to the post, I said it was misleading. I didn't say anything about that line specifically. In fact, I went on to show what was misleading, and it had nothing to do with that line. The "POSIX::floor" and "POSIX::ceil" functions will not serve you better than will int().
      How is it misleading, it explains how int truncates works?

        By being untrue. I have both shown and stated how it's untrue.

        Update: Wait, are you still talking about that linked document? Again, I didn't say that linked document was misleading.