summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
AgeCommit message (Collapse)AuthorFilesLines
2012-07-06Fix tanf underflow close to pi/4 (bug 14154).Joseph Myers1-0/+2
2012-07-03Fix float range reduction problems (bug 14283).Joseph Myers1-14/+23
2012-06-21Fix wordsize-64 cosh regression (bug 14273).Joseph Myers1-0/+1
2012-06-15Fix pow (0.0, -Inf) (bug 14241).Joseph Myers1-2/+2
2012-06-05Fix for wrong ldbl128-ibm fmodl commitAdhemerval Zanella1-2/+2
2012-06-05Fix spurious undeflow for ldbl-128ibm erflAdhemerval Zanella1-3/+18
For values higher than 25.6283 erflc underflow, so adjust erfl to return a constant value based argument sign.
2012-06-05Fix ldbl128ibm fmodl for subnormals.Adhemerval Zanella2-18/+19
2012-06-01Fix fmod for subnormals (bug 14048).Joseph Myers1-2/+2
2012-06-01Ensure additions are not scheduled after fetestexcept in fmaf and fmal.Joseph Myers3-4/+10
2012-06-01Add a barrier in the double fma implementation.Aurelien Jarno1-1/+3
2012-05-26Optimize handling of denormals in logb/logbf/logblAndreas Schwab6-21/+23
2012-05-25Fix acosf underflow (bug 14153).Joseph Myers1-1/+1
2012-05-24Remove use of INTDEF/INTUSE in libioAndreas Schwab1-5/+5
2012-05-16Track dependencies for .oS-only objectsAndreas Schwab1-0/+1
2012-05-15Log2 and log10 for wordsize-64.Adhemerval Zanella4-82/+305
This patch also fixes indentation on default dbl-64 code.
2012-05-14Use __builtin_clzll on int64 in __logbH.J. Lu1-1/+1
2012-05-10Fix for logb/logbf/logbl (bugs 13954/13955/13956)Adhemerval Zanella6-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.
2012-05-06Fix exp10 inaccuracy and exceptions (bugs 13884, 13914).Joseph Myers3-0/+141
2012-05-05Fix missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers3-50/+15
2012-05-04Fix for ldbl-128ibm acosl/asinl inaccuraciesAdhemerval Zanella2-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.
2012-05-02Fix nexttoward bugsAdhemerval Zanella1-10/+2
[BZ #2550] [BZ #2570] * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point comparisons to determine direction to adjust input.
2012-05-01Fix nexttoward bugs (bugs 2550, 2570).Joseph Myers6-44/+12
2012-04-28Fix formatting of denormal IBM long double numbersAndreas Schwab1-6/+8
2012-04-26Fix ctan, ctanh overflow for ldbl-128ibm (bug 11521).Adhemerval Zanella3-26/+68
2012-04-18Finish ilogb changesAndreas Jaeger4-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.
2012-04-18Remove useless __ilogb*_finite aliasesAndreas Schwab2-2/+0
2012-04-17Fix ilogb exception and errno (bug 6794)Adhemerval Zanella5-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.
2012-04-09Fix missing overflow exceptions from pow (bug 13873).Joseph Myers1-2/+3
2012-04-08Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705).Aurelien Jarno1-2/+2
2012-03-28Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers1-1/+53
2012-03-28Avoid overflows from long double functions using __kernel_standard.Joseph Myers3-4/+36
2012-03-26Fix undue underflow in ldbl-128ibm version of explAndreas Schwab1-2/+2
2012-03-22Fix low-part sign handling in sin/cos for ldbl-128 and ldbl-128ibm.Joseph Myers6-6/+22
2012-03-21Fix missing overflow/underflow exception in ldbl-128ibm version of powlAndreas Schwab1-2/+2
2012-03-21Disable use of FMA instructions in branredAndreas Schwab2-34/+131
2012-03-21Fix pow of zero and infinity to large powers.Joseph Myers1-1/+1
2012-03-19Fix atan2 spurious exceptions (bug 11451).Joseph Myers1-1/+8
2012-03-19Create and use libc_feupdateenv_test.Richard Henderson2-15/+22
We can reduce the number of STMXCSR, and often we can avoid the call to __feraiseexcept.
2012-03-19Create and use SET_RESTORE_ROUND{,_NOEX,_53BIT}{,F,L}.Richard Henderson7-134/+121
2012-03-19Make inline __isnan, __isinf_ns, __finite generic.Richard Henderson2-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.
2012-03-16Make lround the alias of llround for wordsize-64H.J. Lu2-80/+80
2012-03-16Fix tan, tanl for large inputs.Joseph Myers3-5/+147
2012-03-16Include program generating __sincosl_table in comment.Joseph Myers1-2/+41
2012-03-16Implement ldbl-96 sinl / cosl / sincosl (bug 13851).Joseph Myers7-9/+941
2012-03-14Implement and use libc_feholdexcept_setround_53bit and libc_feupdateenv_53bitAndreas Jaeger1-5/+5
so that double arithmetic in s_sin is done in 53 bit (without extend i386 double precision)
2012-03-13Fix hypotf overflow/underflow by using double precision instead of scaling.David S. Miller1-52/+25
[BZ #13840] * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use double-precision for the calculation instead of scaling.
2012-03-13Clean up dbl-64 rint, nearbyint.Joseph Myers4-84/+6
2012-03-13Fix generic ldbl-128 expm1l just like x86-64 and i386 variants were.David S. Miller1-0/+5
* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for large parameters.
2012-03-09Use <> for math.h and math_private.h everywhere.Richard Henderson308-537/+537
Entire tree edited via find | grep | sed.
2012-03-09Use target-specific math_private.h in math_ldbl_opt.h.Richard Henderson1-1/+1