This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: fmax(+0,-0)


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 `---------------------------


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