MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / _ilog

Function _ilog

Lib/decimal.py:5546–5592  ·  view source on GitHub ↗

Integer approximation to M*log(x/M), with absolute error boundable in terms only of x/M. Given positive integers x and M, return an integer approximation to M * log(x/M). For L = 8 and 0.1 <= x/M <= 10 the difference between the approximation and the exact result is at most 22. Fo

(x, M, L = 8)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

_dlog10Function · 0.85
_dlogFunction · 0.85
getdigitsMethod · 0.85

Calls 4

_div_nearestFunction · 0.85
_sqrt_nearestFunction · 0.85
_rshift_nearestFunction · 0.85
strFunction · 0.85

Tested by

no test coverage detected