From 5d01ab4ac64b913c537e91f7c01d5c8e910151da Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 21 Nov 2013 01:16:49 +0000 Subject: math: add (obsolete) bsd drem and finite functions --- src/math/remainder.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/math/remainder.c') diff --git a/src/math/remainder.c b/src/math/remainder.c index ed5c477e..6cd089c4 100644 --- a/src/math/remainder.c +++ b/src/math/remainder.c @@ -1,7 +1,10 @@ #include +#include "libc.h" double remainder(double x, double y) { int q; return remquo(x, y, &q); } + +weak_alias(remainder, drem); -- cgit v1.2.1