)]}'
{
  "commit": "0b2e7d1c71f826336b8ae04c717e6dc5ddb16f88",
  "tree": "fd265890b8e8dde068ac184789539270248787bd",
  "parents": [
    "5332c68297a68fafd596277d7686f91009ebf1cb"
  ],
  "author": {
    "name": "itsrayeedscodespace",
    "email": "rayeedzaman@gmail.com",
    "time": "Mon Nov 16 02:15:12 2026 -0500"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Mon Nov 16 08:15:12 2026 +0100"
  },
  "message": "[Runtime] Fix subnormal rounding and FP4/FP6 saturation (#25249)\n\nPartially addresses #25111.\n\nThe runtime conversion helpers return zero for some f32 values just\nabove half the smallest subnormal, and for FP4/FP6 values whose rounding\ncarries past the largest exponent.\n\nAllow the implied f32 significand bit in the subnormal rounding shift\nand route rounded overflow through the existing infinity/saturation\nhandler. Tests cover both signs, neighboring f32 values around the\nboundaries, and unsigned-zero formats.\n\nThe E8M0 rounding change mention in the issue is deferred. This PR takes\nno position on the disputed E8M0 midpoint rule and will not close the\nbroader issue.\n\nFresh validation of `f39e31941` on macOS arm64 / Apple Clang 21:\n- All 41 math tests pass in the normal C++17 build.\n- All 29 float-conversion tests pass with AddressSanitizer and\nUndefinedBehaviorSanitizer and `-fno-sanitize-recover\u003dall`.\n- The same narrowed conversion tests against the original base header\nproduce 11 failing tests and 18 passing tests, confirming coverage of\nthe retained fixes.\n- The complete strict-sanitizer run stops in the unrelated\n`BitwiseScansTest.CLZ64` test because it calls `__builtin_clz(0)`. The\nexact same report reproduces with the original base header; a clean\nfull-suite sanitizer result is not claimed.\n- clang-format --dry-run --Werror and git diff --check pass.\n\nTests were compiled directly from the complete math_test.cc.\n\nAssisted-by: Codex\n\n---------\n\nSigned-off-by: Rayeed Zaman \u003crayeedzaman@gmail.com\u003e",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7afffedd0d28b8698de41ae246e8289418358e4f",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/math.h",
      "new_id": "600eadda258903886e8fa03de23cdd9abfc00397",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/math.h"
    },
    {
      "type": "modify",
      "old_id": "34118dd27e6a38275c1ad92f43da579fdcb44c15",
      "old_mode": 33188,
      "old_path": "runtime/src/iree/base/internal/math_test.cc",
      "new_id": "33c30bfd93d6ffcfd57ad6fa55921c9981cf517f",
      "new_mode": 33188,
      "new_path": "runtime/src/iree/base/internal/math_test.cc"
    }
  ]
}
