about summary refs log tree commit diff
path: root/sysdeps/ieee754/dbl-64
Commit message (Collapse)AuthorAgeFilesLines
* 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-102-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 Myers2012-05-061-0/+48
|
* Fix missing exceptions from exp (bugs 13787, 13922, 14036).Joseph Myers2012-05-051-16/+5
|
* Remove useless __ilogb*_finite aliasesAndreas Schwab2012-04-181-1/+0
|
* Fix ilogb exception and errno (bug 6794)Adhemerval Zanella2012-04-171-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 Myers2012-04-091-2/+3
|
* Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705).Aurelien Jarno2012-04-081-2/+2
|
* Disable use of FMA instructions in branredAndreas Schwab2012-03-211-0/+4
|
* 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-195-64/+53
|
* Make inline __isnan, __isinf_ns, __finite generic.Richard Henderson2012-03-191-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-64H.J. Lu2012-03-162-80/+80
|
* Fix tan, tanl for large inputs.Joseph Myers2012-03-161-2/+2
|
* Implement ldbl-96 sinl / cosl / sincosl (bug 13851).Joseph Myers2012-03-161-7/+10
|
* Implement and use libc_feholdexcept_setround_53bit and libc_feupdateenv_53bitAndreas Jaeger2012-03-141-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 Myers2012-03-134-84/+6
|
* Use <> for math.h and math_private.h everywhere.Richard Henderson2012-03-0983-135/+135
| | | | Entire tree edited via find | grep | sed.
* Fix pow in non-default rounding modes (bug 3976).Joseph Myers2012-03-051-2/+11
|
* Fix sin, cos, tan in non-default rounding modes (bug 3976).Joseph Myers2012-03-022-83/+143
|
* Fix scalbn, scalbln integer overflow.Joseph Myers2012-03-024-12/+20
|
* Fix exp in non-default rounding modes (bug 3976).Joseph Myers2012-03-021-14/+24
|
* Replace sysdeps/ieee754/dbl-64/k_tan.c with empty fileAndreas Schwab2012-02-261-136/+1
|
* Use non-signaling floating-point comparisons in math functions.Aurelien Jarno2012-02-192-7/+7
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0983-193/+110
|
* Remove __STDC__ conditionals from libm.Joseph Myers2012-01-2714-126/+15
|
* Optimized acosh for 64-bit platformsUlrich Drepper2012-01-111-0/+67
|
* Optimize scalblnUlrich Drepper2012-01-112-26/+74
|
* Optimize s_modfUlrich Drepper2012-01-102-18/+70
|
* Optimize ldexp and scalbnUlrich Drepper2012-01-102-42/+22
|
* Some branch prediction for log1pUlrich Drepper2012-01-091-3/+3
|
* Remove unused variablesMarek Polacek2011-11-111-2/+2
|
* Fix accuracy problem in generic sinUlrich Drepper2011-10-291-1/+1
|
* Fix uses of math_force_evalAndreas Schwab2011-10-261-3/+3
|
* Add AVX optimized versions for some x86-64 math functionsUlrich Drepper2011-10-251-58/+41
|
* Use math_force_eval in more placesUlrich Drepper2011-10-2510-175/+135
|
* Cleanup FMA4 patchUlrich Drepper2011-10-2524-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-64Ulrich Drepper2011-10-2412-176/+205
|
* Finish renamed DLA_FMA -> DLA_FMSUlrich Drepper2011-10-248-9/+9
|
* Optimized remquo for 64-bit platformsUlrich Drepper2011-10-231-0/+112
|
* Optimize f_modUlrich Drepper2011-10-232-6/+109
| | | | | Branch prediction for the 32-bit implementation and a new optimized 64-bit implementation.
* Clean up FMA useUlrich Drepper2011-10-231-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 changeUlrich Drepper2011-10-2310-21/+9
|
* Improve DLA_FMA for FMA4Ulrich Drepper2011-10-221-2/+2
|
* Start using fma in the libm implementationUlrich Drepper2011-10-229-150/+192
|
* Optimization to some complex math functionsUlrich Drepper2011-10-221-1/+1
| | | | Also, change last reference to __sqrt into __sqrt to easily.
* Add some __builtin_expect to generic __ieee754_logUlrich Drepper2011-10-211-3/+3
|