mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-31 05:39:55 +00:00
LibM: Add floorf() for @rexim :^)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user