Module std::flags

Expand description

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

Constants

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.

Checks if the panic-on-overflow flag is set in the FuelVM.

Checks if the panic-on-unsafe-math flag is set in the FuelVM.

Sets the flag register to the given value.