summaryrefslogblamecommitdiff
path: root/src/math/aarch64/ceil.c
blob: ac80c1dce5e4da1e9fb48e21856f89db6093cfac (plain) (tree)
1
2
3
4
5
6
7






                                                       
#include <math.h>

double ceil(double x)
{
	__asm__ ("frintp %d0, %d1" : "=w"(x) : "w"(x));
	return x;
}