musl-tcc/src/math/s390x/fma.c

8 lines
133 B
C
Raw Permalink Normal View History

2022-04-14 07:49:55 +00:00
#include <math.h>
double fma(double x, double y, double z)
{
__asm__ ("madbr %0, %1, %2" : "+f"(z) : "f"(x), "f"(y));
return z;
}