mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
LibM: Add floorf() for @rexim :^)
This commit is contained in:
parent
16965db86b
commit
8f293b7543
1 changed files with 5 additions and 0 deletions
|
@ -410,6 +410,11 @@ float roundf(float value)
|
|||
return (float)(int)(value - 0.5f);
|
||||
}
|
||||
|
||||
float floorf(float value)
|
||||
{
|
||||
return (int)value;
|
||||
}
|
||||
|
||||
double floor(double value)
|
||||
{
|
||||
return (int)value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue