3YL5CNXXPPYWRQRXMW36VFFJP5S4RD45ISQ3TWAUBX44HIM7ECTQC
const auto is_approx{[](const T &fgood, const T &fother) {
return norm1<T>()(fother - fgood) <=
1.0e-12 * (1 + norm1<T>()(fgood) + norm1<T>()(fother));
const auto scale = norm1<T>()(elts[0]) + norm1<T>()(elts[1]) +
norm1<T>()(elts[2]) + norm1<T>()(elts[3]) +
norm1<T>()(elts[4]) + norm1<T>()(elts[5]);
const auto is_approx{[scale](const T &fgood, const T &fother) {
return norm1<T>()(fother - fgood) <= 1.0e-12 * (1 + scale);
const auto is_approx{[](const T &fgood, const T &fother) {
return norm1<T>()(fother - fgood) <=
1.0e-12 * (1 + norm1<T>()(fgood) + norm1<T>()(fother));
const auto scale = norm1<T>()(elts[0]) + norm1<T>()(elts[1]) +
norm1<T>()(elts[2]) + norm1<T>()(elts[3]) +
norm1<T>()(elts[4]) + norm1<T>()(elts[5]) +
norm1<T>()(elts[6]) + norm1<T>()(elts[7]) +
norm1<T>()(elts[8]) + norm1<T>()(elts[9]);
const auto is_approx{[scale](const T &fgood, const T &fother) {
return norm1<T>()(fother - fgood) <= 1.0e-12 * (1 + scale);
const auto is_approx{[](const T &fgood, const T &fother) {
return norm1<T>()(fother - fgood) <=
1.0e-12 * (1 + norm1<T>()(fgood) + norm1<T>()(fother));
const auto scale = norm1<T>()(elts[0]) + norm1<T>()(elts[1]) +
norm1<T>()(elts[2]) + norm1<T>()(elts[3]) +
norm1<T>()(elts[4]) + norm1<T>()(elts[5]);
const auto is_approx{[scale](const T &fgood, const T &fother) {
return norm1<T>()(fother - fgood) <= 1.0e-12 * (1 + scale);