aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/dbl-64
AgeCommit message (Collapse)AuthorFilesLines
2012-11-07Fix spurious underflows from pow with results close to 1 (bug 14811).Joseph Myers1-0/+4
2012-11-06Fix fma underflows with small x * y (bug 14793).Joseph Myers1-18/+27
2012-11-04Fix fma overflow results outside round-to-nearest mode (bug 14797).Joseph Myers1-4/+5
2012-11-03Make fma use of Dekker and Knuth algorithms use round-to-nearest (bug 14796).Joseph Myers1-2/+16
2012-11-01Fix fma (a, b, c) for small a * b (bugs 14784, 14785).Joseph Myers1-4/+32
2012-10-31Fix fma underflow exceptions in after-rounding edge cases.Joseph Myers1-0/+12
2012-10-30Fix fma missing underflows and bad results for some subnormal results (bugs ↵Joseph Myers1-14/+8
14152, 14783).
2012-10-01Fix sign of inexact zero return from fma (bug 14645).Joseph Myers1-0/+5
2012-09-29Fix sign of exact zero return from fma (bug 14638).Joseph Myers2-0/+12
2012-09-25Fix inaccuracy of clog, clog10 near |z| = 1 (bug 13629).Joseph Myers2-0/+143
2012-07-25Set up errno properly for yn.Marek Polacek1-0/+4
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-01Fix fmod for subnormals (bug 14048).Joseph Myers1-2/+2
2012-06-01Ensure additions are not scheduled after fetestexcept in fmaf and fmal.Joseph Myers1-1/+3
2012-06-01Add a barrier in the double fma implementation.Aurelien Jarno1-1/+3
2012-05-26Optimize handling of denormals in logb/logbf/logblAndreas Schwab2-6/+8
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 Zanella2-20/+30
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 Myers1-0/+48
2012-05-05Fix missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers1-16/+5
2012-04-18Remove useless __ilogb*_finite aliasesAndreas Schwab1-1/+0
2012-04-17Fix ilogb exception and errno (bug 6794)Adhemerval Zanella1-6/+2
[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-21Disable use of FMA instructions in branredAndreas Schwab1-0/+4
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 Henderson5-64/+53
2012-03-19Make inline __isnan, __isinf_ns, __finite generic.Richard Henderson1-0/+35
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 Myers1-2/+2
2012-03-16Implement ldbl-96 sinl / cosl / sincosl (bug 13851).Joseph Myers1-7/+10
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-13Clean up dbl-64 rint, nearbyint.Joseph Myers4-84/+6
2012-03-09Use <> for math.h and math_private.h everywhere.Richard Henderson83-135/+135
Entire tree edited via find | grep | sed.
2012-03-05Fix pow in non-default rounding modes (bug 3976).Joseph Myers1-2/+11
2012-03-02Fix sin, cos, tan in non-default rounding modes (bug 3976).Joseph Myers2-83/+143
2012-03-02Fix scalbn, scalbln integer overflow.Joseph Myers4-12/+20
2012-03-02Fix exp in non-default rounding modes (bug 3976).Joseph Myers1-14/+24
2012-02-26Replace sysdeps/ieee754/dbl-64/k_tan.c with empty fileAndreas Schwab1-136/+1
2012-02-19Use non-signaling floating-point comparisons in math functions.Aurelien Jarno2-7/+7
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert83-193/+110
2012-01-27Remove __STDC__ conditionals from libm.Joseph Myers14-126/+15
2012-01-11Optimized acosh for 64-bit platformsUlrich Drepper1-0/+67
2012-01-11Optimize scalblnUlrich Drepper2-26/+74
2012-01-10Optimize s_modfUlrich Drepper2-18/+70
2012-01-10Optimize ldexp and scalbnUlrich Drepper2-42/+22