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 --- .../doc/html/math_toolkit/powers/sqrt1pm1.html | 165 --------------------- 1 file changed, 165 deletions(-) delete mode 100644 boost/libs/math/doc/html/math_toolkit/powers/sqrt1pm1.html (limited to 'boost/libs/math/doc/html/math_toolkit/powers/sqrt1pm1.html') diff --git a/boost/libs/math/doc/html/math_toolkit/powers/sqrt1pm1.html b/boost/libs/math/doc/html/math_toolkit/powers/sqrt1pm1.html deleted file mode 100644 index 09e3a6b2..00000000 --- a/boost/libs/math/doc/html/math_toolkit/powers/sqrt1pm1.html +++ /dev/null @@ -1,165 +0,0 @@ - - - -sqrt1pm1 - - - - - - - - - - - - - - - -
Boost C++ LibrariesHomeLibrariesPeopleFAQMore
-
-
-PrevUpHomeNext -
-
- -
#include <boost/math/special_functions/sqrt1pm1.hpp>
-
-
namespace boost{ namespace math{
-
-template <class T>
-calculated-result-type sqrt1pm1(T x);
-
-template <class T, class Policy>
-calculated-result-type sqrt1pm1(T x, const Policy&);
-
-}} // namespaces
-
-

- Returns sqrt(1+x) - 1. -

-

- The return type of this function is computed using the result - type calculation rules: the return is double - when x is an integer type and T otherwise. -

-

- 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. -

-

- This function is useful when you need the difference between sqrt(x) and - 1, when x is itself close to 1. -

-

- Implemented in terms of log1p - and expm1. -

-

- The following graph illustrates the behaviour of sqrt1pm1: -

-

- -

-
- - Accuracy -
-

- For built in floating-point types sqrt1pm1 - should have approximately 3 epsilon accuracy. -

-
-

Table 6.81. Error rates for sqrt1pm1

-
------- - - - - - - - - - - - - - - -
- -

- Microsoft Visual C++ version 12.0
Win32
double -

-
-

- GNU C++ version 5.1.0
linux
double -

-
-

- GNU C++ version 5.1.0
linux
long double -

-
-

- Sun compiler version 0x5130
Sun Solaris
long double -

-
-

- sqrt1pm1 -

-
-

- Max = 1.36ε (Mean = 0.44ε) -

-
-

- Max = 1.3ε (Mean = 0.404ε) -

-
-

- Max = 1.33ε (Mean = 0.409ε) -

-
-

- Max = 1.54ε (Mean = 0.568ε) -

-
-
-
- - Testing -
-

- A selection of random high precision test values calculated using NTL::RR - at 1000-bit precision. -

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