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

bool HNumber::isZero (  ) const

Returns true if this number is zero.

Definition at line 403 of file hmath.cpp.

Referenced by HMath::acos(), HMath::asin(), HMath::atan(), HMath::compare(), HMath::cos(), HMath::exp(), HMath::formatExp(), HMath::integer(), isPositive(), HMath::ln(), HMath::negate(), HMath::raise(), HMath::sin(), HMath::sqrt(), HMath::tan(), and HMath::tanh().

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

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index