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

This commit is contained in:
Andreas Kling
2020-05-15 21:51:02 +02:00
parent 16965db86b
commit 8f293b7543

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;