|
LLVM 23.0.0git
|
#include "llvm/ADT/APFloat.h"#include "llvm/ADT/APSInt.h"#include "llvm/ADT/ArrayRef.h"#include "llvm/ADT/FloatingPointMode.h"#include "llvm/ADT/FoldingSet.h"#include "llvm/ADT/Hashing.h"#include "llvm/ADT/STLExtras.h"#include "llvm/ADT/StringExtras.h"#include "llvm/ADT/StringRef.h"#include "llvm/Config/llvm-config.h"#include "llvm/Support/Debug.h"#include "llvm/Support/Error.h"#include "llvm/Support/MathExtras.h"#include "llvm/Support/raw_ostream.h"#include <cstring>#include <limits.h>Go to the source code of this file.
Classes | |
| struct | llvm::decimalInfo |
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) |
| #define | PackCategoriesIntoKey(_lhs, _rhs) |
| A macro used to combine two fcCategory enums into one key which can be used in a switch statement to classify how the interaction of two APFloat's categories affects an operation. | |
Variables | |
| const unsigned int | llvm::maxExponent = 16383 |
| const unsigned int | llvm::maxPrecision = 113 |
| const unsigned int | llvm::maxPowerOfFiveExponent = maxExponent + maxPrecision - 1 |
| const unsigned int | llvm::maxPowerOfFiveParts |
| static const char | llvm::hexDigitsLower [] = "0123456789abcdef0" |
| static const char | llvm::hexDigitsUpper [] = "0123456789ABCDEF0" |
| static const char | llvm::infinityL [] = "infinity" |
| static const char | llvm::infinityU [] = "INFINITY" |
| static const char | llvm::NaNL [] = "nan" |
| static const char | llvm::NaNU [] = "NAN" |
| #define APFLOAT_DISPATCH_ON_SEMANTICS | ( | METHOD_CALL | ) |
Definition at line 31 of file APFloat.cpp.
| #define PackCategoriesIntoKey | ( | _lhs, | |
| _rhs ) |
A macro used to combine two fcCategory enums into one key which can be used in a switch statement to classify how the interaction of two APFloat's categories affects an operation.
TODO: If clang source code is ever allowed to use constexpr in its own codebase, change this into a static inline function.
Definition at line 48 of file APFloat.cpp.
Referenced by llvm::detail::IEEEFloat::compare().