20 return lower + 0.5*(upper - lower)*(std::sin(
value) + 1.);
26 double piby2 = 2.*std::atan(1.);
27 static const double eps = std::numeric_limits<double>::epsilon();
28 double distnn = 8.*std::sqrt(eps);
29 double vlimhi = piby2 - distnn;
30 double vlimlo = -piby2 + distnn;
32 double yy = 2.*(
value - lower)/(upper - lower) - 1.;
34 if(yy2 > (1. - 8 * eps) ) {
52 return 0.5*((upper - lower)*std::cos(
value));
61 double val = lower - 1. + std::sqrt(
value*
value + 1.);
68 double yy =
value - lower + 1.;
73 return std::sqrt( yy2 -1);
87 double val = upper + 1. - std::sqrt(
value*
value + 1.);
94 double yy = upper -
value + 1.;
95 double arg = yy*yy - 1;
96 return ( arg < 0 ) ? 0 : std::sqrt(arg);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Namespace for new Math classes and functions.
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.