]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/aarch64/fpu/s_trunc.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / aarch64 / fpu / s_trunc.c
index 2bf5474a7e19ec7090e0366381b3b8c1cb92ff36..22f44f1e04e0aec56395baf6253d767db73ef4f7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2011-2017 Free Software Foundation, Inc.
+/* Copyright (C) 2011-2018 Free Software Foundation, Inc.
 
    This file is part of the GNU C Library.
 
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
-#define FUNC trunc
-#define INSN "frintz"
-#include <s_frint.c>
+#include <math.h>
+#include <libm-alias-double.h>
+
+double
+__trunc (double x)
+{
+  return __builtin_trunc (x);
+}
+
+libm_alias_double (__trunc, trunc)