mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00
LibM: Implement fmodf()
This commit is contained in:
parent
43c1fa9965
commit
61cea6a29d
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue