rint
fn
real rint(real x) @safe pure nothrow @nogcRounds x to the nearest integer value, using the current rounding mode.
If the return value is not equal to x, the FE_INEXACT exception is raised.
nearbyint performs the same operation, but doesnot set the FE_INEXACT exception.
fn
double rint(double x) @safe pure nothrow @nogcditto
fn
float rint(float x) @safe pure nothrow @nogcditto