Module compiler_builtins::int
source · Re-exports
Modules
- This
specialized_div_rem
module is originally from version 1.0.0 of thespecialized-div-rem
crate. Note thatfor
loops with ranges are not used in this module, since unoptimized compilation may generate references tomemcpy
.
Macros
- int_impl 🔒
Traits
- CastInto 🔒Trait to express (possibly lossy) casting of integers
- DInt 🔒Trait for integers twice the bit width of another integer. This is implemented for all primitives except for
u8
, because there is not a smaller primitive. - HInt 🔒Trait for integers half the bit width of another integer. This is implemented for all primitives except for
u128
, because it there is not a larger primitive. - Int 🔒Trait for some basic operations on integers