summaryrefslogtreecommitdiff
path: root/src/math/remainder.c
blob: 6cd089c467cee72945007f92814f60926c98c836 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <math.h>
#include "libc.h"

double remainder(double x, double y)
{
	int q;
	return remquo(x, y, &q);
}

weak_alias(remainder, drem);