delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | acp3bf.physik.rwth-aachen.de: broeker owned process doing -bs |
Date: | Thu, 11 Jan 2001 19:09:45 +0100 (MET) |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
X-Sender: | broeker AT acp3bf |
To: | djgpp-workers AT delorie DOT com |
Subject: | Re: Weird results of log( -1.0 ) with libm.a and without libm.a |
(fwd) | |
In-Reply-To: | <20010111180416.8986.qmail@tyr.diku.dk> |
Message-ID: | <Pine.LNX.4.10.10101111908290.10452-100000@acp3bf> |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
On 11 Jan 2001, Morten Welinder wrote: > > >From Solaris man page (a generally very good source): > > If x is NaN, NaN is returned. > > If x is less than 0, -HUGE_VAL or NaN is returned and errno > is set to EDOM. But it does not seem to tell when it will return -HUGE_VAL, and when NaN, does it? Neither does the cited excerpt mention what part of this is directed by which external standard (ANSI, POSIX, X/Open, whatever). -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |