The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information.... |
Home MathPack Math1 Comparison & Limiting IntNeg | |||||||
See also: IntPos | |||||||
IntNeg |
|||||||
The Pascal functions int and trunc do not process negative and positive numbers in the same way (they are biased towards 0.0), which can cause trouble in some circumstances. Therefore IntNeg consistently produces the next smaller integer value, regardless of the sign of the number InNum.
|