Starknet Documentation home page
Welcome
Build
Secure
Learn
Ask AI
Search...
Navigation
core::integer
core::integer::BoundedInt
Search...
⌘K
Corelib
Introduction
Modules
core::traits
core::boolean
core::circuit
core::blake
core::box
core::nullable
core::option
core::clone
core::ec
core::ecdsa
core::integer
core::integer::u128_wrapping_add
core::integer::u128_wrapping_sub
core::integer::u128_wide_mul
core::integer::u128_overflowing_mul
core::integer::u128_wrapping_add
core::integer::u128_wrapping_sub
core::integer::u128_wide_mul
core::integer::u128_overflowing_mul
core::integer::u8_wrapping_add
core::integer::u8_wrapping_sub
core::integer::u16_wrapping_add
core::integer::u16_wrapping_sub
core::integer::u32_wrapping_add
core::integer::u32_wrapping_sub
core::integer::u64_wrapping_add
core::integer::u64_wrapping_sub
core::integer::u256_overflowing_add
core::integer::u256_overflowing_sub
core::integer::u256_overflow_sub
core::integer::u256_overflowing_mul
core::integer::u256_overflow_mul
core::integer::u256_wide_mul
core::integer::u512_safe_div_rem_by_u256
core::integer::u256
core::integer::u512
core::integer::NumericLiteral
core::integer::BoundedInt
core::integer::u128
core::integer::U128MulGuarantee
core::integer::Bitwise
core::integer::u8
core::integer::u16
core::integer::u32
core::integer::u64
core::integer::i8
core::integer::i16
core::integer::i32
core::integer::i64
core::integer::i128
core::integer::u128_overflowing_add
core::integer::u128_overflowing_sub
core::integer::u128_sqrt
core::integer::u128_safe_divmod
core::integer::u128_byte_reverse
core::integer::u8_overflowing_add
core::integer::u8_overflowing_sub
core::integer::u8_wide_mul
core::integer::u8_sqrt
core::integer::u8_safe_divmod
core::integer::u16_overflowing_add
core::integer::u16_overflowing_sub
core::integer::u16_wide_mul
core::integer::u16_sqrt
core::integer::u16_safe_divmod
core::integer::u32_overflowing_add
core::integer::u32_overflowing_sub
core::integer::u32_wide_mul
core::integer::u32_sqrt
core::integer::u32_safe_divmod
core::integer::u64_overflowing_add
core::integer::u64_overflowing_sub
core::integer::u64_wide_mul
core::integer::u64_sqrt
core::integer::u64_safe_divmod
core::integer::u256_sqrt
core::integer::i8_wide_mul
core::integer::i8_diff
core::integer::i8_wide_mul
core::integer::i8_diff
core::integer::i16_wide_mul
core::integer::i16_diff
core::integer::i32_wide_mul
core::integer::i32_diff
core::integer::i64_wide_mul
core::integer::i64_diff
core::integer::i128_diff
core::cmp
core::gas
core::math
core::num
core::ops
core::panics
core::hash
core::keccak
core::pedersen
core::qm31
core::serde
core::sha256
core::poseidon
core::debug
core::fmt
core::starknet
core::internal
core::zeroable
core::bytes_31
core::byte_array
core::string
core::iter
core::metaprogramming
core::testing
core::to_byte_array
Miscellaneous
core::panic_with_felt252
core::panic_with_const_felt252
core::assert
core::bool
core::never
core::usize
core::RangeCheck
core::SegmentArena
core::felt252
core::felt252_div
On this page
Signature
Trait functions
min
Signature
max
Signature
core::integer
core::integer::BoundedInt
Trait for getting the maximal and minimal values of an integer type.
Signature
Copy
Ask AI
pub
trait
BoundedInt
Trait functions
min
Returns the minimal value of the type.
Signature
Copy
Ask AI
fn
min
()
->
T
max
Returns the maximal value of the type.
Signature
Copy
Ask AI
fn
max
()
->
T
Was this page helpful?
Yes
No
Suggest edits
Raise issue
core::integer::NumericLiteral
Previous
core::integer::u128
Next
Assistant
Responses are generated using AI and may contain mistakes.