Rem vs. mod?

Yes, I have seen that.

It doesn’t seem to be defined for the Int type.