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


>Thus, two infinities with the same sign should compare unordered.

The m68881 disagrees, and it is supposed to be IEEE compliant.

The 8087 (and all of it successors) did too, and it is where IEEE itself originated. GCC's fp-bit.c disagrees as well. I don't know of any processor that implements your scheme -- your analysis is sound, agreed.


Paolo


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