LibM: Implement fmodf()

This commit is contained in:
Valtteri Koskivuori 2020-05-02 00:45:46 +03:00 committed by Andreas Kling
parent 43c1fa9965
commit 61cea6a29d
Notes: sideshowbarker 2024-07-19 07:07:41 +09:00

View file

@ -233,6 +233,11 @@ double fmod(double index, double period)
return index - trunc(index / period) * period;
}
float fmodf(float index, float period)
{
return index - trunc(index / period) * period;
}
double exp(double exponent)
{
double result = 1;