summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-96/s_lrintl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/ldbl-96/s_lrintl.c')
-rw-r--r--sysdeps/ieee754/ldbl-96/s_lrintl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/ieee754/ldbl-96/s_lrintl.c b/sysdeps/ieee754/ldbl-96/s_lrintl.c
index bd902deb47..df3222c7f2 100644
--- a/sysdeps/ieee754/ldbl-96/s_lrintl.c
+++ b/sysdeps/ieee754/ldbl-96/s_lrintl.c
@@ -1,6 +1,6 @@
/* Round argument to nearest integral value according to current rounding
direction.
- Copyright (C) 1997-2016 Free Software Foundation, Inc.
+ Copyright (C) 1997-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -23,6 +23,7 @@
#include <math.h>
#include <math_private.h>
+#include <libm-alias-ldouble.h>
static const long double two63[2] =
{
@@ -35,7 +36,7 @@ long int
__lrintl (long double x)
{
int32_t se,j0;
- u_int32_t i0, i1;
+ uint32_t i0, i1;
long int result;
long double w;
long double t;
@@ -123,4 +124,4 @@ __lrintl (long double x)
return sx ? -result : result;
}
-weak_alias (__lrintl, lrintl)
+libm_alias_ldouble (__lrint, lrint)