mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-11 17:00:37 +00:00
LibM: Implement fmodf()
This commit is contained in:
parent
43c1fa9965
commit
61cea6a29d
Notes:
sideshowbarker
2024-07-19 07:07:41 +09:00
Author: https://github.com/vkoskiv Commit: https://github.com/SerenityOS/serenity/commit/61cea6a29d9 Pull-request: https://github.com/SerenityOS/serenity/pull/2053
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…
Reference in a new issue