diff options
Diffstat (limited to 'modules/fdlibm/patches/15_remove_unused_rintl_function_from_s_nearbyint_cpp.patch')
-rw-r--r-- | modules/fdlibm/patches/15_remove_unused_rintl_function_from_s_nearbyint_cpp.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/fdlibm/patches/15_remove_unused_rintl_function_from_s_nearbyint_cpp.patch b/modules/fdlibm/patches/15_remove_unused_rintl_function_from_s_nearbyint_cpp.patch new file mode 100644 index 0000000000..8c4f45a75a --- /dev/null +++ b/modules/fdlibm/patches/15_remove_unused_rintl_function_from_s_nearbyint_cpp.patch @@ -0,0 +1,13 @@ +diff --git a/s_nearbyint.cpp b/s_nearbyint.cpp +--- a/s_nearbyint.cpp ++++ b/s_nearbyint.cpp +@@ -54,9 +54,8 @@ fn(type x) \ + fegetenv(&env); \ + ret = rint(x); \ + fesetenv(&env); \ + return (ret); \ + } + + DECL(double, nearbyint, rint) + DECL(float, nearbyintf, rintf) +-DECL(long double, nearbyintl, rintl) |