Unit 'utility' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#amunits]

UDivMod32

Unsigned 32 by 32 bit division and modulus.

Declaration

Source position: utility.pas line 377

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: 2021-07-30