Similar comments have come up before. While I would consider the case the OP showed a bug -- more likely in the underlying C compiler than in the source code for Perl (see below) -- it is also fairly well known that floating point is, most emphatically, not isomorphic with real numbers. See, for some more information:
What every computer scientist should know about floating-point arithme +tic Source ACM Computing Surveys (CSUR) archive Volume 23 , Issue 1 (March 1991) table of contents Pages: 5 - 48 Year of Publication: 1991 ISSN:0360-0300 Author David Goldberg Xerox Palo Alto Research Center, Palo Alto, CA
The reason I would consider this behavior to be a bug is that it only occurs on one system. I'm blaming the C-compiler because I would expect the numerical processing code is among the least system-dependent parts of the Perl source.
emc
Visit NetlibIn reply to Re: bug in Perl compilation?
by swampyankee
in thread bug in Perl compilation?
by bkgallo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |