Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Operating System Utilities /
Chapter 3 - Mathematical and Logical Utilities / Mathematical and Logical Utilities Reference
Routines / Multiplying 32-bit values


LongMul

You can use the LongMul procedure to multiply two 32-bit quantities and obtain a 64-bit quantity.

Procedure LongMul (a, b: LongInt; VAR result: Int64Bit);
a
The first operand, which is a variable of type LongInt.
b
The second operand, which is a variable of type LongInt.
result
A pointer to the returned value.
DESCRIPTION
Given two variables of type LongInt, the LongMul procedure multiplies the two variables specified in parameter a and b, and returns the value in the variable specified by the result parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
6 JUL 1996