about summary refs log tree commit diff
path: root/src/math/llroundl.c
blob: 9e2cfdc717895188b88f74e97334947216529b1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "libm.h"
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
long long llroundl(long double x)
{
	return llround(x);
}
#else
#define type            long double
#define roundit         roundl
#define dtype           long long
#define DTYPE_MIN       LLONG_MIN
#define DTYPE_MAX       LLONG_MAX
#define fn              llroundl

#include "lround.c"
#endif