PosixTimespec.cpp
//==============================================================================
// Returns double-precision floating point representation of timespec
//==============================================================================
Returns double-precision floating point representation of timespec
Returns double - precision floating point representation of timespec
double PosixTimespec::toDouble() const
{
    return static_cast<double>(this->tp.tv_sec) +
        (static_cast<double>(this->tp.tv_nsec) /
         static_cast<double>(nanoseconds_per_second));
}
double PosixTimespec :: toDouble ( ) const { return static_cast < double > ( this -> tp . tv_sec ) + ( static_cast < double > ( this -> tp . tv_nsec ) / static_cast < double > ( nanoseconds_per_second ) ) ; }
Returns double-precision floating point representation of timespec
Returns double - precision floating point representation of timespec