pocomath/src/generic/quotient.mjs

4 lines
104 B
JavaScript

export const quotient = {
'T,T': ({'floor(T)': flr, 'divide(T,T)':div}) => (n,d) => flr(div(n,d))
}