This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5c7e93ec48
micropython
/
tests
/
float
/
int_power.py
9 lines
92 B
Python
Raw
Blame
History
# negative power should produce float
x
=
2
print
(
x
*
*
-
2
)
x
=
3
x
*
*
=
-
2
print
(
"
%.5f
"
%
x
)
Reference in New Issue
View Git Blame
Copy Permalink