( ESNUG 317 Item 2 ) --------------------------------------------- [5/13/99]

From: Erik Runeson <erikr@iar.se>
Subject: Bug in SPARC floating-point implementation?

I just discovered what I consider a bug, or at least a deviation from the
IEEE 754 Standard, in the floating-point hardware of an Ultra-1 Sparc
station.  When comparing two quiet NaNs with the predicates equal (==) and
not equal (!=), the Invalid Operation flag was raised.  Now, the standard
very clearly states that these predicates should not raise Invalid Operation
when the operands are unordered.

Does anyone know why Sun has choosen not to follow the standard for
this case?

    - Erik Runeson
      IAR Systems AB                              Uppsala, Sweden



 Sign up for the DeepChip newsletter.
Email
 Read what EDA tool users really think.


Feedback About Wiretaps ESNUGs SIGN UP! Downloads Trip Reports Advertise

"Relax. This is a discussion. Anything said here is just one engineer's opinion. Email in your dissenting letter and it'll be published, too."
This Web Site Is Modified Every 2-3 Days
Copyright 1991-2024 John Cooley.  All Rights Reserved.
| Contact John Cooley | Webmaster | Legal | Feedback Form |

   !!!     "It's not a BUG,
  /o o\  /  it's a FEATURE!"
 (  >  )
  \ - / 
  _] [_     (jcooley 1991)