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