| delorie.com/archives/browse.cgi | search |
| Date: | 11 Jan 2001 18:04:16 -0000 |
| Message-ID: | <20010111180416.8986.qmail@tyr.diku.dk> |
| From: | Morten Welinder <terra AT diku DOT dk> |
| To: | djgpp-workers AT delorie DOT com |
| In-reply-to: | <Pine.SUN.3.91.1010111191955.20014B-100000@is> (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: | <Pine DOT SUN DOT 3 DOT 91 DOT 1010111191955 DOT 20014B-100000 AT is> |
| 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 |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |