summaryrefslogblamecommitdiff
path: root/src/math/s390x/ceilf.c
blob: 29ba8d4e776585e969cfa466c74be28d2cc4c2cf (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                           
#include <math.h>

#if defined(__HTM__) || __ARCH__ >= 9

float ceilf(float x)
{
	__asm__ ("fiebra %0, 6, %1, 4" : "=f"(x) : "f"(x));
	return x;
}

#else

#include "../ceilf.c"

#endif