1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 04:58:13 +00:00

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

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;