Logo Search packages:      
Sourcecode: abakus version File versions  Download package

bool HNumber::isNegative (  ) const

Returns true if this number is less than zero.

Definition at line 413 of file hmath.cpp.

Referenced by HMath::atan(), HMath::compare(), HMath::exp(), isPositive(), and HMath::sqrt().

{
  return !d->nan && ( bc_is_neg( d->num )!=0 );
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index