diff options
author | Jim Wilson <jimw@sifive.com> | 2017-12-12 11:38:01 -0800 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2017-12-13 11:03:10 +0100 |
commit | c338bc22554fcddf64f12148785d07c1a4021160 (patch) | |
tree | 5d0c6d443a04cd7439095fcf9fc819d1265baa32 /newlib/libc/stdlib | |
parent | efce18d7541edd709dc10315e54c1842e14fbf63 (diff) | |
download | newlib-c338bc22554fcddf64f12148785d07c1a4021160.zip newlib-c338bc22554fcddf64f12148785d07c1a4021160.tar.gz newlib-c338bc22554fcddf64f12148785d07c1a4021160.tar.bz2 |
Don't call double rint from float powf.
Updated patch to use 0.0f in addition to calling rintf.
Tested same way as before, with a testcase that triggers the code and
make check.
OK?
newlib/
* libm/math/wf_pow.c (powf): Call rintf instead of rint. Use 0.0f
for compare.
Diffstat (limited to 'newlib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions