php-svg icon indicating copy to clipboard operation
php-svg copied to clipboard

Use hypot() everywhere

Open meyfa opened this issue 3 years ago • 0 comments

Currently the hypothenuse is often computed by hand via sqrt(a*a + b*b). This can be simplified to hypot(a, b).

meyfa avatar Feb 20 '22 17:02 meyfa