Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

I256Trait

Trait providing common operations for I256 values.This trait defines basic operations like creating a zero value and can be extended with additional utility functions.

Fully qualified path: obscura::custom_type::i256::I256Trait

pub trait I256Trait

Trait functions

zero

Creates a new I256 representing zero. # Returns * An I256 with value 0 and is_negative = false # Note Zero is always represented as positive to maintain consistency.

Fully qualified path: obscura::custom_type::i256::I256Trait::zero

fn zero() -> I256