about summary refs log tree commit diff
path: root/sysdeps/ieee754
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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)
* Fix hypotf overflow/underflow by using double precision instead of scaling.David S. Miller2012-03-131-52/+25
| | | | | | [BZ #13840] * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use double-precision for the calculation instead of scaling.
* Clean up dbl-64 rint, nearbyint.Joseph Myers2012-03-134-84/+6
|
* Fix generic ldbl-128 expm1l just like x86-64 and i386 variants were.David S. Miller2012-03-131-0/+5
| | | | | * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for large parameters.
* Use <> for math.h and math_private.h everywhere.Richard Henderson2012-03-09308-537/+537
| | | | Entire tree edited via find | grep | sed.
* Use target-specific math_private.h in math_ldbl_opt.h.Richard Henderson2012-03-091-1/+1
|
* Fix up long double fphex.Marek Polacek2012-03-061-1/+2
|
* Fix loss of precision in cosh and sinh for IBM long doubleAndreas Schwab2012-03-052-10/+10
|
* 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-0212-36/+60
|
* Fix exp in non-default rounding modes (bug 3976).Joseph Myers2012-03-021-14/+24
|
* Improve erfc accuracy.Joseph Myers2012-03-012-2/+3
|
* Fix ldbl-128 rintl/nearbyintl just like flt-32 variants.David S. Miller2012-02-272-44/+6
| | | | | | * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not manipulate bits before adding and subtracting TWO112[sx]. * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
* Replace sysdeps/ieee754/dbl-64/k_tan.c with empty fileAndreas Schwab2012-02-261-136/+1
|
* Fix nearbyintf rounding.Joseph Myers2012-02-221-12/+0
|
* Fix rintf rounding.Joseph Myers2012-02-221-12/+0
|
* Use non-signaling floating-point comparisons in math functions.Aurelien Jarno2012-02-195-17/+17
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-09222-574/+383
|
* Remove __STDC__ conditionals from libm.Joseph Myers2012-01-27116-1016/+115
|
* Optimized acosh for 64-bit platformsUlrich Drepper2012-01-111-0/+67
|
* Optimize scalblnUlrich Drepper2012-01-114-76/+100
|
* Optimize s_modfUlrich Drepper2012-01-104-50/+78
|
* Optimize ldexp and scalbnUlrich Drepper2012-01-104-92/+48
|
* Some branch prediction for log1pUlrich Drepper2012-01-091-3/+3
|
* More fallout from supporting only ELFUlrich Drepper2012-01-081-7/+1
|
* Remove pre-ISO C supportUlrich Drepper2012-01-071-1/+1
| | | | No more __const.
* Remove non-ELF supportUlrich Drepper2012-01-071-1/+1
|
* Avoid warnings about unused variable in 96-bit j0l and j1lUlrich Drepper2011-11-122-4/+4
|
* Avoid warnings about unused variables in 96-bit hypotlUlrich Drepper2011-11-121-2/+4
|