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