Panther Search Documentation Tutorials Devlogs Downloads Source Code

Documentation > Panther Documentation > Intrinsics > @bitReverse

@bitReverse

Panther
Documentation


1: func @bitReverse = <{T: Type}> (arg: T) -> T;

  Reverse the bits

Template Parameters

  T: type of arguments and output - must be integral or a vector of integral

Parameters

  arg: value to reverse the bits of

Return Value

  Result value of the bit reversal

Example

(TODO)

See Also

@byteSwap Swap the bytes