Meg's Mirrors
zig
about
heads
tags
log
tree
search
Search
zig
lib
libc
musl
src
math
aarch64
fma.c
pretty
plain
permalink
blame
history
•
7 lines
•
149 B
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
}