Variant of UInt8.ofNat_mod_size replacing 2 ^ 8 with 256.
Equations
- UInt8.natCast = { natCast := fun (x : Nat) => UInt8.ofNat x }
Instances For
Equations
- UInt8.intCast = { intCast := fun (x : Int) => UInt8.ofInt x }
Instances For
Variant of UInt16.ofNat_mod_size replacing 2 ^ 16 with 65536.
Equations
- UInt16.natCast = { natCast := fun (x : Nat) => UInt16.ofNat x }
Instances For
Equations
- UInt16.intCast = { intCast := fun (x : Int) => UInt16.ofInt x }
Instances For
Variant of UInt32.ofNat_mod_size replacing 2 ^ 32 with 4294967296.
Equations
- UInt32.natCast = { natCast := fun (x : Nat) => UInt32.ofNat x }
Instances For
Equations
- UInt32.intCast = { intCast := fun (x : Int) => UInt32.ofInt x }
Instances For
Variant of UInt64.ofNat_mod_size replacing 2 ^ 64 with 18446744073709551616.
Equations
- UInt64.natCast = { natCast := fun (x : Nat) => UInt64.ofNat x }
Instances For
Equations
- UInt64.intCast = { intCast := fun (x : Int) => UInt64.ofInt x }
Instances For
Equations
- USize.natCast = { natCast := fun (x : Nat) => USize.ofNat x }
Instances For
Equations
- USize.intCast = { intCast := fun (x : Int) => USize.ofInt x }
Instances For
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.