CORE: add quot, rem and mod.