+9
−6
Loading
For SWGL on ARM, we implement sqrt(N) as N * inversesqrt(N). This means we don't properly handle zero unless we explicitly check for it. Otherwise, a NaN ends up getting produced erroneously. Differential Revision: https://phabricator.services.mozilla.com/D161107