diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-11-21 01:16:49 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-11-21 01:16:49 +0000 |
commit | 5d01ab4ac64b913c537e91f7c01d5c8e910151da (patch) | |
tree | 68585091ada93029345fb30960e61cb6c8c0eb42 /src/math/remainder.c | |
parent | math: lgamma cleanup (simpler sin(pi*x) for the negative case) (diff) | |
download | grovel-5d01ab4ac64b913c537e91f7c01d5c8e910151da.tar.gz grovel-5d01ab4ac64b913c537e91f7c01d5c8e910151da.tar.xz |
math: add (obsolete) bsd drem and finite functions
Diffstat (limited to 'src/math/remainder.c')
-rw-r--r-- | src/math/remainder.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <math.h> +#include "libc.h" double remainder(double x, double y) { int q; return remquo(x, y, &q); } + +weak_alias(remainder, drem); |