This reverts commit 040f4e90ce.
040f4e90ce
Revert this commit after changing 'mod' to 'rem' in stdlib