LLVM: include/llvm/ADT/APFloat.h File Reference (original) (raw)
This file declares a class to represent arbitrary precision floating point values and provide a variety of arithmetic operations on them. More...
Go to the source code of this file.
| Namespaces | |
|---|---|
| namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations. | |
| namespace | llvm::detail |
| A self-contained host- and target-independent arbitrary-precision floating-point software implementation. |
| Macros | |
|---|---|
| #define | APFLOAT_DISPATCH_ON_SEMANTICS(METHOD_CALL) |
| Variables | |
|---|---|
| static constexpr uninitializedTag | llvm::detail::uninitialized = APFloatBase::uninitialized |
| static constexpr roundingMode | llvm::detail::rmNearestTiesToEven |
| static constexpr roundingMode | llvm::detail::rmNearestTiesToAway |
| static constexpr roundingMode | llvm::detail::rmTowardNegative = APFloatBase::rmTowardNegative |
| static constexpr roundingMode | llvm::detail::rmTowardPositive = APFloatBase::rmTowardPositive |
| static constexpr roundingMode | llvm::detail::rmTowardZero = APFloatBase::rmTowardZero |
| static constexpr unsigned | llvm::detail::integerPartWidth = APFloatBase::integerPartWidth |
| static constexpr cmpResult | llvm::detail::cmpEqual = APFloatBase::cmpEqual |
| static constexpr cmpResult | llvm::detail::cmpLessThan = APFloatBase::cmpLessThan |
| static constexpr cmpResult | llvm::detail::cmpGreaterThan = APFloatBase::cmpGreaterThan |
| static constexpr cmpResult | llvm::detail::cmpUnordered = APFloatBase::cmpUnordered |
| static constexpr opStatus | llvm::detail::opOK = APFloatBase::opOK |
| static constexpr opStatus | llvm::detail::opInvalidOp = APFloatBase::opInvalidOp |
| static constexpr opStatus | llvm::detail::opDivByZero = APFloatBase::opDivByZero |
| static constexpr opStatus | llvm::detail::opOverflow = APFloatBase::opOverflow |
| static constexpr opStatus | llvm::detail::opUnderflow = APFloatBase::opUnderflow |
| static constexpr opStatus | llvm::detail::opInexact = APFloatBase::opInexact |
| static constexpr fltCategory | llvm::detail::fcInfinity = APFloatBase::fcInfinity |
| static constexpr fltCategory | llvm::detail::fcNaN = APFloatBase::fcNaN |
| static constexpr fltCategory | llvm::detail::fcNormal = APFloatBase::fcNormal |
| static constexpr fltCategory | llvm::detail::fcZero = APFloatBase::fcZero |
This file declares a class to represent arbitrary precision floating point values and provide a variety of arithmetic operations on them.
Definition in file APFloat.h.
◆ APFLOAT_DISPATCH_ON_SEMANTICS
| #define APFLOAT_DISPATCH_ON_SEMANTICS | ( | METHOD_CALL | ) |
|---|
Value:
do { \
if (usesLayout(getSemantics())) \
return U.IEEE.METHOD_CALL; \
if (usesLayout(getSemantics())) \
return U.Double.METHOD_CALL; \
llvm_unreachable("Unexpected semantics"); \
} while (false)
Definition at line 26 of file APFloat.h.
Referenced by llvm::APFloat::bitcastToAPInt(), llvm::APFloat::changeSign(), llvm::APFloat::convertFromAPInt(), llvm::APFloat::convertFromString(), llvm::APFloat::convertToHexString(), llvm::APFloat::convertToInteger(), llvm::APFloat::getExactLog2Abs(), llvm::APFloat::isDenormal(), llvm::APFloat::isInteger(), llvm::APFloat::isLargest(), llvm::APFloat::isSmallest(), llvm::APFloat::isSmallestNormalized(), llvm::APFloat::needsCleanup(), llvm::APFloat::next(), llvm::APFloat::roundToIntegral(), and llvm::APFloat::toString().