[Overview][Constants][Types][Procedures and functions][Index] Reference for unit 'utility' (#aros)

UDivMod32

Unsigned 32 by 32 bit division and modulus.

Declaration

Source position: utility.pas line 231

function UDivMod32(

  Dividend: LongWord;

  Divisor: LongWord

):LongWord;

Description

Divides the unsigned 32 bit dividend by the unsigned 32 bit divisor and returns an unsigned 32 bit quotient and remainder.

Errors

It is impossible for Pascal/C programmers to obtain the value of remainder.

See also

SDivMod32

  

Signed 32 by 32 bit division and modulus.

SMult64

  

Signed 32 by 32 bit multiply with 64 bit result.

UMult32

  

Unsigned 32 by 32 bit multiply with 32 bit result.

SMult32

  

Signed 32 by 32 bit multiply with 32 bit result.

UMult64

  

Unsigned 32 by 32 bit multiply with 64 bit result.


Documentation generated on: 2017-01-10