From ec83c7685dd6a7a62a8c551c832f007c488d7046 Mon Sep 17 00:00:00 2001 From: das Date: Fri, 4 Feb 2005 14:08:32 +0000 Subject: Remove wrappers and other cruft intended to support SVID, mistakes in C90, and other arcana. Most of these features were never fully supported or enabled by default. Ok: bde, stefanf --- lib/msun/src/w_fmod.c | 39 --------------------------------------- 1 file changed, 39 deletions(-) delete mode 100644 lib/msun/src/w_fmod.c (limited to 'lib/msun/src/w_fmod.c') diff --git a/lib/msun/src/w_fmod.c b/lib/msun/src/w_fmod.c deleted file mode 100644 index 788f10c..0000000 --- a/lib/msun/src/w_fmod.c +++ /dev/null @@ -1,39 +0,0 @@ -/* @(#)w_fmod.c 5.1 93/09/24 */ -/* - * ==================================================== - * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. - * - * Developed at SunPro, a Sun Microsystems, Inc. business. - * Permission to use, copy, modify, and distribute this - * software is freely granted, provided that this notice - * is preserved. - * ==================================================== - */ - -#ifndef lint -static char rcsid[] = "$FreeBSD$"; -#endif - -/* - * wrapper fmod(x,y) - */ - -#include "math.h" -#include "math_private.h" - - -double -fmod(double x, double y) /* wrapper fmod */ -{ -#ifdef _IEEE_LIBM - return __ieee754_fmod(x,y); -#else - double z; - z = __ieee754_fmod(x,y); - if(_LIB_VERSION == _IEEE_ ||isnan(y)||isnan(x)) return z; - if(y==0.0) { - return __kernel_standard(x,y,27); /* fmod(x,0) */ - } else - return z; -#endif -} -- cgit v1.1