This website works better with JavaScript
Home
Explore
Help
Register
Sign In
gogadmin
/
Arduino
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
3e5a6ea51e
Branches
Tags
master
Arduino
/
esp8266
/
micropython
/
tests
/
float
/
int_power.py
int_power.py
94 B
History
Raw
1
2
3
4
5
6
7
8
# negative power should produce float
x = 2
print(x ** -2)
x = 3
x **= -2
print('%.5f' % x)