fmax(+0,-0)

Ulrich Drepper drepper@redhat.com
Tue Dec 3 10:43:00 GMT 2002


Andreas Jaeger wrote:
> What is the goal of our fmax implementation?  Should it return +0 for
> fmax(+0,-0)?  I think the current C implementation :
> [...]

The standard doesn't require anything specific other than NaN handling.
 Fortunately.  I'm inclined to leave it as is since no rules of math are
violated.  If you insist on changing something talk to the ISO C (or
even better: IEC 60559 people) to add something to their standard.

-- 
--------------.                        ,-.            444 Castro Street
Ulrich Drepper \    ,-----------------'   \ Mountain View, CA 94041 USA
Red Hat         `--' drepper at redhat.com `---------------------------



More information about the Libc-alpha mailing list