cosmopolitan/libc/math/lroundf.c

9 lines
103 B
C

#include "libc/math/math.h"
long lroundf(float x) {
long y;
x = roundf(x);
y = x;
return y;
}