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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • Qt Creator 4.4.0-beta1
    • Qt Creator 4.2.1
    • Debugger
    • None

      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)

        For Gerrit Dashboard: QTCREATORBUG-18023
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes