diff options
Diffstat (limited to 'lib/mlibc/options/ansi/musl-generic-math/remainderf.c')
-rw-r--r-- | lib/mlibc/options/ansi/musl-generic-math/remainderf.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/mlibc/options/ansi/musl-generic-math/remainderf.c b/lib/mlibc/options/ansi/musl-generic-math/remainderf.c new file mode 100644 index 0000000..e1fcdaa --- /dev/null +++ b/lib/mlibc/options/ansi/musl-generic-math/remainderf.c @@ -0,0 +1,11 @@ +#include <math.h> +#include "weak_alias.h" +//#include "libc.h" + +float remainderf(float x, float y) +{ + int q; + return remquof(x, y, &q); +} + +weak_alias(remainderf, dremf); |