1
////////////////////////////////////////////////////////////////////////////////
2
/*! @file General.cpp General definitions.
3
- Part of RANet - Research Assistant Net Library (based on ANSI C++).
4
- Copyright(C) 1994-2011, Viktor E. Bursian, St.Petersburg, Russia.
5
Viktor.Bursian@mail.ioffe.ru
6
*///////////////////////////////////////////////////////////////////////////////
9
//------------------------------------------------------------------------------
11
const real real_inf = std::numeric_limits<real>::infinity();
12
const real real_nan = std::numeric_limits<real>::quiet_NaN();
13
real const ln10 = log(real(10.0));
15
//! @todo{PhysValues} optimize
18
return power10(real(P));
21
//! @todo{PhysValues} optimize
22
real power10 (integer P)
24
return power10(real(P));
27
//------------------------------------------------------------------------------