circuitpython/tests/extmod/uctypes_sizeof_float.py

9 lines
176 B
Python
Raw Normal View History

try:
import uctypes
except ImportError:
print("SKIP")
raise SystemExit
2021-03-15 09:57:36 -04:00
print(uctypes.sizeof({"f": uctypes.FLOAT32}))
print(uctypes.sizeof({"f": uctypes.FLOAT64}))