|
inlineconstexpr |
Defined in Header
Parameters
x
, ... args
: floating real values
Return value
\(\sqrt{\sum_1^n |x_i|^2}\) is returned. The result type is the common value type of the absolute values of the parameters.
The call pedantic(hypot)(x,args...)
computes the square root of the sum of the absolute squares of the parameters without undue overflow or underflow at intermediate stages of the computation and can be more accurate than the non-decorated call.
Morever it returns \(\infty\) as soon as one of its parameter is infinite, regardless of possible Nan
values.
Example