9 lines
102 B
C
9 lines
102 B
C
#include "libc/math/math.h"
|
|
|
|
long lround(double x) {
|
|
long y;
|
|
x = round(x);
|
|
y = x;
|
|
return y;
|
|
}
|