Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-98725

Wrong QString::toLongLong conversion

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • 5.15.2
    • None
    • Linux/X11

    Description

      QString( "9189304972279762602" ).toLongLong( &ok ) returns 1836535466 and sets ok to true.

      Instead std::stoll( value.toStdString() ) returns the expected result.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thiago Thiago Macieira
            elpaso Alessandro Pasotti
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes