Skip to content

Commit

Permalink
hoUtils.h -> add high precision Constant definitions (M_PIl; M_GAMMAl…
Browse files Browse the repository at this point in the history
…; M_LN2l)
  • Loading branch information
AnjaSophie committed Apr 27, 2016
1 parent 5e6e4f6 commit 7f22f06
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/em/hoUtils.h
Expand Up @@ -7,10 +7,19 @@
using std::cout;
using std::endl;


#ifndef M_PIl
/** The constant Pi in high precision */
#define M_PIl 3.1415926535897932384626433832795029L
#endif
#ifndef M_GAMMAl
/** Euler's constant in high precision */
#define M_GAMMAl 0.5772156649015328606065120900824024L
#endif
#ifndef M_LN2l
/** the natural logarithm of 2 in high precision */
#define M_LN2l 0.6931471805599453094172321214581766L
#endif


double addLogspace( double x, double y );
Expand Down

0 comments on commit 7f22f06

Please sign in to comment.