All Frameworks  Class Hierarchy  This Framework  Indexes

Mathematics Global Function CATSign


INLINE int CATSign(int iValue)
Returns the sign of an int.
Returns:
The sign.
Legal values:
-1
for a negative value
1
for a positive value
0
for a null value

This object is included in the file: CATMath.h

Copyright © 2003, Dassault Systèmes. All rights reserved.

Mathematics Global Function CATSign
All Frameworks  Class Hierarchy  This Framework  Indexes

Mathematics Global Function CATSign


INLINE CATLONG32 CATSign(int iValue)
Returns the sign of an int.
Returns:
The sign.
Legal values:
-1
for a negative value
1
for a positive value
0
for a null value

This object is included in the file: CATMath.h

Copyright © 2003, Dassault Systèmes. All rights reserved.