projects
/
libm
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
TODO update
[libm]
/
src
/
math
/
llroundl.c
1
#include "libm.h"
2
#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
3
long long llroundl(long double x)
4
{
5
return llround(x);
6
}
7
#else
8
#define type long double
9
#define roundit roundl
10
#define dtype long long
11
#define DTYPE_MIN LLONG_MIN
12
#define DTYPE_MAX LLONG_MAX
13
#define fn llroundl
14
15
#include "lround.c"
16
#endif