Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Log2 and log10 for wordsize-64. | Adhemerval Zanella | 2012-05-15 | 4 | -82/+305 |
| | | | | This patch also fixes indentation on default dbl-64 code. | ||||
* | Use __builtin_clzll on int64 in __logb | H.J. Lu | 2012-05-14 | 1 | -1/+1 |
| | |||||
* | Fix for logb/logbf/logbl (bugs 13954/13955/13956) | Adhemerval Zanella | 2012-05-10 | 2 | -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. | ||||
* | Fix exp10 inaccuracy and exceptions (bugs 13884, 13914). | Joseph Myers | 2012-05-06 | 1 | -0/+48 |
| | |||||
* | Fix missing exceptions from exp (bugs 13787, 13922, 14036). | Joseph Myers | 2012-05-05 | 1 | -16/+5 |
| | |||||
* | Remove useless __ilogb*_finite aliases | Andreas Schwab | 2012-04-18 | 1 | -1/+0 |
| | |||||
* | Fix ilogb exception and errno (bug 6794) | Adhemerval Zanella | 2012-04-17 | 1 | -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. | ||||
* | Fix missing overflow exceptions from pow (bug 13873). | Joseph Myers | 2012-04-09 | 1 | -2/+3 |
| | |||||
* | Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705). | Aurelien Jarno | 2012-04-08 | 1 | -2/+2 |
| | |||||
* | Disable use of FMA instructions in branred | Andreas Schwab | 2012-03-21 | 1 | -0/+4 |
| | |||||
* | Fix pow of zero and infinity to large powers. | Joseph Myers | 2012-03-21 | 1 | -1/+1 |
| | |||||
* | Fix atan2 spurious exceptions (bug 11451). | Joseph Myers | 2012-03-19 | 1 | -1/+8 |
| | |||||
* | Create and use libc_feupdateenv_test. | Richard Henderson | 2012-03-19 | 2 | -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 Henderson | 2012-03-19 | 5 | -64/+53 |
| | |||||
* | Make inline __isnan, __isinf_ns, __finite generic. | Richard Henderson | 2012-03-19 | 1 | -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. | ||||
* | Make lround the alias of llround for wordsize-64 | H.J. Lu | 2012-03-16 | 2 | -80/+80 |
| | |||||
* | Fix tan, tanl for large inputs. | Joseph Myers | 2012-03-16 | 1 | -2/+2 |
| | |||||
* | Implement ldbl-96 sinl / cosl / sincosl (bug 13851). | Joseph Myers | 2012-03-16 | 1 | -7/+10 |
| | |||||
* | Implement and use libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit | Andreas Jaeger | 2012-03-14 | 1 | -5/+5 |
| | | | | so that double arithmetic in s_sin is done in 53 bit (without extend i386 double precision) | ||||
* | Clean up dbl-64 rint, nearbyint. | Joseph Myers | 2012-03-13 | 4 | -84/+6 |
| | |||||
* | Use <> for math.h and math_private.h everywhere. | Richard Henderson | 2012-03-09 | 83 | -135/+135 |
| | | | | Entire tree edited via find | grep | sed. | ||||
* | Fix pow in non-default rounding modes (bug 3976). | Joseph Myers | 2012-03-05 | 1 | -2/+11 |
| | |||||
* | Fix sin, cos, tan in non-default rounding modes (bug 3976). | Joseph Myers | 2012-03-02 | 2 | -83/+143 |
| | |||||
* | Fix scalbn, scalbln integer overflow. | Joseph Myers | 2012-03-02 | 4 | -12/+20 |
| | |||||
* | Fix exp in non-default rounding modes (bug 3976). | Joseph Myers | 2012-03-02 | 1 | -14/+24 |
| | |||||
* | Replace sysdeps/ieee754/dbl-64/k_tan.c with empty file | Andreas Schwab | 2012-02-26 | 1 | -136/+1 |
| | |||||
* | Use non-signaling floating-point comparisons in math functions. | Aurelien Jarno | 2012-02-19 | 2 | -7/+7 |
| | |||||
* | Replace FSF snail mail address with URLs. | Paul Eggert | 2012-02-09 | 83 | -193/+110 |
| | |||||
* | Remove __STDC__ conditionals from libm. | Joseph Myers | 2012-01-27 | 14 | -126/+15 |
| | |||||
* | Optimized acosh for 64-bit platforms | Ulrich Drepper | 2012-01-11 | 1 | -0/+67 |
| | |||||
* | Optimize scalbln | Ulrich Drepper | 2012-01-11 | 2 | -26/+74 |
| | |||||
* | Optimize s_modf | Ulrich Drepper | 2012-01-10 | 2 | -18/+70 |
| | |||||
* | Optimize ldexp and scalbn | Ulrich Drepper | 2012-01-10 | 2 | -42/+22 |
| | |||||
* | Some branch prediction for log1p | Ulrich Drepper | 2012-01-09 | 1 | -3/+3 |
| | |||||
* | Remove unused variables | Marek Polacek | 2011-11-11 | 1 | -2/+2 |
| | |||||
* | Fix accuracy problem in generic sin | Ulrich Drepper | 2011-10-29 | 1 | -1/+1 |
| | |||||
* | Fix uses of math_force_eval | Andreas Schwab | 2011-10-26 | 1 | -3/+3 |
| | |||||
* | Add AVX optimized versions for some x86-64 math functions | Ulrich Drepper | 2011-10-25 | 1 | -58/+41 |
| | |||||
* | Use math_force_eval in more places | Ulrich Drepper | 2011-10-25 | 10 | -175/+135 |
| | |||||
* | Cleanup FMA4 patch | Ulrich Drepper | 2011-10-25 | 24 | -197/+418 |
| | | | | | Move the FMA4 code into its own section. Avoid some of the duplication of data resulting from the double use of source files. | ||||
* | Optimize accurate 64-bit routines for FMA4 on x86-64 | Ulrich Drepper | 2011-10-24 | 12 | -176/+205 |
| | |||||
* | Finish renamed DLA_FMA -> DLA_FMS | Ulrich Drepper | 2011-10-24 | 8 | -9/+9 |
| | |||||
* | Optimized remquo for 64-bit platforms | Ulrich Drepper | 2011-10-23 | 1 | -0/+112 |
| | |||||
* | Optimize f_mod | Ulrich Drepper | 2011-10-23 | 2 | -6/+109 |
| | | | | | Branch prediction for the 32-bit implementation and a new optimized 64-bit implementation. | ||||
* | Clean up FMA use | Ulrich Drepper | 2011-10-23 | 1 | -3/+3 |
| | | | | | The macro's name should reflect that subtraction is being done. And use __builtin_fma, it seems to work after all. | ||||
* | Clean up last dla.h change | Ulrich Drepper | 2011-10-23 | 10 | -21/+9 |
| | |||||
* | Improve DLA_FMA for FMA4 | Ulrich Drepper | 2011-10-22 | 1 | -2/+2 |
| | |||||
* | Start using fma in the libm implementation | Ulrich Drepper | 2011-10-22 | 9 | -150/+192 |
| | |||||
* | Optimization to some complex math functions | Ulrich Drepper | 2011-10-22 | 1 | -1/+1 |
| | | | | Also, change last reference to __sqrt into __sqrt to easily. | ||||
* | Add some __builtin_expect to generic __ieee754_log | Ulrich Drepper | 2011-10-21 | 1 | -3/+3 |
| |