Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 4.2.1
-
None
Description
C++ type "long double" no longer supported in the new python frame work.
the main issue in the support is that Python does not have support for unpacking long double in struct package.
However, the following package does provide it:
import numpy
numpy.frombuffer(file.read(16), dtype=numpy.float128)
and might be used to provide the support.
(from: http://stackoverflow.com/questions/28775979/python-read-16-bytes-long-double-from-binary-file)