about summary refs log tree commit diff
path: root/sysdeps/ieee754
Commit message (Collapse)AuthorAgeFilesLines
* Add optimized sinf and cosf routines for x86 and x86-64Liubov Dmitrieva2012-09-032-2/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines): Add s_sinf-sse2, s_conf-sse2. * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file. * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file. * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file. * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file. * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros for using routine as __sinf_ia32. Use macro for function declaration and weak_alias. * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros for using routine as __cosf_ia32. Use macro for function declaration and weak_alias. * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright. * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright. * sysdeps/x86_64/fpu/s_sinf.S: New file. * sysdeps/x86_64/fpu/s_cosf.S: New file. * sysdeps/x86_64/fpu/libm-test-ulps: Update. * math/libm-test.inc (cos_test): Add more test cases. (sin_test): Likewise. (sincos_test): Likewise.
* Quash warning in s_sincosl.Marek Polacek2012-08-171-2/+2
|
* Fix lots of bitrot for stub configurations.Roland McGrath2012-07-301-0/+2
|
* Set up errno properly for yn.Marek Polacek2012-07-255-0/+20
|
* Fix ynl return value with LDBL_MIN.Marek Polacek2012-07-121-1/+2
|
* Fix ctan, ctanh of subnormals in round-upwards mode (bug 14328).Adhemerval Zanella2012-07-112-22/+50
| | | | IBM long double fixes and POWER ulps update.
* Fix tanf underflow close to pi/4 (bug 14154).Joseph Myers2012-07-061-0/+2
|
* Fix float range reduction problems (bug 14283).Joseph Myers2012-07-031-14/+23
|
* Fix wordsize-64 cosh regression (bug 14273).Joseph Myers2012-06-211-0/+1
|
* Fix pow (0.0, -Inf) (bug 14241).Joseph Myers2012-06-151-2/+2
|
* Fix for wrong ldbl128-ibm fmodl commitAdhemerval Zanella2012-06-051-2/+2
|
* Fix spurious undeflow for ldbl-128ibm erflAdhemerval Zanella2012-06-051-3/+18
| | | | | For values higher than 25.6283 erflc underflow, so adjust erfl to return a constant value based argument sign.
* Fix ldbl128ibm fmodl for subnormals.Adhemerval Zanella2012-06-052-18/+19
|
* Fix fmod for subnormals (bug 14048).Joseph Myers2012-06-011-2/+2
|
* Ensure additions are not scheduled after fetestexcept in fmaf and fmal.Joseph Myers2012-06-013-4/+10
|
* Add a barrier in the double fma implementation.Aurelien Jarno2012-06-011-1/+3
|
* Optimize handling of denormals in logb/logbf/logblAndreas Schwab2012-05-266-21/+23
|
* Fix acosf underflow (bug 14153).Joseph Myers2012-05-251-1/+1
|
* Remove use of INTDEF/INTUSE in libioAndreas Schwab2012-05-241-5/+5
|
* Track dependencies for .oS-only objectsAndreas Schwab2012-05-161-0/+1
|
* Log2 and log10 for wordsize-64.Adhemerval Zanella2012-05-154-82/+305
| | | | This patch also fixes indentation on default dbl-64 code.
* Use __builtin_clzll on int64 in __logbH.J. Lu2012-05-141-1/+1
|
* Fix for logb/logbf/logbl (bugs 13954/13955/13956)Adhemerval Zanella2012-05-106-72/+111
| | | | | | | | POSIX 2008 states that if the input for 'logb[f|l]' is a subnormal number it should be treated as if it were normalized. This means the implementation should calculate the log2 of the mantissa and add it to the subnormal exponent (-126 for float and -1022 for double and IBM long double). This patch takes care of that.
* Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).Joseph Myers2012-05-063-0/+141
|
* Fix missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers2012-05-053-50/+15
|
* Fix for ldbl-128ibm acosl/asinl inaccuraciesAdhemerval Zanella2012-05-042-40/+28
| | | | | | | | | | 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com> * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix long double comparison inaccuracies. * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): * Likewise. * sysdeps/powerpc/fpu/libm-test-ulps: Update.
* Fix nexttoward bugsAdhemerval Zanella2012-05-021-10/+2
| | | | | | | [BZ #2550] [BZ #2570] * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point comparisons to determine direction to adjust input.
* Fix nexttoward bugs (bugs 2550, 2570).Joseph Myers2012-05-016-44/+12
|
* Fix formatting of denormal IBM long double numbersAndreas Schwab2012-04-281-6/+8
|
* Fix ctan, ctanh overflow for ldbl-128ibm (bug 11521).Adhemerval Zanella2012-04-263-26/+68
|
* Finish ilogb changesAndreas Jaeger2012-04-184-9/+4
| | | | | | | | | | | | | | | | | | [BZ# 6794] * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here. * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ... * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
* Remove useless __ilogb*_finite aliasesAndreas Schwab2012-04-182-2/+0
|
* Fix ilogb exception and errno (bug 6794)Adhemerval Zanella2012-04-175-11/+11
| | | | | | | | | | | | | | | | | | | | [BZ #6794] Following Joseph comments about bug 6794, here is a proposed fix. It turned out to be a large fix mainly because I had to move some file along to follow libm files/names conventions. Basically I have added wrappers (w_ilogb.c, w_ilogbf.c, w_ilogbl.c) that now calls the symbol '__ieee754_ilogb'. The wrappers checks for '__ieee754_ilogb' output and set the errno and raise exceptions as expected. The '__ieee754_ilogb' is implemented in sysdeps. I have moved the 's_ilogb[f|l]' files to e_ilogb[f|l] and renamed the '__ilogb[f|l]' to '__ieee754_ilogb[f|l]'. I also found out a bug in i386 and x86-64 assembly coded ilogb implementation where it raises a FE_DIVBYZERO when argument is '0.0'. I corrected this issue as well. Finally I added the errno and FE_INVALID tests for 0.0, NaN and +-InF argument. Tested on i386, x86-64, ppc32 and ppc64.
* Fix missing overflow exceptions from pow (bug 13873).Joseph Myers2012-04-091-2/+3
|
* Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705).Aurelien Jarno2012-04-081-2/+2
|
* Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers2012-03-281-1/+53
|
* Avoid overflows from long double functions using __kernel_standard.Joseph Myers2012-03-283-4/+36
|
* Fix undue underflow in ldbl-128ibm version of explAndreas Schwab2012-03-261-2/+2
|
* Fix low-part sign handling in sin/cos for ldbl-128 and ldbl-128ibm.Joseph Myers2012-03-226-6/+22
|
* Fix missing overflow/underflow exception in ldbl-128ibm version of powlAndreas Schwab2012-03-211-2/+2
|
* Disable use of FMA instructions in branredAndreas Schwab2012-03-212-34/+131
|
* Fix pow of zero and infinity to large powers.Joseph Myers2012-03-211-1/+1
|
* Fix atan2 spurious exceptions (bug 11451).Joseph Myers2012-03-191-1/+8
|
* Create and use libc_feupdateenv_test.Richard Henderson2012-03-192-15/+22
| | | | | We can reduce the number of STMXCSR, and often we can avoid the call to __feraiseexcept.
* Create and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}.Richard Henderson2012-03-197-134/+121
|
* Make inline __isnan, __isinf_ns, __finite generic.Richard Henderson2012-03-192-0/+70
| | | | | | For code generation to stay identical on x86_64, this requires that we define the fp word manipulation macros before including the generic header.
* Make lround the alias of llround for wordsize-64H.J. Lu2012-03-162-80/+80
|
* Fix tan, tanl for large inputs.Joseph Myers2012-03-163-5/+147
|
* Include program generating __sincosl_table in comment.Joseph Myers2012-03-161-2/+41
|
* Implement ldbl-96 sinl / cosl / sincosl (bug 13851).Joseph Myers2012-03-167-9/+941
|