35 extern const double e;
36 extern const double pi;
51 if ( std::abs(x) > std::log(2.0) )
52 return std::exp(x) - 1;
59 while ( std::abs(term) >
60 std::abs(sum) * std::numeric_limits<double>::epsilon() )
long ld_round(double)
Round to nearest int, rounding midpoints upwards.
Definition: numerics.cpp:83
double expm1(double x)
Supply expm1() function independent of system.
Definition: numerics.h:42
const double pi
Definition: numerics.cpp:63
double dround(double)
Round to nearest int, rounding midpoints upwards.
Definition: numerics.cpp:88
const Name x("x")
current scaling factor of the synaptic weight [0...1] (Tsodyks2_connection)
Definition: nest_names.h:356
const Name n("n")
Number of synaptic release sites (int >=0) (Tsodyks2_connection)
Definition: nest_names.h:202
double dtruncate(double)
Return integer part of argument.
Definition: numerics.cpp:93
const double e
Definition: numerics.cpp:62