This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: infinity != infinity


Andreas Schwab wrote:

>Joern Rennecke <joern.rennecke@superh.com> writes:
>> Thus, two infinities with the same sign should compare unordered.
>
>The m68881 disagrees, and it is supposed to be IEEE compliant.

zSeries is supposed to be fully IEEE compliant as well, and its
Principles of Operation state that for the COMPARE instruction:
"Two infinity operands of like sign compare equal.", see
http://publibfp.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/dz9zr002/19.4.2?DT=20030424140649

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  weigand@informatik.uni-erlangen.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]