aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ieee754/dbl-64/s_nearbyint.c2
-rw-r--r--sysdeps/ieee754/flt-32/s_nearbyintf.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_nearbyint.c b/sysdeps/ieee754/dbl-64/s_nearbyint.c
index 08fe517..606002d 100644
--- a/sysdeps/ieee754/dbl-64/s_nearbyint.c
+++ b/sysdeps/ieee754/dbl-64/s_nearbyint.c
@@ -72,4 +72,6 @@ __nearbyint (double x)
return t;
#endif /* ! USE_NEARBYINT_BUILTIN */
}
+#ifndef __nearbyint
libm_alias_double (__nearbyint, nearbyint)
+#endif
diff --git a/sysdeps/ieee754/flt-32/s_nearbyintf.c b/sysdeps/ieee754/flt-32/s_nearbyintf.c
index b270749..5dd0e8f 100644
--- a/sysdeps/ieee754/flt-32/s_nearbyintf.c
+++ b/sysdeps/ieee754/flt-32/s_nearbyintf.c
@@ -68,4 +68,6 @@ __nearbyintf (float x)
return t;
#endif /* ! USE_NEARBYINT_BUILTIN */
}
+#ifndef __nearbyintf
libm_alias_float (__nearbyint, nearbyint)
+#endif