summaryrefslogtreecommitdiffstats
path: root/lib/libm/src
AgeCommit message (Expand)AuthorFilesLines
2011-07-08Finalize work on complex math routines, now that we have themartynas44-23/+1805
2011-07-08Move fabs(3), frexp(3), and modf(3) to libm--nothing has been usingmartynas2-0/+2
2011-07-08signbitl -> signbit.martynas2-4/+4
2011-07-06Finalize work on the math library. It's time to do this monstermartynas97-45/+11067
2011-07-04- Take into account padding for the IEEE extended shape types. Itmartynas1-37/+183
2011-07-02For tiny x, tanhf = x*(one+x). GCC (at -O2) optimized this intomartynas1-0/+2
2011-05-31Call the single, not double-precision version of copysign for themartynas1-2/+2
2011-05-30For tiny x, tanh = x*(one+x). GCC (at -O2) optimized this intomartynas1-2/+4
2011-05-30Trick lint into recording the right prototypes in the llib-lm.lnmartynas18-76/+166
2011-05-28Store -1 into signgam in case of a special value of -0.martynas2-2/+10
2011-04-28- enable fenvmartynas1-0/+59
2011-04-20Trick GCC optimizer into clipping any extra precision by making wmartynas4-7/+11
2011-04-17The {,l}lround{,f} implementations are based on {,l}lrint{,f},martynas4-13/+13
2011-04-1720 -> DBL_FRACHBITSmartynas1-4/+4
2011-04-16C99: "The nextafter functions return y if x equals y."martynas2-2/+2
2011-04-10The {,l}lrint{,f} functions avoid to shift results by more than 31martynas2-8/+8
2011-04-1020 -> DBL_FRACHBITSmartynas1-4/+4
2011-04-10The assumption that |1.0 * 2^exp| = 0, exp < -1 cannot be made whenmartynas2-8/+8
2010-07-19Fix the cproj family to not return garbage on finite arguments.guenther2-2/+6
2010-07-18Use crealf() and cimagf() instead of creal() and cimag() when theguenther11-34/+34
2009-10-27rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt103-415/+3
2009-10-26Add man pages for the fdim/fmin/fmax family of functions and make sure fdimlkettenis1-7/+2
2009-07-25int is big enough to fully represent exponents of all supported fpmartynas1-0/+42
2009-04-19make ldexpf behavior consistent with the double and extended-precisionmartynas3-69/+7
2009-04-05const static -> static const; since it's deprecated per C99. ok millert@martynas1-11/+11
2008-12-22Let this compile with gcc 2.miod1-4/+4
2008-12-10use sys/cdefs.h; pointed out by theomartynas19-23/+23
2008-12-09- 80-bit and quad precision trigonometric and other mostmartynas57-137/+3693
2008-09-16typo: is -> if. ok millert@martynas2-2/+2
2008-09-16gc unused files, the functions are in libc. ok millert@martynas4-123/+0
2008-09-11- make much more readable: don't reimplement isnan, signbit eachmartynas4-56/+32
2008-09-09sigh, gamma got lostmartynas4-0/+121
2008-09-07- replace dtoa w/ David's gdtoa, version 2008-03-15martynas150-3180/+3512
2008-08-08revertmartynas1-2/+2
2008-08-08make _digittoint staticmartynas1-2/+2
2008-07-24- remove isinff, isnanf. this has been moved to libcmartynas6-1/+941
2008-07-22remez -> Remes here, too. for consistencymartynas2-2/+2
2008-07-21rename lround.c lroundf.c llround.c llroundf.c to s_lround.cmartynas4-6/+6
2008-07-20Reme algorithm -> Remes algorithm. in commentsmartynas4-4/+4
2008-07-20get in the bug fix for pow, from fdlibm 5.3. also adapt it formartynas2-39/+40
2008-07-20use more accurate algorithm for tan. from fdlibm 5.3:martynas1-69/+101
2008-07-16some archaic 'n = a(b), c(d)' use that confused lintmartynas1-4/+7
2008-06-25- expressions such as x != x and x == x are prone to errors andmartynas1-2/+2
2008-06-21cleaning up, no functional changesmartynas3-7/+8
2008-06-12shut up lint; pointed out by theomartynas2-11/+20
2008-06-11- on non-ieee, rename gamma to tgamma, the 'true' gammamartynas4-20/+900
2007-06-01add little endian and big endian shapes for extended and quad floatjason1-1/+43
2006-09-25Include s_llrint.c instead of ithe now removed llrint.c.kettenis1-2/+2
2006-09-25Move llrint.c, llrintf.c, lrint.c and lrintf.c to s_llrint.c, s_llrintf.c,kettenis4-5/+5
2006-07-12add some more C99 functions: round(3) and roundf(3).brad2-0/+102