All Frameworks  Class Hierarchy  This Framework  Indexes

Mathematics Global Function CATSign


INLINE CATINTPTR CATSign(double iValue)
Returns the sign of a double.
There is no tolerance for the null value.
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(double iValue)
Returns the sign of a double.
There is no tolerance for the null value.
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.