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

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