)]}'
{
  "commit": "f5ca205f8749c87b6eb48edd41cac69b0ff46ead",
  "tree": "67122541e6a982497698c20cef8ef08df097e1d7",
  "parents": [
    "50d27e1be2ad943f0cf539aead30832323d66eaa",
    "3c55beb710291da49287bcdf49f0bffd06f2b2b1"
  ],
  "author": {
    "name": "Jonathan Brouwer",
    "email": "jonathantbrouwer@gmail.com",
    "time": "Sat Aug 22 10:48:35 2026 +0200"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Sat Aug 22 10:48:35 2026 +0200"
  },
  "message": "Rollup merge of #159954 - valentynkit:float-conversions, r\u003dJohnTitor\n\ncore: implement float conversion methods\n\nImplements the accepted ACP rust-lang/libs-team#810, adding float conversion methods on `f16`, `f32`, `f64`, and `f128`:\n\n- `cast` converts to the target float type (`self as Flt`, IEEE rounding).\n- `to_int_saturating` converts to an integer with `as` semantics: saturating, and `NaN` to 0.\n- `to_int_checked` truncates toward zero and returns `None` on `NaN`, infinity, or out of range.\n- `to_int_strict` is `to_int_checked().unwrap()`.\n\nPer the libs-api meetings on the ACP, `to_float` is named `cast` and `to_int_saturating` maps `NaN` to 0 rather than panicking (which the team noted makes rust-lang/libs-team#831 redundant).\n\nThe integer-to-float `cast` from the ACP is left out: it shares the `cast` method name on integer types with the integer-to-integer `cast` in rust-lang/libs-team#811 (being unified with the other integer cast methods in rust-lang/libs-team#833), so it needs a decision on how those fit together. Happy to follow up once that settles.\n\nTracking issue: rust-lang/rust#159913\n\nr? libs\n",
  "tree_diff": []
}
