MCPcopy Create free account
hub / github.com/BoevaLab/FREEC / log1p

Function log1p

src/myFunc.cpp:2636–2641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2634 return exp(x) - 1.0;
2635}
2636double log1p(double x) {
2637 if (fabs(x) < 1e-5)
2638 return (x-x*x/2+x*x*x/3);
2639 else
2640 return log(x+1);
2641}
2642#endif
2643
2644MateOrientation getMateOrientation(std::string const& matesOrientation)

Callers 2

binomialcdistributionFunction · 0.85
invbinomialdistributionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected