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