; Remainder has the sign of the dividend. ; expect: run ; result: -1 ; phase: 0 ; spec: docs/spec/02-types-and-values.md module test.truncating_remainder air 0 lang 0.1 features [] fn @main() -> i32 effects [] entry: %a = const.i32 -7 %b = const.i32 3 %c = rem.checked.i32 %a, %b ret %c