From 32a41b1abe1a4aab0892c9c2051be6ba5b379f1e Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 11 May 2020 22:17:58 +0200 Subject: New upstream version 2.2.0~rc1+repack --- .../math/doc/html/math_toolkit/powers/hypot.html | 91 ---------------------- 1 file changed, 91 deletions(-) delete mode 100644 boost/libs/math/doc/html/math_toolkit/powers/hypot.html (limited to 'boost/libs/math/doc/html/math_toolkit/powers/hypot.html') diff --git a/boost/libs/math/doc/html/math_toolkit/powers/hypot.html b/boost/libs/math/doc/html/math_toolkit/powers/hypot.html deleted file mode 100644 index 171f221b..00000000 --- a/boost/libs/math/doc/html/math_toolkit/powers/hypot.html +++ /dev/null @@ -1,91 +0,0 @@ - - - -hypot - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
-

-hypot -

-
template <class T1, class T2>
-calculated-result-type hypot(T1 x, T2 y);
-
-template <class T1, class T2, class Policy>
-calculated-result-type hypot(T1 x, T2 y, const Policy&);
-
-

- Effects: computes -in such a way - as to avoid undue underflow and overflow. -

-

- The return type of this function is computed using the result - type calculation rules when T1 and T2 are of different - types. -

-

- The final Policy argument is optional and can - be used to control the behaviour of the function: how it handles errors, - what level of precision to use etc. Refer to the policy - documentation for more details. -

-

- When calculating it's quite easy for the intermediate terms to - either overflow or underflow, even though the result is in fact perfectly - representable. -

-
- - Implementation -
-

- The function is even and symmetric in x and y, so first take assume x,y - > 0 and x > y (we can permute the arguments - if this is not the case). -

-

- Then if x * ε   >= y we can simply return x. -

-

- Otherwise the result is given by: -

-

- -

-
- - - -
-
-
-PrevUpHomeNext -
- - -- cgit v1.2.3