Mojo function
bit_width_of
bit_width_of[type: RegisterPassable, target: __mlir_type.`!kgen.target` = _current_target()]() -> Int
Returns the size of (in bits) of the type.
Parameters:
- βtype (
RegisterPassable): The type in question. - βtarget (
__mlir_type.`!kgen.target`): The target architecture.
Returns:
Int: The size of the type in bits.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!