Modulo of self with i.

Returns the remainder of division of self by i.

assert 5i32 % 2i32      == 1i32
assert 10i32 % 2i32     == 0i32

Property definitions

core $ Int32 :: %
	# Modulo of `self` with `i`.
	#
	# Returns the remainder of division of `self` by `i`.
	#
	#     assert 5i32 % 2i32		== 1i32
	#     assert 10i32 % 2i32		== 0i32
	fun %(i: Int32): Int32 is intern
lib/core/fixed_ints.nit:494,2--500,33