|
LLVM
3.7.0
|
#include "llvm/ADT/APFloat.h"#include "llvm/ADT/APSInt.h"#include "llvm/ADT/FoldingSet.h"#include "llvm/ADT/Hashing.h"#include "llvm/ADT/StringExtras.h"#include "llvm/ADT/StringRef.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/MathExtras.h"#include <cstring>#include <limits.h>Go to the source code of this file.
Classes | |
| struct | llvm::fltSemantics |
| struct | decimalInfo |
Namespaces | |
| llvm | |
| Compute iterated dominance frontiers using a linear time algorithm. | |
Macros | |
| #define | PackCategoriesIntoKey(_lhs, _rhs) ((_lhs) * 4 + (_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. More... | |
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 | hexDigitsLower [] = "0123456789abcdef0" |
| static const char | hexDigitsUpper [] = "0123456789ABCDEF0" |
| static const char | infinityL [] = "infinity" |
| static const char | infinityU [] = "INFINITY" |
| static const char | NaNL [] = "nan" |
| static const char | NaNU [] = "NAN" |
| #define PackCategoriesIntoKey | ( | _lhs, | |
| _rhs | |||
| ) | ((_lhs) * 4 + (_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 34 of file APFloat.cpp.
Referenced by llvm::APFloat::compare().
|
static |
Definition at line 378 of file APFloat.cpp.
References llvm::lfExactlyHalf, llvm::lfExactlyZero, llvm::lfLessThanHalf, and llvm::lfMoreThanHalf.
Definition at line 108 of file APFloat.cpp.
Referenced by interpretDecimal(), readExponent(), and totalExponent().
|
static |
Definition at line 399 of file APFloat.cpp.
|
static |
Definition at line 253 of file APFloat.cpp.
References decDigitValue(), llvm::sys::path::end(), decimalInfo::exponent, decimalInfo::firstSigDigit, decimalInfo::lastSigDigit, decimalInfo::normalizedExponent, readExponent(), and skipLeadingZeroesAndAnyDot().
|
static |
Definition at line 343 of file APFloat.cpp.
References llvm::integerPartWidth, llvm::lfExactlyHalf, llvm::lfExactlyZero, llvm::lfLessThanHalf, llvm::lfMoreThanHalf, llvm::APInt::tcExtractBit(), and llvm::APInt::tcLSB().
Referenced by shiftRight().
|
static |
Definition at line 529 of file APFloat.cpp.
References llvm::integerPartWidth.
Definition at line 101 of file APFloat.cpp.
References llvm::integerPartWidth.
Referenced by llvm::APFloat::convert(), llvm::APFloat::convertFromZeroExtendedInteger(), llvm::APFloat::convertToInteger(), llvm::APFloat::getSmallestNormalized(), and llvm::APFloat::toString().
|
static |
Definition at line 458 of file APFloat.cpp.
References llvm::maxExponent, llvm::maxPowerOfFiveParts, llvm::APInt::tcAssign(), and llvm::APInt::tcFullMultiply().
|
static |
Definition at line 119 of file APFloat.cpp.
References llvm::sys::path::begin(), decDigitValue(), and llvm::sys::path::end().
Referenced by interpretDecimal().
|
static |
Definition at line 365 of file APFloat.cpp.
References lostFractionThroughTruncation(), and llvm::APInt::tcShiftRight().
Referenced by llvm::APFloat::convert().
|
static |
Definition at line 212 of file APFloat.cpp.
References llvm::sys::path::begin(), and llvm::sys::path::end().
Referenced by interpretDecimal().
|
static |
Definition at line 163 of file APFloat.cpp.
References decDigitValue(), and llvm::sys::path::end().
|
static |
Definition at line 312 of file APFloat.cpp.
References llvm::hexDigitValue(), llvm::lfExactlyHalf, llvm::lfExactlyZero, llvm::lfLessThanHalf, and llvm::lfMoreThanHalf.
|
static |
Definition at line 413 of file APFloat.cpp.
References llvm::integerPartWidth.
|
static |
Definition at line 565 of file APFloat.cpp.
References writeUnsignedDecimal().
Definition at line 547 of file APFloat.cpp.
Referenced by writeSignedDecimal().
|
static |
Definition at line 518 of file APFloat.cpp.
|
static |
Definition at line 519 of file APFloat.cpp.
|
static |
Definition at line 520 of file APFloat.cpp.
Referenced by llvm::APFloat::convertToHexString().
|
static |
Definition at line 521 of file APFloat.cpp.
Referenced by llvm::APFloat::convertToHexString().
|
static |
Definition at line 522 of file APFloat.cpp.
Referenced by llvm::APFloat::convertToHexString().
|
static |
Definition at line 523 of file APFloat.cpp.
Referenced by llvm::APFloat::convertToHexString().
1.8.6