This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: fmax(+0,-0)
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 03 Dec 2002 10:43:44 -0800
- Subject: Re: fmax(+0,-0)
- References: <u8u1hvz4js.fsf@gromit.moeb>
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 `---------------------------