9 lines
131 B
C
9 lines
131 B
C
|
#include "libc/math/math.h"
|
||
|
|
||
|
/* uses LLONG_MAX > 2^53, see comments in lrint.c */
|
||
|
|
||
|
long long llrint(double x)
|
||
|
{
|
||
|
return rint(x);
|
||
|
}
|