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

          diego dupin Diego Dupin created issue -
          diego dupin Diego Dupin made changes -
          Field Original Value New Value
          issue.field.resolutiondate 2020-07-23 10:21:16.0 2020-07-23 10:21:16.426
          diego dupin Diego Dupin made changes -
          Component/s other [ 14408 ]
          Fix Version/s 2.4.2 [ 24702 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Closed [ 6 ]
          diego dupin Diego Dupin made changes -
          Description When parsing double of float value, driver might truncate value:

          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
          When parsing double/float/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
          diego dupin Diego Dupin made changes -
          Description When parsing double/float/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
          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
          diego dupin Diego Dupin made changes -
          Summary Float parsing wrong truncation number parsing wrong truncation
          diego dupin Diego Dupin made changes -
          Summary number parsing wrong truncation number parsing loss of Precision
          diego dupin Diego Dupin made changes -
          Summary number parsing loss of Precision Number parsing loss of Precision
          diego dupin Diego Dupin made changes -
          Summary Number parsing loss of Precision Number parsing loss of precision
          diego dupin Diego Dupin made changes -
          Priority Major [ 3 ] Critical [ 2 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 111625 ] MariaDB v4 [ 135298 ]

          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.