xref: /haiku/src/system/libroot/posix/musl/math/arm64/floorf.c (revision f504f61099b010fbfa94b1cc63d2e9072c7f7185)
1 #include <math.h>
2 
floorf(float x)3 float floorf(float x)
4 {
5 	__asm__ ("frintm %s0, %s1" : "=w"(x) : "w"(x));
6 	return x;
7 }
8