Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

i257_assert_no_negative_zero

Checks if the given i257 integer is zero and has the correct sign.

Arguments

  • x - The i257 integer to check.

Panics

Panics if x is zero and is negative

Fully qualified path: alexandria_math::i257::i257_assert_no_negative_zero

pub fn i257_assert_no_negative_zero(x: i257)