afonso360 opened PR #4413 from interp-fix-nearest
to main
:
As @MaxGraey pointed out (thanks!) in #4397,
round
has different behavior fromnearest
. And it looks like the native rust implementation is still pending stabilization.Right now we duplicate the wasmtime implementation, merged in #2171 since its quite short.
This also adds the missing tests that would have caught this issue.
afonso360 edited PR #4413 from interp-fix-nearest
to main
:
As @MaxGraey pointed out (thanks!) in #4397,
round
has different behavior fromnearest
. And it looks like the native rust implementation is still pending stabilization.Right now we duplicate the wasmtime implementation, merged in #2171 since its quite short.
This also adds the missing tests that would have caught this issue.
Note: I'm happy to replace this with a version that tries to reuse the wasmtime implementation, but it wasn't immediately obvious to me how to do that in a clean manner.
cfallin submitted PR review.
cfallin merged PR #4413.
Last updated: Nov 22 2024 at 17:03 UTC