template <FPType fp_type>
struct FPStorage
Defined at line 150 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
FPStorage derives useful constants from the FPLayout above.
Public Members
static const int TOTAL_LEN
static const int STORAGE_LEN
static const int32_t EXP_BIAS
static const StorageType SIG_MASK
static const StorageType EXP_MASK
static const StorageType SIGN_MASK
static const StorageType EXP_SIG_MASK
static const StorageType FP_MASK
static const StorageType FRACTION_MASK
Protected Members
StorageType bits
Public Methods
Sign sign ()
Defined at line 358 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
void set_sign (Sign signVal)
Defined at line 361 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
Protected Methods
StorageType merge (StorageType a, StorageType b, StorageType mask)
Merge bits from 'a' and 'b' values according to 'mask'.
Use 'a' bits when corresponding 'mask' bits are zeroes and 'b' bits when
corresponding bits are ones.
Defined at line 203 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
StorageType encode (BiasedExponent exp)
Defined at line 316 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
StorageType encode (Significand value)
Defined at line 320 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
StorageType encode (BiasedExponent exp, Significand sig)
Defined at line 324 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
StorageType encode (Sign sign, BiasedExponent exp, Significand sig)
Defined at line 329 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
void FPStorage<fp_type> ()
Defined at line 339 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
void FPStorage<fp_type> (StorageType value)
Defined at line 340 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
StorageType exp_bits ()
Observers
Defined at line 343 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
StorageType sig_bits ()
Defined at line 344 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
StorageType exp_sig_bits ()
Defined at line 345 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
BiasedExponent biased_exponent ()
Parts
Defined at line 350 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h
void set_biased_exponent (BiasedExponent biased)
Defined at line 353 of file ../../third_party/llvm-libc/src/src/__support/FPUtil/FPBits.h