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 1a4f0d6 commit 37ccb45Copy full SHA for 37ccb45
libc/src/__support/math/asin.h
@@ -27,8 +27,6 @@ namespace math {
27
28
static constexpr double asin(double x) {
29
using namespace asin_internal;
30
- using Float128 = fputil::DyadicFloat<128>;
31
- using DoubleDouble = fputil::DoubleDouble;
32
using FPBits = fputil::FPBits<double>;
33
34
FPBits xbits(x);
@@ -76,6 +74,9 @@ static constexpr double asin(double x) {
76
74
#ifdef LIBC_MATH_HAS_SKIP_ACCURATE_PASS
77
75
return x * asin_eval(x * x);
78
#else
+ using Float128 = fputil::DyadicFloat<128>;
+ using DoubleDouble = fputil::DoubleDouble;
79
+
80
unsigned idx = 0;
81
DoubleDouble x_sq = fputil::exact_mult(x, x);
82
double err = xbits.abs().get_val() * 0x1.0p-51;
0 commit comments