Right‐shift the scaled integer by Amt bits, keeping these semantics.
Synopsis
Declared in <llvm/ADT/APFixedPoint.h>
APFixedPoint
shr(
unsigned int Amt,
bool* Overflow = nullptr) const;
Description
Right shift cannot overflow; if Overflow is non‐null it is set false.
Return Value
Value right‐shifted by Amt bits.
Parameters
Name |
Description |
Amt |
Number of bits to shift right. |
Overflow |
Optional overflow out‐parameter (always set false). |
Created with MrDocs