diff options
Diffstat (limited to 'src/math/llroundf.c')
-rw-r--r-- | src/math/llroundf.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/math/llroundf.c b/src/math/llroundf.c index 594ce967..19eb77ee 100644 --- a/src/math/llroundf.c +++ b/src/math/llroundf.c @@ -1,8 +1,6 @@ -#define type float -#define roundit roundf -#define dtype long long -#define DTYPE_MIN LLONG_MIN -#define DTYPE_MAX LLONG_MAX -#define fn llroundf +#include <math.h> -#include "lround.c" +long long llroundf(float x) +{ + return roundf(x); +} |