Searched defs:ComplexStorage (Results 1 – 1 of 1) sorted by relevance
24 struct alignas(sizeof(T) * 2) ComplexStorage { struct28 ComplexStorage() = default; argument34 ComplexStorage &operator=(const ComplexStorage<T> &other) noexcept = default; argument35 ComplexStorage &operator=(ComplexStorage<T> &&other) noexcept = default; argument37 inline constexpr ComplexStorage(const T &real, const T &imag = T()) : real_(real), imag_(imag) {} in real_() argument39 …inline explicit constexpr ComplexStorage(const float16 &real) : real_(static_cast<T>(real)), imag_… in ComplexStorage() argument42 …explicit ComplexStorage(const std::enable_if_t<std::is_same<U, float>::value, ComplexStorage<doubl… in ComplexStorage() function46 …explicit ComplexStorage(const std::enable_if_t<std::is_same<U, double>::value, ComplexStorage<floa… in ComplexStorage() function64 inline bool operator==(const ComplexStorage<T> &lhs, const ComplexStorage<T> &rhs) { argument