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 1e99026 commit fedbb0fCopy full SHA for fedbb0f
libc/src/math/generic/asinpif16.cpp
@@ -77,7 +77,7 @@ LLVM_LIBC_FUNCTION(float16, asinpif16, (float16 x)) {
77
};
78
// polynomial evaluation using horner's method
79
// work only for |x| in [0, 0.5]
80
- auto asinpi_polyeval = [](double x) -> double {
+ auto asinpi_polyeval = [&](double x) -> double {
81
return x * fputil::polyeval(x * x, POLY_COEFFS[0], POLY_COEFFS[1],
82
POLY_COEFFS[2], POLY_COEFFS[3], POLY_COEFFS[4],
83
POLY_COEFFS[5], POLY_COEFFS[6], POLY_COEFFS[7]);
0 commit comments