LibM: Add floorf() for @rexim :^)

This commit is contained in:
Andreas Kling 2020-05-15 21:51:02 +02:00
parent 16965db86b
commit 8f293b7543
Notes: sideshowbarker 2024-07-19 06:37:50 +09:00

View file

@ -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;