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