Geant4
10.03.p03
|
#include <limits>
#include <climits>
Go to the source code of this file.
Macros | |
#define | HIGH_PRECISION 1 |
#define | DBL_MIN std::numeric_limits<double>::min() |
#define | DBL_DIG std::numeric_limits<double>::digits10 |
#define | DBL_MAX std::numeric_limits<double>::max() |
#define | DBL_EPSILON std::numeric_limits<double>::epsilon() |
#define | FLT_MIN std::numeric_limits<float>::min() |
#define | FLT_DIG std::numeric_limits<float>::digits10 |
#define | FLT_MAX std::numeric_limits<float>::max() |
#define | FLT_EPSILON std::numeric_limits<float>::epsilon() |
#define | MAXFLOAT std::numeric_limits<float>::max() |
#define | INT_MAX std::numeric_limits<int>::max() |
#define | INT_MIN std::numeric_limits<int>::min() |
#define | G4_SQR_DEFINED |
Typedefs | |
typedef double | Float |
Functions | |
template<class T > | |
void | G4SwapPtr (T *&a, T *&b) |
template<class T > | |
void | G4SwapObj (T *a, T *b) |
template<class T > | |
T | sqr (const T &x) |
int | G4lrint (double ad) |
int | G4lint (double ad) |
int | G4rint (double ad) |
#define DBL_DIG std::numeric_limits<double>::digits10 |
Definition at line 79 of file templates.hh.
#define DBL_EPSILON std::numeric_limits<double>::epsilon() |
Definition at line 87 of file templates.hh.
#define DBL_MAX std::numeric_limits<double>::max() |
Definition at line 83 of file templates.hh.
#define DBL_MIN std::numeric_limits<double>::min() |
Definition at line 75 of file templates.hh.
#define FLT_DIG std::numeric_limits<float>::digits10 |
Definition at line 95 of file templates.hh.
#define FLT_EPSILON std::numeric_limits<float>::epsilon() |
Definition at line 103 of file templates.hh.
#define FLT_MAX std::numeric_limits<float>::max() |
Definition at line 99 of file templates.hh.
#define FLT_MIN std::numeric_limits<float>::min() |
Definition at line 91 of file templates.hh.
#define G4_SQR_DEFINED |
Definition at line 139 of file templates.hh.
#define HIGH_PRECISION 1 |
Definition at line 62 of file templates.hh.
#define INT_MAX std::numeric_limits<int>::max() |
Definition at line 111 of file templates.hh.
#define INT_MIN std::numeric_limits<int>::min() |
Definition at line 115 of file templates.hh.
#define MAXFLOAT std::numeric_limits<float>::max() |
Definition at line 107 of file templates.hh.
typedef double Float |
Definition at line 66 of file templates.hh.
|
inline |
Definition at line 168 of file templates.hh.
|
inline |
Definition at line 163 of file templates.hh.
|
inline |
Definition at line 173 of file templates.hh.
|
inline |
|
inline |
Definition at line 121 of file templates.hh.
|
inline |
Definition at line 145 of file templates.hh.