summaryrefslogtreecommitdiff
path: root/lib/libm/src
AgeCommit message (Collapse)Author
1995-05-12Changed core routines to call __ieee754_sqrt() instead of sqrt(). Ijtc
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-11Winning Strategies has placed this code in the public domain.jtc
1995-05-10Id -> NetBSDjtc
1995-03-25Fix overlooked FIXME: unsigned int -> u_int32_t.jtc
1995-01-25Remove unused static constant "one".jtc
1995-01-25Integrate last of the relavant changes from fdlibm 5.2:jtc
4. Performance issue on rem_pio2 An attempt to speed up the argument reduction in the trig function is to consider pi/4 < x < 3pi/4 a special case. This was done in the file e_rem_pio2.c
1995-01-16Bug fix from fdlibm 5.2.jtc
1994-12-16Add volatile qualifier to huge and tiny, so that huge*huge and tiny*tinyjtc
are performed at run-time.
1994-09-25__infinity[] and isinf() for systems whose C libraries don't supply them;jtc
and isinff(), a "float" version of isinf().
1994-09-25Add prototype for isinff().jtc
1994-09-22LIBM_SCCS must be defined for the RCS ID to be defined.jtc
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.
1994-09-13Remove CYGNUS_LOCAL comment: I maintain this code for NetBSD, not Cygnusjtc
1994-08-26Only extract lx if we need it.mycroft
1994-08-18Change int -> int32_t and unsigned int -> u_int32_t to improve portabiltyjtc
to machines where int != 32 bits.
1994-08-10Clean up deleted files.mycroft
1994-08-10Float versions of math functions. From Ian Taylor (ian@cygnus.com), withjtc
minor changes by me.
1994-03-03Don't determine byte order at run time.jtc
This also "solves" the problem of GCC optimization leading to incorrect results.
1994-03-01Add cabs() & drem() for BSD libm compatibility.jtc
1994-02-18Add RCS ID's.jtc
1994-02-18Add RCS ID's.jtc
1994-02-11Include <math.h> instead of "fdlibm.h"jtc
Byteorder fix for s_frexp.c.
1994-02-11Clean up deleted files.mycroft
1994-02-11Fdlibm 5.1jtc