remove libm.h includes when math.h and float.h are enough
[musl] / src / math / llroundl.c
1 #include <math.h>
2 #include <float.h>
3
4 #if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024
5 long long llroundl(long double x)
6 {
7         return llround(x);
8 }
9 #else
10 #define type            long double
11 #define roundit         roundl
12 #define dtype           long long
13 #define DTYPE_MIN       LLONG_MIN
14 #define DTYPE_MAX       LLONG_MAX
15 #define fn              llroundl
16
17 #include "lround.c"
18 #endif