xref: /haiku/src/system/libroot/posix/musl/math/arm64/fabs.c (revision f850bba8d08df4881980ba303b7f42b823a82b90)
1 #include <math.h>
2 
3 double fabs(double x)
4 {
5 	__asm__ ("fabs %d0, %d1" : "=w"(x) : "w"(x));
6 	return x;
7 }
8