)]}'
{
  "commit": "5faeb43a5cf2d4acf83c664051f8945296ea5bd2",
  "tree": "5573bc08ff3ebbb337ac509df384b05955d3832d",
  "parents": [
    "bd06672d1a4239b8753b8bee5b45dcbaafb3f2b3"
  ],
  "author": {
    "name": "Juho Kahala",
    "email": "57393910+quaternic@users.noreply.github.com",
    "time": "Wed Dec 17 07:56:27 2025 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Wed Dec 17 05:56:27 2025 +0000"
  },
  "message": "remove uses of Ord::clamp in scalbn (#1047)\n\nAvoid using `Ord::clamp` in the `f16`-specific part of the generic\n`scalbn`.\n\nIt turned out to be redundant anyway, as both callsites follow a pattern\nlike\n```\nif n \u003c negative_val {\n    let foo \u003d (n + positive_val).clamp(negative_val, positive_val);\n}\n```\nand `n \u003c negative_val \u003c 0` implies `n + positive_val \u003c positive_val`.\n\nFixes: rust-lang/compiler-builtins#1046",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6dd9b1a9b84a4456b49f20574c10a99e815beaa4",
      "old_mode": 33188,
      "old_path": "library/compiler-builtins/libm/src/math/generic/scalbn.rs",
      "new_id": "68de41757913ac8efb91a25c328008b01d6431ba",
      "new_mode": 33188,
      "new_path": "library/compiler-builtins/libm/src/math/generic/scalbn.rs"
    }
  ]
}
