@wharfkit/session - v4.0.1
Preparing search index...
OverflowBehavior
Type Alias OverflowBehavior
OverflowBehavior
:
"throw"
|
"truncate"
|
"clamp"
How to handle integer overflow.
throw
: Throws an error if value overflows (or underflows).
truncate
: Truncates or extends bit-pattern with sign extension (C++11 behavior).
clamp
: Clamps the value within the supported range.
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@wharfkit/session - v4.0.1
Loading...
How to handle integer overflow.
throw: Throws an error if value overflows (or underflows).truncate: Truncates or extends bit-pattern with sign extension (C++11 behavior).clamp: Clamps the value within the supported range.