divfrac is an extension of the div() library function. It provides the quotient, remainder and fractional part of a 32 bit unsigned integer division.