CVSROOT: /cvs Module name: src Changes by: [email protected] 2013/08/02 14:23:28
Modified files:
lib/libm/src : e_pow.c e_powf.c
lib/libm/src/ld80: e_powl.c
regress/lib/libm/cephes: testvect.c testvectl.c testvectll.c
Log message:
Fix a couple of corner cases in the implementation of pow(3) to make it
compatible with C99. Most notably:
- 1**y == 1, even if y is NaN
- (-1)**+-Inf == 1
and adjust the cephes testsuite to test for the right thing here.
ok martynas@
