Computes the quotient and remainder of a 32-bit division.
int32 DivRemS32( int32 *rem, int32 d1, int32 d2 )
This function divides one 32-bit integer by another and returns the quotient and remainder.
This function calls the standard C function for division. If you need only the quotient or only the remainder, use the standard C notation for division instead.
The function returns the quotient of the division. The remainder is deposited in the location pointed to by the rem argument.
Folio call implemented in operamath V20.
operamath.h, operamath.lib
The function does not detect overflows.
DivRemU32
(), DivS64(), DivU64(), DivSF16(), DivUF16(), DivRemUF16(), DivRemSF16()