]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/powerpc/s_llrint.c
Update.
[thirdparty/glibc.git] / sysdeps / powerpc / s_llrint.c
index 7ca48c029a12cc836c00528e938e9061b1e43d7d..1789e79860649dfc8138fb2e2410ce0775d8f175 100644 (file)
@@ -1,5 +1,4 @@
-/* Round a long long floating point value to an integer in the current
-   rounding mode.
+/* Round a double value to a long long in the current rounding mode.
    Copyright (C) 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
 #include "math.h"
 
 long long int
-__llrint (long double x)
+__llrint (double x)
 {
-  return (long long int) __rintl (x);
+  return (long long int) __rint (x);
 }
 weak_alias (__llrint, llrint)
+#ifdef NO_LONG_DOUBLE
+strong_alias (__llrint, __llrintl)
+weak_alias (__llrint, llrintl)
+#endif