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

HNumber HNumber::operator- ( const HNumber num ) const

Subtract from another number.

Definition at line 452 of file hmath.cpp.

References HNumber(), and isNan().

{
  if( isNan() ) return HNumber( *this );
  if( num.isNan() ) return HNumber( num );
  
  HNumber result;
  h_destroy( result.d->num );
  result.d->num = h_sub( d->num, num.d->num );
  
  return result;
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index