modules/fdlibm/patches/15_remove_unused_rintl_function_from_s_nearbyint_cpp.patch
raw| 1 | diff --git a/s_nearbyint.cpp b/s_nearbyint.cpp |
| 2 | --- a/s_nearbyint.cpp |
| 3 | +++ b/s_nearbyint.cpp |
| 4 | @@ -54,9 +54,8 @@ fn(type x) \ |
| 5 | fegetenv(&env); \ |
| 6 | ret = rint(x); \ |
| 7 | fesetenv(&env); \ |
| 8 | return (ret); \ |
| 9 | } |
| 10 | |
| 11 | DECL(double, nearbyint, rint) |
| 12 | DECL(float, nearbyintf, rintf) |
| 13 | -DECL(long double, nearbyintl, rintl) |