diff --git a/.gitignore b/.gitignore index b6e4761..e72a38f 100644 --- a/.gitignore +++ b/.gitignore @@ -127,3 +127,5 @@ dmypy.json # Pyre type checker .pyre/ + +.vscode/ diff --git a/python-ffi/Test/QuickCheck/Gen.py b/python-ffi/Test/QuickCheck/Gen.py new file mode 100644 index 0000000..6f53336 --- /dev/null +++ b/python-ffi/Test/QuickCheck/Gen.py @@ -0,0 +1,4 @@ +import struct + +def float32ToInt32(n): + return struct.unpack("i", struct.pack("f", n))