about summary refs log tree commit diff
path: root/sysdeps/libm-ieee754/w_dreml.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-ieee754/w_dreml.c')
-rw-r--r--sysdeps/libm-ieee754/w_dreml.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysdeps/libm-ieee754/w_dreml.c b/sysdeps/libm-ieee754/w_dreml.c
new file mode 100644
index 0000000000..aa73eedc49
--- /dev/null
+++ b/sysdeps/libm-ieee754/w_dreml.c
@@ -0,0 +1,18 @@
+/*
+ * dreml() wrapper for remainderl().
+ *
+ * Written by J.T. Conklin, <jtc@wimsey.com>
+ * Conversion to long double by Ulrich Drepper,
+ * Cygnus Support, drepper@cygnus.com.
+ * Placed into the Public Domain, 1994.
+ */
+
+#include <math.h>
+
+long double
+__dreml(x, y)
+	long double x, y;
+{
+	return __remainderl(x, y);
+}
+weak_alias (__dreml, dreml)