circuitpython/tests/float/int_power.py
Scott Shawcroft b057fb8a4b
codeformat
2021-04-19 22:22:44 -07:00

9 lines
94 B
Python

# negative power should produce float
x = 2
print(x ** -2)
x = 3
x **= -2
print("%.5f" % x)