]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - math/w_remainderl.c
Fix all the remaining misspellings -- BZ 25337
[thirdparty/glibc.git] / math / w_remainderl.c
index dec70e50288d0694251f12530870d3002ac46207..2aca8bc45af2f222b33e023ddd7147c8065ce0b8 100644 (file)
@@ -1,48 +1,5 @@
-/* w_remainderl.c -- long double version of w_remainder.c.
- * Conversion to long double by Ulrich Drepper,
- * Cygnus Support, drepper@cygnus.com.
- */
-
-/*
- * ====================================================
- * 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.
- * ====================================================
- */
-
-#if defined(LIBM_SCCS) && !defined(lint)
-static char rcsid[] = "$NetBSD: $";
+#include <math-type-macros-ldouble.h>
+#include <w_remainder_template.c>
+#if __USE_WRAPPER_TEMPLATE
+weak_alias (__remainderl, dreml)
 #endif
-
-/*
- * wrapper remainderl(x,p)
- */
-
-#include <math.h>
-#include <math_private.h>
-
-#ifdef __STDC__
-       long double __remainderl(long double x, long double y)
-               /* wrapper remainderl */
-#else
-       long double __remainderl(x,y)                   /* wrapper remainder */
-       long double x,y;
-#endif
-{
-#ifdef _IEEE_LIBM
-       return __ieee754_remainderl(x,y);
-#else
-       long double z;
-       z = __ieee754_remainderl(x,y);
-       if(_LIB_VERSION == _IEEE_ || __isnanl(y) || __isnanl(x)) return z;
-       if(y==0.0 || __isinf_nsl(x))
-           return __kernel_standard(x,y,228); /* remainder(x,0) */
-       else
-           return z;
-#endif
-}
-weak_alias (__remainderl, remainderl)