Date: 11 Jan 2001 18:04:16 -0000 Message-ID: <20010111180416.8986.qmail@tyr.diku.dk> From: Morten Welinder To: djgpp-workers AT delorie DOT com In-reply-to: (message from Eli Zaretskii on Thu, 11 Jan 2001 19:25:04 +0200 (IST)) Subject: Re: Weird results of log( -1.0 ) with libm.a and without libm.a (fwd) References: 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 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. If x is 0, -HUGE_VAL is returned and errno may be set to ERANGE. Morten