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 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk 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.