X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Flroundf.c;h=c4707e7db712cd545915efea603173e21efc709e;hp=135ba5834a6c2cb9e88a7706d0ff088eebeed061;hb=afad262440d213633144d696b8fdda7a65bf26d1;hpb=b69f695acedd4ce2798ef9ea28d834ceccc789bd diff --git a/src/math/lroundf.c b/src/math/lroundf.c index 135ba583..c4707e7d 100644 --- a/src/math/lroundf.c +++ b/src/math/lroundf.c @@ -1,8 +1,6 @@ -#define type float -#define roundit roundf -#define dtype long -#define DTYPE_MIN LONG_MIN -#define DTYPE_MAX LONG_MAX -#define fn lroundf +#include -#include "lround.c" +long lroundf(float x) +{ + return roundf(x); +}