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,
146146
147147LIBC_INLINE static constexpr double cbrt (double x) {
148148 using DoubleDouble = fputil::DoubleDouble;
149- using Float128 = fputil::DyadicFloat<128 >;
150149 using namespace cbrt_internal ;
151150 using FPBits = fputil::FPBits<double >;
152151
@@ -295,6 +294,8 @@ LIBC_INLINE static constexpr double cbrt(double x) {
295294 if (LIBC_LIKELY (r2_upper == r2_lower))
296295 return update_exponent (r2_upper);
297296
297+ using Float128 = fputil::DyadicFloat<128 >;
298+
298299 // TODO: Investigate removing float128 and just list exceptional cases.
299300 // Apply another Newton iteration with ~126-bit accuracy.
300301 Float128 x2_f128 = fputil::quick_add (Float128 (x2.hi ), Float128 (x2.lo ));
You can’t perform that action at this time.
0 commit comments