summaryrefslogtreecommitdiff
path: root/libm/e_fmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'libm/e_fmod.c')
-rw-r--r--libm/e_fmod.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/libm/e_fmod.c b/libm/e_fmod.c
index 1e8487cf0..02cce63b0 100644
--- a/libm/e_fmod.c
+++ b/libm/e_fmod.c
@@ -1,4 +1,3 @@
-/* @(#)e_fmod.c 5.1 93/09/24 */
/*
* ====================================================
* Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
@@ -10,10 +9,6 @@
* ====================================================
*/
-#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$NetBSD: e_fmod.c,v 1.8 1995/05/10 20:45:07 jtc Exp $";
-#endif
-
/*
* __ieee754_fmod(x,y)
* Return x mod y in exact arithmetic
@@ -23,18 +18,9 @@ static char rcsid[] = "$NetBSD: e_fmod.c,v 1.8 1995/05/10 20:45:07 jtc Exp $";
#include "math.h"
#include "math_private.h"
-#ifdef __STDC__
static const double one = 1.0, Zero[] = {0.0, -0.0,};
-#else
-static double one = 1.0, Zero[] = {0.0, -0.0,};
-#endif
-#ifdef __STDC__
- double attribute_hidden __ieee754_fmod(double x, double y)
-#else
- double attribute_hidden __ieee754_fmod(x,y)
- double x,y ;
-#endif
+double attribute_hidden __ieee754_fmod(double x, double y)
{
int32_t n,hx,hy,hz,ix,iy,sx,i;
u_int32_t lx,ly,lz;