summaryrefslogtreecommitdiffstats
path: root/libm/s_rint.c
Commit message (Collapse)AuthorAgeFilesLines
* libm: fix rint/scalb testcase failuresDenys Vlasenko2010-10-301-19/+35
| | | | | | | | | | | | | | | | | | | These failures no longer happen: Failure: Test: scalb (2.0, 0.5) == NaN plus invalid exception Failure: Test: scalb (3.0, -2.5) == NaN plus invalid exception Failure: Test: rint (0.5) == 0.0 Failure: Test: rint (1.5) == 2.0 Failure: Test: rint (2.5) == 2.0 Failure: Test: rint (3.5) == 4.0 Failure: Test: rint (4.5) == 4.0 Failure: Test: rint (-0.5) == -0.0 Failure: Test: rint (-1.5) == -2.0 Failure: Test: rint (-2.5) == -2.0 Failure: Test: rint (-3.5) == -4.0 Failure: Test: rint (-4.5) == -4.0 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove many functions which just call __ieee754_<function>,Denis Vlasenko2008-12-281-0/+3
| | | | | | | | | define them as aliases instead. text data bss dec hex filename - 45402 180 4 45586 b212 lib/libm-0.9.30-svn.so + 45302 180 4 45486 b1ae lib/libm-0.9.30-svn.so
* libm/*: mass removal of:Denis Vlasenko2008-12-221-15/+1
| | | | | | | | | 1. static char rcsid[] = "$NetBSD: ..." 2. /* @(#)s_scalbn.c 5.1 93/09/24 */ 3. #ifdef __STDC__ No code changes (verified with objdump)
* - move libm_hidden_proto to the corresponding headers. Remove from callsites.Bernhard Reutner-Fischer2008-09-261-1/+0
| | | | Note that gamma_r is not provided by glibc, perhaps add a SUN specific knob later
* All math related relocs gonePeter S. Mazinger2006-01-171-0/+2
|
* Trim off whitespaceEric Andersen2005-03-061-3/+3
|
* Move powerpc specific optimizations (courtesy of apple) to powerpcEric Andersen2001-11-241-2/+0
| | | | | | subdir. Put together a theoretical framework for adding arch specific optimizations. Havn't tried this yet but it looks correct... -Erik
* Totally rework the math library, this time based on the MacOs XEric Andersen2001-11-221-0/+88
math library (which is itself based on the math lib from FreeBSD). -Erik