There is a +0.5 followed by truncate in the DFG JIT, may be able to replace this with a round.
https://github.com/WebKit/WebKit/blob/main/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp#L3555 It is still present in the Source Code.
This also has the wrong semantics. It should be a round to nearest not a round to infinity. Uploading a patch now.
Pull request: https://github.com/WebKit/WebKit/pull/16609
Committed 267100@main (c55d0673236c): <https://commits.webkit.org/267100@main> Reviewed commits have been landed. Closing PR #16609 and removing active labels.
<rdar://problem/114208146>
Re-opened since this is blocked by bug 260534