22 return Lower + 0.5 * (Upper - Lower) * (std::sin(
Value) + 1.);
31 long double piby2 = 2. * std::atan(1.);
32 long double distnn = 8. * std::sqrt(prec.
Eps2());
33 long double vlimhi = piby2 - distnn;
34 long double vlimlo = -piby2 + distnn;
36 long double yy = 2. * (
Value - Lower) / (Upper - Lower) - 1.;
37 long double yy2 = yy * yy;
38 if (yy2 > (1. - prec.
Eps2())) {
56 return 0.5 * ((Upper - Lower) * std::cos(
Value));
Sets the relative floating point (double) arithmetic precision.
double Eps2() const
eps2 returns 2*sqrt(eps)
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.