Skip to content

Commit

Permalink
LibM: Implement fmodf()
Browse files Browse the repository at this point in the history
  • Loading branch information
vkoskiv authored and awesomekling committed May 1, 2020
1 parent 43c1fa9 commit 61cea6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Libraries/LibM/math.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 61cea6a

Please sign in to comment.