xref: /haiku/src/system/libroot/posix/musl/math/remainder.c (revision 15fb7d88e971c4d6c787c6a3a5c159afb1ebf77b)
1 #include <math.h>
2 #include "libm.h"
3 
4 double remainder(double x, double y)
5 {
6 	int q;
7 	return remquo(x, y, &q);
8 }
9 
10 weak_alias(remainder, drem);
11