Uploaded image for project: 'MariaDB Connector/node.js'
  1. MariaDB Connector/node.js
  2. CONJS-142

Number parsing loss of precision

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • None
    • 2.4.2
    • other
    • None

    Description

      When parsing double/decimal value, driver might truncate result:

      the readFloatLengthCoded and readDecimalLengthEncoded functions will have some problem when integer or fractional part is > than 9007199254740991 due to int limitation (ieee-754).

      example -0.9999237060546875 will return -0.9999237060546876

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.