Variant of UInt8.ofNat_mod_size
replacing 2 ^ 8
with 256
.
Equations
- UInt8.instNatCast = { natCast := fun (x : Nat) => UInt8.ofNat x }
Equations
- UInt8.instIntCast = { intCast := fun (x : Int) => UInt8.ofInt x }
Variant of UInt16.ofNat_mod_size
replacing 2 ^ 16
with 65536
.
Equations
- UInt16.instNatCast = { natCast := fun (x : Nat) => UInt16.ofNat x }
Equations
- UInt16.instIntCast = { intCast := fun (x : Int) => UInt16.ofInt x }
Variant of UInt32.ofNat_mod_size
replacing 2 ^ 32
with 4294967296
.
Equations
- UInt32.instNatCast = { natCast := fun (x : Nat) => UInt32.ofNat x }
Equations
- UInt32.instIntCast = { intCast := fun (x : Int) => UInt32.ofInt x }
Variant of UInt64.ofNat_mod_size
replacing 2 ^ 64
with 18446744073709551616
.
Equations
- UInt64.instNatCast = { natCast := fun (x : Nat) => UInt64.ofNat x }
Equations
- UInt64.instIntCast = { intCast := fun (x : Int) => UInt64.ofInt x }
Equations
- USize.instNatCast = { natCast := fun (x : Nat) => USize.ofNat x }
Equations
- USize.instIntCast = { intCast := fun (x : Int) => USize.ofInt x }
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.