C++ main module for stochmagnet Package  1.0
Macros | Variables
constants.h File Reference
#include "types.h"
Include dependency graph for constants.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define null   nullptr
 
#define NULL_INDEX   std::numeric_limits<tIndex>::max()
 

Variables

template<typename T >
constexpr T EPSILON =std::numeric_limits<T>::epsilon()
 
constexpr tReal R_EPSILON =EPSILON<tReal>
 
constexpr tDouble D_EPSILON =EPSILON<tDouble>
 
constexpr tFloat F_EPSILON =EPSILON<tFloat>
 
constexpr tLDouble LD_EPSILON =EPSILON<tLDouble>
 
template<typename T >
constexpr T PI =(T) 3.141592653589793238462643383795
 
constexpr tReal R_PI =PI<tReal>
 
constexpr tFloat F_PI =PI<tFloat>
 
constexpr tDouble D_PI =PI<tDouble>
 
constexpr tLDouble LD_PI =PI<tLDouble>
 

Macro Definition Documentation

◆ null

#define null   nullptr

◆ NULL_INDEX

#define NULL_INDEX   std::numeric_limits<tIndex>::max()

Variable Documentation

◆ D_EPSILON

constexpr tDouble D_EPSILON =EPSILON<tDouble>
constexpr

◆ D_PI

constexpr tDouble D_PI =PI<tDouble>
constexpr

◆ EPSILON

template<typename T >
constexpr T EPSILON =std::numeric_limits<T>::epsilon()
constexpr

◆ F_EPSILON

constexpr tFloat F_EPSILON =EPSILON<tFloat>
constexpr

◆ F_PI

constexpr tFloat F_PI =PI<tFloat>
constexpr

◆ LD_EPSILON

constexpr tLDouble LD_EPSILON =EPSILON<tLDouble>
constexpr

◆ LD_PI

constexpr tLDouble LD_PI =PI<tLDouble>
constexpr

◆ PI

template<typename T >
constexpr T PI =(T) 3.141592653589793238462643383795
constexpr

◆ R_EPSILON

constexpr tReal R_EPSILON =EPSILON<tReal>
constexpr

◆ R_PI

constexpr tReal R_PI =PI<tReal>
constexpr