Returns x rounded to a long value using the FE_TONEAREST rounding mode.
If the integer value of x is greater than long.max, the result is
indeterminate.
Only works with the Digital Mars C Runtime.
deprecated("rndtonl is to be removed by 2.089. Please use round instead")
extern (C)
version (CRuntime_DigitalMars)
{
assert(rndtonl(1.0) is -real.nan);
assert(rndtonl(1.2) is -real.nan);
assert(rndtonl(1.7) is -real.nan);
assert(rndtonl(1.0001) is -real.nan);
}
Deprecated. Please use round instead.
Returns x rounded to a long value using the FE_TONEAREST rounding mode. If the integer value of x is greater than long.max, the result is indeterminate.
Only works with the Digital Mars C Runtime.