Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
JMath/JConstants.hh
Go to the documentation of this file.
1#ifndef __JMATH__JCONSTANTS__
2#define __JMATH__JCONSTANTS__
3
4#include <math.h>
5
6
7/**
8 * \file
9 * Mathematical constants.
10 * \author mdejong
11 */
12namespace JMATH {}
13namespace JPP { using namespace JMATH; }
14
15namespace JMATH {
16
17 /**
18 * Mathematical constants.
19 */
20 static const double PI = acos(-1.0); //!< pi
21 static const double EULER = 0.577215664901533; //!< Euler number
22
23 /**
24 * Computing quantities.
25 */
26 static const long long int KILOBYTE = 1024; //! Number of bytes in a kilo-byte
27 static const long long int MEGABYTE = KILOBYTE*KILOBYTE; //! Number of bytes in a mega-byte
28 static const long long int GIGABYTE = MEGABYTE*KILOBYTE; //! Number of bytes in a giga-byte
29}
30
31#endif
Auxiliary classes and methods for mathematical operations.
Definition JEigen3D.hh:88
static const long long int KILOBYTE
Computing quantities.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).