author | Elliott Hughes <enh@google.com> | |
Sat, 12 Apr 2014 00:02:20 +0000 (17:02 -0700) | ||
committer | Elliott Hughes <enh@google.com> | |
Mon, 14 Apr 2014 21:35:47 +0000 (14:35 -0700) | ||
commit | 02c78a386739a8a2b3007efeb00a9ca04132100a | |
tree | 6679bef40da8b7fbe6b3c5a479eb5c2e4e035708 | tree | snapshot (tar.xz tar.gz zip) |
parent | 055890686636faddbb6d5d407c67f5dcc53ac865 | commit | diff |
Reimplement isinf/isnan/fpclassify.
Also move isinf and isnan into libc like everyone else.
Also move fpclassify to libc like the BSDs (but unlike glibc). We need
this to be able to upgrade our float/double/long double parsing to gdtoa.
Also add some missing aliases. We now have all of:
isnan, __isnan, isnanf, __isnanf, isnanl, __isnanl,
isinf, __isinf, isinff, __isinff, isinfl, __isinfl,
__fpclassify, __fpclassifyd, __fpclassifyf, __fpclassifyl.
Bug: 13469877
Change-Id: I407ffbac06c765a6c5fffda8106c37d7db04f27d
Also move isinf and isnan into libc like everyone else.
Also move fpclassify to libc like the BSDs (but unlike glibc). We need
this to be able to upgrade our float/double/long double parsing to gdtoa.
Also add some missing aliases. We now have all of:
isnan, __isnan, isnanf, __isnanf, isnanl, __isnanl,
isinf, __isinf, isinff, __isinff, isinfl, __isinfl,
__fpclassify, __fpclassifyd, __fpclassifyf, __fpclassifyl.
Bug: 13469877
Change-Id: I407ffbac06c765a6c5fffda8106c37d7db04f27d
13 files changed:
benchmarks/math_benchmark.cpp | diff | blob | history | |
libc/Android.mk | diff | blob | history | |
libc/arch-arm/include/machine/ieee.h | diff | blob | history | |
libc/arch-arm64/include/machine/ieee.h | diff | blob | history | |
libc/arch-x86/include/machine/ieee.h | diff | blob | history | |
libc/bionic/fpclassify.cpp | [new file with mode: 0644] | blob |
libc/stdio/vfprintf.c | diff | blob | history | |
libm/Android.mk | diff | blob | history | |
libm/fake_long_double.c | diff | blob | history | |
libm/fpclassify.c | [deleted file] | blob | history |
libm/isinf.c | [deleted file] | blob | history |
libm/upstream-freebsd/lib/msun/src/s_isnan.c | [deleted file] | blob | history |
tests/math_test.cpp | diff | blob | history |