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

HNumber HMath::frac ( const HNumber n ) [static]

Returns the fraction part of n.

Definition at line 828 of file hmath.cpp.

References integer(), HNumber::isNan(), and HNumber::nan().

  if( n.isNan() )
    return HNumber::nan();
  return n - integer(n);  

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index