MCPcopy Create free account
hub / github.com/JeanLucPons/VanitySearch / log1

Function log1

Vanity.cpp:606–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

604}
605
606double log1(double x) {
607 // Use taylor series to approximate log(1-x)
608 return -x - (x*x)/2.0 - (x*x*x)/3.0 - (x*x*x*x)/4.0;
609}
610
611string VanitySearch::GetExpectedTime(double keyRate,double keyCount) {
612

Callers 1

GetExpectedTimeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected