Namespaces
Variants
Views
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)