NetBSD/lib/libm
jtc c1c8f42080 Changed core routines to call __ieee754_sqrt() instead of sqrt(). I
reported this enhancement to fdlibm-comments, and got the following
reply:

Date: Thu, 11 May 1995 14:35:25 -0700
From: Kwok.Ng@Eng.Sun.COM (KC Ng)
To: fdlibm-comments@sunpro.Eng.Sun.COM, jtc@cygnus.com
Subject: Re: fdlibm 5.2: why do core functions use sqrt?

> I noticed that core (e_*.c) fdlibm functions like __ieee754_acos()
> ensure that they call sqrt() with arguments in range (x > 0), when
> they could call __ieee754_sqrt() directly.
>
> Since sqrt() does a lot more work (verifies x is in range, etc.) is
> there any reason for this?  I'd think that calling __iee754_sqrt()
> would be more appropriate.  ....

You are right. __ieee754_sqrt should be in use with e_*.c.
1995-05-12 04:57:13 +00:00
..
arch Winning Strategies has placed this code in the public domain. 1995-05-11 23:03:44 +00:00
man removed log2 from manpage, libm doesn't provide that function. 1995-04-27 18:21:43 +00:00
src Changed core routines to call __ieee754_sqrt() instead of sqrt(). I 1995-05-12 04:57:13 +00:00
Makefile Add i387 "float" functions to the makefile 1995-05-03 20:42:23 +00:00
shlib_version