adds floor for float and double

main
phani 5 years ago
parent 27b317116d
commit 5968495a55

@ -186,6 +186,12 @@ f32_max(float a, float b)
return a > b ? a : b; return a > b ? a : b;
} }
INLINE float
f32_floor(float a)
{
return floor(a);
}
INLINE double INLINE double
f64_min(double a, double b) f64_min(double a, double b)
{ {
@ -197,3 +203,11 @@ f64_max(double a, double b)
{ {
return a > b ? a : b; return a > b ? a : b;
} }
INLINE double
f64_floor(double a)
{
return floor(a);
}

@ -1 +1 @@
Subproject commit 015e2bb638d47a793d0da96bb4b697be9d010209 Subproject commit 6e82f8ef3621710037428e50d2d118a0589ad720
Loading…
Cancel
Save