LongMul

Overflow safe multiply.

Declaration

Source position: objects.pp line 714

  function LongMul(X: Integer; Y: Integer) : LongInt;

Description

LongMul multiplies X with Y. The result is of type Longint. This avoids possible overflow errors you would normally get when multiplying X and Y that are too big.

Errors

None.

See also

Name Description
LongDiv Overflow safe divide

results matching ""

    No results matching ""