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
Our L1 and Linf norms give a negative result for typemin(Int) (since the abs function wraps around), even though they return a floating-point result (see #29685) that could represent the correct answer.
Our L1 and Linf norms give a negative result for
typemin(Int)
(since theabs
function wraps around), even though they return a floating-point result (see #29685) that could represent the correct answer.Suggested solution: convert to
float
before computingabs
in these functions.The
hypot
function has a similar problem.cc @andreasnoack
The text was updated successfully, but these errors were encountered: