You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Compute the sum of squares using an algorithm that avoids// underflow and overflow by scaling.auto ssq_res = vector_sum_of_squares(exec, x, ssq_init);
using std::sqrt;
return init + ssq_res.scaling_factor * sqrt(ssq_res.scaled_sum_of_squares);
}
fnrizzi
changed the title
vector_norm2: should init be inside or outside the sqrt?
P1673: vector_norm2: should init be inside or outside the sqrt?
Mar 14, 2022
In the impl we have:
but in the spec we have:
The text was updated successfully, but these errors were encountered: