)]}'
{
  "commit": "e03b4293e8f6d6033a60c29c17cf7f45ed4997fc",
  "tree": "652ac4d6a38693c4f1c27191bb5b66e4443f0ee8",
  "parents": [
    "33a15a2ae3e7c260236a45f677ea679e7bd0ad22"
  ],
  "author": {
    "name": "Laramie Leavitt",
    "email": "lar@google.com",
    "time": "Sun Nov 15 22:55:16 2026 -0800"
  },
  "committer": {
    "name": "Copybara-Service",
    "email": "copybara-worker@google.com",
    "time": "Wed Nov 25 12:31:04 2026 -0800"
  },
  "message": "Fix integer-range bugs in absl::log_uniform_int_distribution.\n\nPreviously, floating-point `log`/`pow` bucket math and signed `result_type`\ncasts caused misbehavior on large or signed ranges:\n* For `base \u003e 2`, `double` rounding could drop exact-power endpoints (e.g.\n  `10^15` in base 10), create spurious singleton top buckets (e.g. `5^26 - 1`\n  in base 5), or trigger `[conv.fpint]` float-to-int overflow UB at\n  `UINT64_MAX`.\n* Casting unsigned bucket offsets `[lo, hi]` to signed `result_type` before\n  sampling inverted `lo \u003e hi` whenever `min \u003c 0` and `max - min \u003e INT_MAX`.\n\nOutput sequences change for affected `base \u003e 2` and wide signed ranges;\n`absl::log_uniform_int_distribution` does not guarantee cross-release\nstability.\n\nPiperOrigin-RevId: 1022527247\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "162e3281bcdd57e9c4c6e113845b489ac06bb199",
      "old_mode": 33188,
      "old_path": "absl/random/BUILD.bazel",
      "new_id": "e709215216a63343bca0d61a4dc2fcc728b2310b",
      "new_mode": 33188,
      "new_path": "absl/random/BUILD.bazel"
    },
    {
      "type": "modify",
      "old_id": "cef4ab511d1680c7e40af5e1a2c5347005161f69",
      "old_mode": 33188,
      "old_path": "absl/random/CMakeLists.txt",
      "new_id": "578883b68d37f34f5f18ac0f76e5805568ec76ae",
      "new_mode": 33188,
      "new_path": "absl/random/CMakeLists.txt"
    },
    {
      "type": "modify",
      "old_id": "8bcb60ef45b2737d649e6810ab8207dfcd08af19",
      "old_mode": 33188,
      "old_path": "absl/random/log_uniform_int_distribution.h",
      "new_id": "67d4257553a7d2110ddf905746475672608a29f8",
      "new_mode": 33188,
      "new_path": "absl/random/log_uniform_int_distribution.h"
    },
    {
      "type": "modify",
      "old_id": "403aaeac1562256e8019afdcfdeb54d8085bd8a8",
      "old_mode": 33188,
      "old_path": "absl/random/log_uniform_int_distribution_test.cc",
      "new_id": "992f842f82af28ac59f86e7d00f7061303572097",
      "new_mode": 33188,
      "new_path": "absl/random/log_uniform_int_distribution_test.cc"
    }
  ]
}
