Divmod
Divmod is a term used in programming .
function
In the programming languages Python and Ruby, it describes a function for the simultaneous calculation of integer quotient and remainder when dividing by remainder . In the programming language the function is called HaskelldivMod
and in Object Pascal it is called DivMod
. The C standard library offers, depending on the data type div
, ldiv
and the like.