mirror of
https://github.com/micropython/micropython.git
synced 2025-09-07 02:10:52 +02:00
Used gcov to find some parts of vm.c, runtime.c, obj.c that were not covered by any tests. Still need to use gcov more thoroughly.
9 lines
85 B
Python
9 lines
85 B
Python
# negative power should produce float
|
|
|
|
x = 2
|
|
print(x ** -2)
|
|
|
|
x = 3
|
|
x **= -2
|
|
print(x)
|