We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f159f34 commit 8845ef9Copy full SHA for 8845ef9
libc/src/__support/complex_type.h
@@ -84,9 +84,9 @@ template <typename T> LIBC_INLINE constexpr T project(T c) {
84
Complex<real_t> c_c = cpp::bit_cast<Complex<real_t>>(c);
85
if (fputil::FPBits<real_t>(c_c.real).is_inf() ||
86
fputil::FPBits<real_t>(c_c.imag).is_inf()) {
87
- return cpp::bit_cast<T>(Complex<real_t>{
88
- (fputil::FPBits<real_t>::inf(Sign::POS).get_val()),
89
- static_cast<real_t>(c_c.imag > 0 ? 0.0 : -0.0)});
+ return cpp::bit_cast<T>(
+ Complex<real_t>{(fputil::FPBits<real_t>::inf(Sign::POS).get_val()),
+ static_cast<real_t>(c_c.imag > 0 ? 0.0 : -0.0)});
90
} else {
91
return c;
92
}
0 commit comments