Home Manual Reference Source

src/arithmetic/divmod.js

export const divmod = (a, b) => [(a / b) | 0, a % b];