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

Function _iexp

Lib/decimal.py:5709–5744  ·  view source on GitHub ↗

Given integers x and M, M > 0, such that x/M is small in absolute value, compute an integer approximation to M*exp(x/M). For 0 <= x/M <= 2.4, the absolute error in the result is bounded by 60 (and is usually much smaller).

(x, M, L=8)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_dexpFunction · 0.85

Calls 3

_nbitsFunction · 0.85
strFunction · 0.85
_div_nearestFunction · 0.85

Tested by

no test coverage detected