aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/aarch64/fpu/s_rintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/aarch64/fpu/s_rintf.c')
-rw-r--r--sysdeps/aarch64/fpu/s_rintf.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/sysdeps/aarch64/fpu/s_rintf.c b/sysdeps/aarch64/fpu/s_rintf.c
index 3560dc2..d0f70ce 100644
--- a/sysdeps/aarch64/fpu/s_rintf.c
+++ b/sysdeps/aarch64/fpu/s_rintf.c
@@ -16,6 +16,12 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#define FUNC rintf
-#define INSN "frintx"
-#include <s_frintf.c>
+#include <math.h>
+
+float
+__rintf (float x)
+{
+ return __builtin_rintf (x);
+}
+
+weak_alias (__rintf, rintf)