cosmopolitan/libc/math/lroundf.c

9 lines
103 B
C
Raw Normal View History

2020-06-15 14:18:57 +00:00
#include "libc/math/math.h"
long lroundf(float x) {
long y;
x = roundf(x);
y = x;
return y;
}