convertToInteger overloads
Declared in <llvm/ADT/APFloat.h>
Convert this value to an integer stored in Result.
opStatus
convertToInteger(
APSInt& Result,
roundingMode RM,
bool* IsExact) const;
» more...
Convert this floating-point value to an integer bit pattern in Input.
opStatus
convertToInteger(
MutableArrayRef<integerPart> Input,
unsigned int Width,
bool IsSigned,
roundingMode RM,
bool* IsExact) const;
» more...
IEEE exception status flags for the conversion
| Name | Description |
|---|---|
| Result | destination APSInt (width and signedness select the format) |
| RM | rounding mode for the conversion |
| IsExact [out] | set when the conversion is exact |
| Input | destination buffer for the integer limbs |
| Width | bit width of the destination integer |
| IsSigned | true if the destination integer is signed |