Module Name: src
Committed By: joerg
Date: Tue Nov 19 14:02:59 UTC 2013
Modified Files:
src/lib/libm/src: e_fmod.c
Log Message:
Alias to fmod for platforms with double == long double
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/lib/libm/src/e_fmod.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libm/src/e_fmod.c
diff -u src/lib/libm/src/e_fmod.c:1.11 src/lib/libm/src/e_fmod.c:1.12
--- src/lib/libm/src/e_fmod.c:1.11 Sun May 26 22:01:49 2002
+++ src/lib/libm/src/e_fmod.c Tue Nov 19 14:02:59 2013
@@ -12,7 +12,7 @@
#include <sys/cdefs.h>
#if defined(LIBM_SCCS) && !defined(lint)
-__RCSID("$NetBSD: e_fmod.c,v 1.11 2002/05/26 22:01:49 wiz Exp $");
+__RCSID("$NetBSD: e_fmod.c,v 1.12 2013/11/19 14:02:59 joerg Exp $");
#endif
/*
@@ -26,6 +26,10 @@ __RCSID("$NetBSD: e_fmod.c,v 1.11 2002/0
static const double one = 1.0, Zero[] = {0.0, -0.0,};
+#ifndef __HAVE_LONG_DOUBLE
+__strong_alias(__ieee754_fmodl, __ieee754_fmod)
+#endif
+
double
__ieee754_fmod(double x, double y)
{