summaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/flt-32/s_llrintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754/flt-32/s_llrintf.c')
-rw-r--r--sysdeps/ieee754/flt-32/s_llrintf.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/ieee754/flt-32/s_llrintf.c b/sysdeps/ieee754/flt-32/s_llrintf.c
index 56415d34f8..7c64bb2db4 100644
--- a/sysdeps/ieee754/flt-32/s_llrintf.c
+++ b/sysdeps/ieee754/flt-32/s_llrintf.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.
@@ -22,7 +22,9 @@
#include <limits.h>
#include <math.h>
+#include <math-narrow-eval.h>
#include <math_private.h>
+#include <libm-alias-float.h>
#include <fix-fp-int-convert-overflow.h>
static const float two23[2] =
@@ -36,7 +38,7 @@ long long int
__llrintf (float x)
{
int32_t j0;
- u_int32_t i0;
+ uint32_t i0;
float w;
float t;
long long int result;
@@ -83,4 +85,4 @@ __llrintf (float x)
return sx ? -result : result;
}
-weak_alias (__llrintf, llrintf)
+libm_alias_float (__llrint, llrint)