summaryrefslogtreecommitdiff
path: root/lib/libm/src
AgeCommit message (Collapse)Author
2001-12-04Replace some misuses of "then" with "than".wiz
2001-05-26revert previous (obviously wrong) changeaymeric
2001-05-22Make this compile when _USE_WRITE is definedaymeric
2001-02-21Add support for ARM VFP-format doubles, conditional on __VFP_FP__.bjh21
2001-02-09__arm26__ || __arm32__ -> __arm__bjh21
Not least because the unified NetBSD/arm compiler probably won't predefine __arm26__ or __arm32__.
2001-01-06remove redundant declarations; use __MATH_PRIVATE__ to override math.hchristos
declarations.
2000-05-09Initial commit of arm26 portbjh21
1999-08-16G/C this copy of <math.h> in favor of the version found in basesrc/include,kleink
which is actually the one installed. The latter (which is derived from this file) has evolved since, and the argument that it is exlusively associated with libm (and thus should be installed from this directory) no longer holds since two interfaces (isinf() and isnan()) are part of libc these days.
1999-07-02More trailing white space.simonb
1998-11-24Use __arm32__, not arm32, for egcs.mycroft
1998-08-19Add some braces to make egcs happy. (This code could kill me.)thorpej
1998-01-09RCS Id Police.perry
1997-11-11Fix a brain error from luke while he WARNSifyed libm.veego
Erik Bertelsen found the missplaced brakes.
1997-10-09rcsid facism, WARNSifylukem
1997-10-09rcsid facism, WARNSifylukem
1997-10-09rcsid facism, WARNSifylukem
1997-10-09rcsid facism, WARNSifylukem
1997-06-20add parens for gcc -Wallmikel
1996-10-13<machine/endian.h> -> <sys/types.h>christos
1996-10-13remove inclusion of <machine/endian.h>christos
1996-05-07Get the word order of doubles correct for the arm32 port.mark
Note: The arm32 port is little endian except for the FP word order.
1996-04-08Removing a "volatile" put there for the ns32k which is no longer needed.phil
1995-11-20Changed w_gamma.c, w_gamma_r.c, w_gammaf.c, w_gammaf_r.c to calljtc
__ieee754_lgamma_r or __ieee754_lgammaf_r. Removed e_gamma.c, e_gamma_r.c, e_gammaf.c, e_gammaf_r.c, e_lgamma.c, e_lgamma_f.c.
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