Skip to main content

Mojo function

bitwidthof

bitwidthof[type: AnyTrivialRegType, target: target = _current_target()]() -> Int

Deprecated:

Use sys.bit_width_of() instead.

Returns:

Int

bitwidthof[dtype: DType, target: target = _current_target()]() -> Int

Deprecated:

Use sys.bit_width_of() instead.

Returns:

Int

Was this page helpful?