ln3 Method - GetSign
Description
Get the sign of the large number.
Signature
sign_t GetSign( void ) const
Parameters
( none )
Returns
( sign_t ) An enumerated constant. The value is
positive
or
negative
;
Example
Check the sign of the value in the variable
X
. If it is negative, then print the string
X < 0
:
ln X; ... if( X.GetSign( ) == negative ) cout << "X < 0" << endl;s