help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Objects' (#rtl)

LongMul

Overflow safe multiply.

Declaration

Source position: objects.pp line 668

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

LongDiv

  

Overflow safe divide

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505