diff options
author | Elliott Hughes <enh@google.com> | 2019-09-17 13:08:02 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2019-09-17 13:08:02 -0700 |
commit | 3984a9974228b0171bf48dbdbbc02d86e735e519 (patch) | |
tree | 9392b62ab55bd0212f9248bf2201f800007baac9 /libm | |
parent | 1ffee0cfc1e3a7fddf4cbe633694be91e72265a1 (diff) |
libm: track arm-optimized-routines changes.
Test: builds
Change-Id: I194ba29a2cabbf2fb2ef5c14ac6ad6252b43c76d
Diffstat (limited to 'libm')
-rw-r--r-- | libm/fake_long_double.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/libm/fake_long_double.c b/libm/fake_long_double.c index ef031ccf6..26edfeb1f 100644 --- a/libm/fake_long_double.c +++ b/libm/fake_long_double.c @@ -37,20 +37,10 @@ long long llroundl(long double a1) { return llround(a1); } long lroundl(long double a1) { return lround(a1); } long double modfl(long double a1, long double* a2) { double i; double f = modf(a1, &i); *a2 = i; return f; } float nexttowardf(float a1, long double a2) { return nextafterf(a1, (float) a2); } -long double powl(long double x, long double y) { return pow(x, y); } long double roundl(long double a1) { return round(a1); } void sincosl(long double x, long double* s, long double* c) { sincos(x, (double*) s, (double*) c); } #endif // __LP64__ -// FreeBSD doesn't have an ld128 implementations of tgammal, so both LP32 and LP64 need this. +// FreeBSD doesn't have an ld128 implementation of tgammal, so both LP32 and LP64 need this. long double tgammal(long double x) { return tgamma(x); } - -// external/arm-optimized-routines does not provide the long double -// wrappers for the routines it implements. -#if (LDBL_MANT_DIG == 53) -long double expl(long double x) { return exp(x); } -long double exp2l(long double x) { return exp2(x); } -long double logl(long double x) { return log(x); } -long double log2l(long double x) { return log2(x); } -#endif |