Skip to main content

Module overflow_panic

Module overflow_panic 

Source
๐Ÿ”ฌThis is a nightly-only experimental API. (num_internals)
Expand description

Functions for panicking on overflow.

In particular, these are used by the strict_ methods on integers.

Functionsยง

add ๐Ÿ”’ Experimental
div ๐Ÿ”’ Experimental
mul ๐Ÿ”’ Experimental
neg ๐Ÿ”’ Experimental
rem ๐Ÿ”’ Experimental
shl ๐Ÿ”’ Experimental
shr ๐Ÿ”’ Experimental
sub ๐Ÿ”’ Experimental