correct documentation of `rem`
Merge pull request #792 from jvoigtlaender/patch-1

correct documentation of `rem`