4482d13ff7
Rationale: While writing tests for the ongoing native 64-bit MOD/TRUNCDIV support in AOT, I noticed a floating-point crash in our VM due to evaluating the constant mod case: Expect.equals(0, mod(minInt64, -1)); Expect.equals(minInt64, truncdiv(minInt64, -1)); This fixes the constant evaluation part. https://github.com/dart-lang/sdk/issues/33967 Change-Id: I9a4e6b3cd4d0d0dee39c690d2b981b5812501be4 Reviewed-on: https://dart-review.googlesource.com/67281 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Aart Bik <ajcbik@google.com>