File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ LIBC_INLINE static constexpr double get_error(const DoubleDouble &x_3,
146
146
147
147
LIBC_INLINE static constexpr double cbrt (double x) {
148
148
using DoubleDouble = fputil::DoubleDouble;
149
- using Float128 = fputil::DyadicFloat<128 >;
150
149
using namespace cbrt_internal ;
151
150
using FPBits = fputil::FPBits<double >;
152
151
@@ -295,6 +294,8 @@ LIBC_INLINE static constexpr double cbrt(double x) {
295
294
if (LIBC_LIKELY (r2_upper == r2_lower))
296
295
return update_exponent (r2_upper);
297
296
297
+ using Float128 = fputil::DyadicFloat<128 >;
298
+
298
299
// TODO: Investigate removing float128 and just list exceptional cases.
299
300
// Apply another Newton iteration with ~126-bit accuracy.
300
301
Float128 x2_f128 = fputil::quick_add (Float128 (x2.hi ), Float128 (x2.lo ));
You can’t perform that action at this time.
0 commit comments