Namespaces
Variants
Actions

Talk:cpp/numeric/math/hypot

From cppreference.com

Is this function defined for negative x and/or y? If yes, then the note about "... u is std::max(x,y) ..." is probably wrong (should be instead std::max(std::abs(x), std::abs(y)) and similar for v).

You're right. Actually, it's more complex than that, I'll probably just post links to implementations for the curious. --Cubbi 18:47, 5 March 2013 (PST)

I used MathJax's scriptsize keyword to reduce formula size. Is there a way to make it global to avoid writing \scriptsize{} all the time? I found some info here -- Valiko (talk) 05:01, 25 December 2019 (PST)

But on std::cbrt page scriptsize is too small IMHO, so it was bad idea about global setting. -- Valiko (talk) 07:26, 25 December 2019 (PST)