nn::math::ExtractBits Function
template <typename T>
T ExtractBits(
bit64 v,
int pos,
int len
);
| Name | Description |
|---|---|
| T | Return value type. |
| Name | Description | |
|---|---|---|
| in | v | Value to operate on. |
| in | pos | A position relative to the lowest bit. |
| in | len | Range to extract. |
Extracts the bit values from a specified range.
CONFIDENTIAL