rint

fnfloat rint(float x) @nogc nothrow @safe pure

Rounds 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 does not set the FE_INEXACT exception.

fndouble rint(double x) @nogc nothrow @safe pure
No documentation available for this declaration.
fnreal rint(real x) @nogc nothrow @safe pure
No documentation available for this declaration.