Index: fusl/src/math/remainder.c |
diff --git a/fusl/src/math/remainder.c b/fusl/src/math/remainder.c |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6cd089c467cee72945007f92814f60926c98c836 |
--- /dev/null |
+++ b/fusl/src/math/remainder.c |
@@ -0,0 +1,10 @@ |
+#include <math.h> |
+#include "libc.h" |
+ |
+double remainder(double x, double y) |
+{ |
+ int q; |
+ return remquo(x, y, &q); |
+} |
+ |
+weak_alias(remainder, drem); |