edlang_ir
0.0.1-alpha.19
In edlang_ir::scalar_int
Structs
ScalarInt
Functions
sign_extend
truncate
?
Settings
Function
edlang_ir
::
scalar_int
::
truncate
Copy item path
source
·
[
−
]
pub fn truncate(size:
u64
, value:
u128
) ->
u128
Expand description
Truncates
value
to
self
bits.