1 2 3 4 5 6 7 8
#include <math.h> // FIXME: incorrect exception behavior long lrint(double x) { return rint(x); }