Module std::flags

Expand description

Functionality for setting and unsetting FuelVM flags to modify behavior related to the $err and $of registers.

Functions

Allows overflowing operations to occur without a FuelVM panic.

Allows unsafe math operations to occur without a FuelVM panic.

Enables the default panic-on-overflow behavior in the FuelVM.

Enables the default panic-on-unsafe-math behavior in the FuelVM.

Sets the flag register to the given value.