initial commit
[libm] / src / math / lroundl.c
1 #include "libm.h"
2 #if LD64
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