Commit eb1954c7 authored by Orvid King's avatar Orvid King Committed by Facebook GitHub Bot

Back out "Fix definition of folly::remainder for android"

Summary: Original commit changeset: 149b780350bf

Reviewed By: zaxy78

Differential Revision: D26222637

fbshipit-source-id: 29bc017be6619165cbd497c27c7843fd95e345b1
parent ca1e1523
...@@ -73,7 +73,6 @@ inline long double nextafter(long double x, long double y) { ...@@ -73,7 +73,6 @@ inline long double nextafter(long double x, long double y) {
* Implement it using builtin versions * Implement it using builtin versions
*/ */
#ifdef __UCLIBC__ #ifdef __UCLIBC__
constexpr float remainder(float x, float y) { constexpr float remainder(float x, float y) {
return __builtin_remainderf(x, y); return __builtin_remainderf(x, y);
} }
...@@ -85,13 +84,6 @@ constexpr double remainder(double x, double y) { ...@@ -85,13 +84,6 @@ constexpr double remainder(double x, double y) {
constexpr long double remainder(long double x, long double y) { constexpr long double remainder(long double x, long double y) {
return __builtin_remainderl(x, y); return __builtin_remainderl(x, y);
} }
#else
// Fallback to STL if not uclibc.
/* using override */ using std::remainder;
#endif // __UCLIBC__ #endif // __UCLIBC__
#endif // !__ANDROID__ && !__UCLIBC__ #endif // !__ANDROID__ && !__UCLIBC__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment