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