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