pocomath/src/generic/roundquotient.mjs

4 lines
109 B
JavaScript

export const roundquotient = {
'T,T': ({'round(T)': rnd, 'divide(T,T)':div}) => (n,d) => rnd(div(n,d))
}