Topic: DMD0098 MATH Multiply Operator |
|||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
The Math Multiply operator ( * ) will calculate the product of two or more numbers or expressions by multiplying the value on the left side with the value on the right side.
The numbers and expressions can be any mix of signed integers, unsigned integers, real (floating point) numbers or discrete values. They can be any numeric or discrete memory location or any numeric or discrete structure member.
All discrete and 16-bit integer values are promoted to 32-bit 2's complement signed integer values. If a Real value is included in the equation then all of the values will be promoted to Real values and all calculations will be performed using Real numbers.
Refer to the examples below for caveats when using numbers of different types:
|
|||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
See Also:Multiply
|
|||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||
Related Topics:
|
|||||||||||||||||||||||||||||||||
|