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)
    struct DecimalControl
    @nogc @safe nothrow static
    void
    disableExceptions
  2. void disableExceptions()

Meta