about summary refs log tree commit diff
path: root/src/math/aarch64/rintf.c
blob: 1ae7dd254003946c1aa79eafe90b00e218a44f94 (plain) (blame)
1
2
3
4
5
6
7
#include <math.h>

float rintf(float x)
{
	__asm__ ("frintx %s0, %s1" : "=w"(x) : "w"(x));
	return x;
}