summaryrefslogtreecommitdiff
path: root/libm/powerpc/s_nearbyint.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/powerpc/s_nearbyint.c')
-rw-r--r--libm/powerpc/s_nearbyint.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libm/powerpc/s_nearbyint.c b/libm/powerpc/s_nearbyint.c
index f2d7ded35..068e21378 100644
--- a/libm/powerpc/s_nearbyint.c
+++ b/libm/powerpc/s_nearbyint.c
@@ -15,6 +15,7 @@
static const double twoTo52 = 4503599627370496.0;
+libm_hidden_proto(nearbyint)
double nearbyint ( double x )
{
double y;
@@ -34,3 +35,4 @@ double nearbyint ( double x )
asm ("mtfsf 255,%0" : /*NULLOUT*/ : /*IN*/ "f" ( OldEnvironment ));
return ( y );
}
+libm_hidden_def(nearbyint)