abstract-math 0.0.0.15__tar.gz → 0.0.0.16__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of abstract-math might be problematic. Click here for more details.
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/PKG-INFO +1 -1
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/setup.py +1 -1
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/src/abstract_math/safe_math.py +2 -2
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/src/abstract_math.egg-info/PKG-INFO +1 -1
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/README.md +0 -0
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/pyproject.toml +0 -0
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/setup.cfg +0 -0
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/src/abstract_math/__init__.py +0 -0
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/src/abstract_math/derive_tokens.py +0 -0
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/src/abstract_math.egg-info/SOURCES.txt +0 -0
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/src/abstract_math.egg-info/dependency_links.txt +0 -0
- {abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/src/abstract_math.egg-info/top_level.txt +0 -0
|
@@ -77,13 +77,13 @@ def exp_it(base, *factors):
|
|
|
77
77
|
exponent = reduce(operator.mul, f, 1.0)
|
|
78
78
|
return float(b) ** exponent
|
|
79
79
|
|
|
80
|
-
def exponential(value, *
|
|
80
|
+
def exponential(value, *exp):
|
|
81
81
|
"""
|
|
82
82
|
Multiply `value` by 10 to the power of (product of exp_factors).
|
|
83
83
|
e.g. exponential(5, 2, 3) → 5 * (10**(2*3)) == 5 * 1_000_000
|
|
84
84
|
If you give no exp_factors, it just returns value.
|
|
85
85
|
"""
|
|
86
|
-
power = exp_it(10, *
|
|
86
|
+
power = exp_it(10, *exp) or 1.0
|
|
87
87
|
return multiply_it(value, power)
|
|
88
88
|
|
|
89
89
|
def get_proper_args(strings,*args,**kwargs):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abstract_math-0.0.0.15 → abstract_math-0.0.0.16}/src/abstract_math.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|