DecimalControl.disableExceptions

Disables specified exceptions. Multiple exceptions may be ORed together.

DecimalControl.disableExceptions(ExceptionFlags.overflow);
auto d = decimal64.max * decimal64.max;
assert (DecimalControl.overflow);
assert (isInfinity(d));
  1. void disableExceptions(ExceptionFlags group)
  2. void disableExceptions()
    struct DecimalControl
    @nogc @safe nothrow static
    void
    disableExceptions
    ()

Meta