This website requires JavaScript.
Explore
Help
Sign In
TencentOS
/
TencentOS-tiny
mirror of
https://github.com/OpenAtomFoundation/TencentOS-tiny
Watch
0
Star
0
Fork
You've already forked TencentOS-tiny
3
Code
Issues
Projects
Releases
Wiki
Activity
0acaeade52
TencentOS-tiny
/
components
/
language
/
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