11 #define NEW_CONSTANT(NAME, VALUE) \
12 static int UNUSED physconst_##NAME = register_physconst(#NAME,VALUE)
24 #ifndef HAVE_CONSTEXPR
28 SPEEDLIGHT*sqrt(
pow3(FINE_STRUCTURE2)*
pow3(TE1RYD)/PI) ))
30 fprintf(stderr,
" PROBLEM - Failed consistency check for MILNE_CONSTANT\n");
34 sqrt(
pow3(HION_LTE_POP))))
36 fprintf(stderr,
" PROBLEM - Failed consistency check for SAHA\n");
static t_physconst & Inst()
bool fp_equal(sys_float x, sys_float y, int n=3)
static int register_physconst(const char *name, double value)
void prt_constants(FILE *io) const
int fprintf(const Output &stream, const char *format,...)
void add_constant(const string &s, double v)
void prt_phys_constants(FILE *io)