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: Bytes order and words order


Matt Austern <austern@apple.com> writes:

| On Friday, August 23, 2002, at 12:13 PM, Gabriel Dos Reis wrote:
| 
| > |  On the PPC a qNaN
| > | has the most significant fraction bit 1 and an sNaN has 0,
| >
| > Yes, that is what I have on SPARCs too.
| >
| > | and
| > | for MIPS it's the other way around.
| 
| See table B-2 in the MIPS IV Instruction Set reference,
| which you can find at this rather inconvenient URL:
| http://techpubs.sgi.com/library/tpl/cgi-bin/ 
| download.cgi?coll=hdwr&db=bks&docnumber=007-2597-001

Thanks a lot.  Indeed, that complicates a little bit the task.  I'll
have to go back and double-check the IEEE-754 (which I don't have handy
here). 

It is interesting to note that real.[ch] just treats them equally
without distinguishing a QNaN from an SNaN.

-- Gaby


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