)]}'
{
  "commit": "90fb0e60dd9178dbca2e42c682c483cdb7ea9f2d",
  "tree": "09e750ded7fb3b34a0b146ef96a03a9495a9c37f",
  "parents": [
    "50ab46c790a3408c441ba4c2faa9555cacc20028"
  ],
  "author": {
    "name": "Gerrit Renker",
    "email": "gerrit@erg.abdn.ac.uk",
    "time": "Sun Dec 03 14:52:01 2006 -0200"
  },
  "committer": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@mandriva.com",
    "time": "Sun Dec 03 14:52:01 2006 -0200"
  },
  "message": "[DCCP] tfrc: Fix small error in reverse lookup of p for given f(p)\n\nThis fixes the following small error in tfrc_calc_x_reverse_lookup.\n\n 1) The table is generated by the following equations:\n\tlookup[index][0] \u003d g((index+1) * 1000000/TFRC_CALC_X_ARRSIZE);\n\tlookup[index][1] \u003d g((index+1) * TFRC_CALC_X_SPLIT/TFRC_CALC_X_ARRSIZE);\n    where g(q) is 1E6 * f(q/1E6)\n\n 2) The reverse lookup assigns an entry in lookup[index][small]\n\n 3) This index needs to match the above, i.e.\n    * if small\u003d0 then\n\n      \t\tp  \u003d (index + 1) * 1000000/TFRC_CALC_X_ARRSIZE\n\n    * if small\u003d1 then\n\n\t\tp \u003d (index+1) * TFRC_CALC_X_SPLIT/TFRC_CALC_X_ARRSIZE\n\nThese are exactly the changes that the patch makes; previously the code did\nnot conform to the way the lookup table was generated (this difference resulted\nin a mean error of about 1.12%).\n\nSigned-off-by: Gerrit Renker \u003cgerrit@erg.abdn.ac.uk\u003e\nAcked-by: Ian McDonald \u003cian.mcdonald@jandi.co.nz\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@mandriva.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "57665e9793081d421f79300e41d8944dbca27339",
      "old_mode": 33188,
      "old_path": "net/dccp/ccids/lib/tfrc_equation.c",
      "new_id": "78bdf348916211748fcb764f37989d0782b20fd1",
      "new_mode": 33188,
      "new_path": "net/dccp/ccids/lib/tfrc_equation.c"
    }
  ]
}
