9 lines
189 B
JavaScript
9 lines
189 B
JavaScript
import Returns from '../core/Returns.mjs'
|
|
|
|
export const roundquotient = {
|
|
'T,T': ({
|
|
T,
|
|
'round(T)': rnd,
|
|
'divide(T,T)':div
|
|
}) => Returns(T, (n,d) => rnd(div(n,d)))
|
|
}
|