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