The OpenD Programming Language

nearbyint

Rounds x to the nearest integer value, using the current rounding mode.

Unlike the rint functions, nearbyint does not raise the FE_INEXACT exception.

version(LDC)
pragma(inline, true) @safe pure nothrow @nogc
real
nearbyint
(
real x
)

Meta