)]}'
{
  "commit": "1aeeed9596d61ba28289911d1cf3f6433a35ef34",
  "tree": "c6007b9477527d92d69dd50e6fa14d69c90b4658",
  "parents": [
    "f5ad5c1a3f33358cd8cb05f60e80fb076365d749"
  ],
  "author": {
    "name": "Alan Screen",
    "email": "awscreen@chromium.org",
    "time": "Fri Sep 13 18:07:12 2019 +0000"
  },
  "committer": {
    "name": "Chromium commit bot",
    "email": "commit-bot@chromium.org",
    "time": "Fri Sep 13 18:07:12 2019 +0000"
  },
  "message": "[FXCRT] Add double rounding support\n\nDouble precision rounding support is useful for improved accuracy by\nthe automatic conversion of decimal text entry (e.g., currency).\n\nin crbug.com/611744 the Javascript parsing code converts a string from a\ntextbox into a single precision float.  That has enough floating point\nerror that input like \"407.96\" gets changed into \"407.959991\".\n\nAs noted in https://crbug.com/611744#c3, there is no code to dictate\nforwarding, so any floating point error will show up.\n\nAlmost all the math in the Javascript code uses double except for that\none initial parse, which is float.  Once this CL is in then it will\nfacilitate using double for that too, and then \"407.96\" will still show\nup as \"407.96\".\n\nThere are of course other input cases where numerical inaccuracies could\nstill arise, but at least with this it will ensure that Pdfium will behave\nlike other readers.\n\nBug: chromium:611744\nChange-Id: Ie0fc97d4009c1c70a1ae170d8182cc6c84e7901a\nReviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/60570\nCommit-Queue: Lei Zhang \u003cthestig@chromium.org\u003e\nReviewed-by: Lei Zhang \u003cthestig@chromium.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5f162bdffac75d4c9632295b1d69144918ee63b8",
      "old_mode": 33188,
      "old_path": "core/fxcrt/fx_system.cpp",
      "new_id": "0eb5b0062db8ed262f5846ccaff8b4f0b368f244",
      "new_mode": 33188,
      "new_path": "core/fxcrt/fx_system.cpp"
    },
    {
      "type": "modify",
      "old_id": "e6eace6f625449f544abc513a230c202213525cc",
      "old_mode": 33188,
      "old_path": "core/fxcrt/fx_system.h",
      "new_id": "9963b90cbab88e257e8e68ecfd5e767569298dd3",
      "new_mode": 33188,
      "new_path": "core/fxcrt/fx_system.h"
    },
    {
      "type": "modify",
      "old_id": "fd2f96e5e671a9443528cbba0b6f897cae2c073f",
      "old_mode": 33188,
      "old_path": "core/fxcrt/fx_system_unittest.cpp",
      "new_id": "bc5dbbacdf68e607b5afa2a63ff0100aa22390be",
      "new_mode": 33188,
      "new_path": "core/fxcrt/fx_system_unittest.cpp"
    }
  ]
}
