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

Function _dexp

Lib/decimal.py:5746–5780  ·  view source on GitHub ↗

Compute an approximation to exp(c*10**e), with p decimal places of precision. Returns integers d, f such that: 10**(p-1) <= d <= 10**p, and (d-1)*10**f < exp(c*10**e) < (d+1)*10**f In other words, d*10**f is an approximation to exp(c*10**e) with p digits of precision,

(c, e, p)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

expMethod · 0.85
_dpowerFunction · 0.85

Calls 4

strFunction · 0.85
divmodFunction · 0.85
_div_nearestFunction · 0.85
_iexpFunction · 0.85

Tested by

no test coverage detected