operator % method

I16 operator %(
  1. I16 other
)
override

Modulo operator, wrapping around to remain within I16.

Implementation

I16 operator %(I16 other) => I16((value % other.value).toSigned(16));