Home | History | Annotate | Download | only in src
History log of /src/lib/libm/src/e_hypot.c
RevisionDateAuthorComments
 1.13  25-Apr-2008  christos avoid shadow variables, and enable lint.
 1.12  26-May-2002  wiz branches: 1.12.30;
__STDC__ is always defined on NetBSD.
 1.11  02-Jul-1999  simonb More trailing white space.
 1.10  09-Oct-1997  lukem rcsid facism, WARNSify
 1.9  12-May-1995  jtc 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.
 1.8  10-May-1995  jtc Id -> NetBSD
 1.7  22-Sep-1994  jtc LIBM_SCCS must be defined for the RCS ID to be defined.
This library will soon be used by DJGPP. And since memory is often tight
on DOS machines, there is little benifit to be had from including RCS IDs.
 1.6  18-Aug-1994  jtc Change int -> int32_t and unsigned int -> u_int32_t to improve portabilty
to machines where int != 32 bits.
 1.5  10-Aug-1994  jtc Float versions of math functions. From Ian Taylor (ian@cygnus.com), with
minor changes by me.
 1.4  03-Mar-1994  jtc Don't determine byte order at run time.
This also "solves" the problem of GCC optimization leading to incorrect
results.
 1.3  18-Feb-1994  jtc Add RCS ID's.
 1.2  11-Feb-1994  jtc Include <math.h> instead of "fdlibm.h"
Byteorder fix for s_frexp.c.
 1.1  11-Feb-1994  jtc branches: 1.1.1;
Initial revision
 1.1.1.1  11-Feb-1994  jtc Fdlibm 5.1
 1.12.30.1  18-May-2008  yamt sync with head.

RSS XML Feed