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