summaryrefslogtreecommitdiffstats
path: root/libm/powerpc/s_floor.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/powerpc/s_floor.c')
-rw-r--r--libm/powerpc/s_floor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libm/powerpc/s_floor.c b/libm/powerpc/s_floor.c
index 0ddbb9b66..ff3436707 100644
--- a/libm/powerpc/s_floor.c
+++ b/libm/powerpc/s_floor.c
@@ -21,6 +21,7 @@
* *
*******************************************************************************/
+#include <math.h>
#include <endian.h>
static const double twoTo52 = 4503599627370496.0;
@@ -48,6 +49,7 @@ typedef union
* Floor(x) returns the largest integer not greater than x. *
*******************************************************************************/
+libm_hidden_proto(floor)
double floor ( double x )
{
DblInHex xInHex,OldEnvironment;
@@ -108,4 +110,4 @@ double floor ( double x )
*******************************************************************************/
return ( x );
}
-
+libm_hidden_def(floor)