Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18023

basic type "long double" no longer supported in Qt-creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.4.0-beta1
    • Qt Creator 4.2.1
    • Debugger
    • 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)

      Attachments

        Activity

          People

            hjk hjk
            toolinfo stephane petithomme
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: