1#include <math.h>
2
3/* uses LLONG_MAX > 2^53, see comments in lrint.c */
4
5long long llrint(double x) {
6    return rint(x);
7}
8