steph1111 / PRECISE

Precision Rules Enforced Calculations In Scientific Environments
Other
0 stars 0 forks source link

sig_float: Implicate a sig_float raised to a numeric power with ** operator #36

Closed steph1111 closed 1 year ago

steph1111 commented 1 year ago
v = sig_float("7.30", {"m":1, "s":-1})
print(v ** 2)
# Results in sig_float("53.3", {"m":2, "s":-2})