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