#include <math.h> // FIXME: incorrect exception behavior long long llrint(double x) { return rint(x); }