separate quotient and remainder
change package api for 'div
sol of 2.91