This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: infinity != infinity
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Joern Rennecke <joern dot rennecke at superh dot com>, Paolo Bonzini <paolo dot bonzini at polimi dot it>, gcc at gcc dot gnu dot org
- Date: Sat, 10 Jul 2004 09:06:59 +0200
- Subject: Re: infinity != infinity
- References: <200407092106.i69L6rr15056@chloe.uk.w2k.superh.com> <je658w20j3.fsf@sykes.suse.de>
>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