|
|
constexpr | Complex (const Complex &)=default |
|
constexpr | Complex (const Part &r, const Part &i) |
|
constexpr | Complex (const Part &r) |
|
constexpr Complex & | operator= (const Complex &)=default |
|
constexpr Complex & | operator= (Complex &&)=default |
|
constexpr bool | operator== (const Complex &that) const |
|
constexpr const Part & | REAL () const |
|
constexpr const Part & | AIMAG () const |
|
constexpr Complex | CONJG () const |
|
constexpr Complex | Negate () const |
|
constexpr bool | Equals (const Complex &that) const |
|
constexpr bool | IsZero () const |
|
constexpr bool | IsInfinite () const |
|
constexpr bool | IsNotANumber () const |
|
constexpr bool | IsSignalingNaN () const |
|
ValueWithRealFlags< Complex > | Add (const Complex &, Rounding rounding=TargetCharacteristics::defaultRounding) const |
|
ValueWithRealFlags< Complex > | Subtract (const Complex &, Rounding rounding=TargetCharacteristics::defaultRounding) const |
|
ValueWithRealFlags< Complex > | Multiply (const Complex &, Rounding rounding=TargetCharacteristics::defaultRounding) const |
|
ValueWithRealFlags< Complex > | Divide (const Complex &, Rounding rounding=TargetCharacteristics::defaultRounding) const |
|
ValueWithRealFlags< Complex > | KahanSummation (const Complex &, Complex &correction, Rounding rounding=TargetCharacteristics::defaultRounding) const |
|
ValueWithRealFlags< Part > | ABS (Rounding rounding=TargetCharacteristics::defaultRounding) const |
|
constexpr Complex | FlushSubnormalToZero () const |
|
std::string | DumpHexadecimal () const |
|
llvm::raw_ostream & | AsFortran (llvm::raw_ostream &, int kind) const |
| void | StoreRawBytes (void *dst, size_t expectedSize, bool *changed=nullptr) const |
|
|
static constexpr int | bits {2 * Part::bits} |
◆ bytesStored()
template<typename REAL_TYPE>
Number of bytes that FromRawBytes/StoreRawBytes would accesses. Note that for COMPLEX(10), this is 32.
◆ FromRawBytes()
template<typename REAL_TYPE>
De-serializes a complex from raw. expectedSize must match the the number of bytes to be read.
◆ StoreRawBytes()
template<typename REAL_TYPE>
Serializes this complex to dst. expectedSize must match the the number of bytes to be written. If changed points to a boolean, it will be set to true if any bytes at dst have changed.
The documentation for this class was generated from the following files:
- include/flang/Evaluate/complex.h
- lib/Evaluate/complex.cpp