ryancbuckley edited PR #15199.
ryancbuckley edited PR #15199.
ryancbuckley edited PR #15199:
This PR:
- Fixes float-to-int128 conversion in the interpreter, so that values not representable in i128 are handled correctly.
- Makes some pedantic tweaks to the documentation on fcvt_to_sint and fcvt_to_uint to better reflect the behavior after the fix.
- Adds lots of tests for edge cases in float-to-int conversions that previously did not have coverage. These are only tangentially related to the above, so I'd be happy to move them to a separate PR if you'd prefer this PR be more focused.
Fixes #15198.
ryancbuckley edited PR #15199:
This PR:
- Fixes float-to-int128 conversion in the interpreter, so that values not representable in i128 are handled correctly.
- Makes some pedantic tweaks to the documentation on fcvt_to_sint and fcvt_to_uint to better reflect the behavior after the fix. (Notably, before this change, the comment on fcvt_to_sint refers to the "unsigned integral value," which I think is a mistake).
- Adds lots of tests for edge cases in float-to-int conversions that previously did not have coverage. These are only tangentially related to the above, so I'd be happy to move them to a separate PR if you'd prefer this PR be more focused.
Fixes #15198.
github-actions[bot] added the label cranelift on PR #15199.
github-actions[bot] added the label cranelift:meta on PR #15199.
alexcrichton removed the review request for alexcrichton from PR #15199.
alexcrichton requested cfallin for a review on PR #15199.
:thumbs_up: cfallin submitted PR review:
LGTM -- thanks!
cfallin added PR #15199 Fix edge cases in interpreter's float-to-int128 conversion to the merge queue.
:check: cfallin merged PR #15199.
cfallin removed PR #15199 Fix edge cases in interpreter's float-to-int128 conversion from the merge queue.
Last updated: Nov 19 2026 at 20:05 UTC