30 #ifndef __CLAW_REAL_NUMBER_HPP__
31 #define __CLAW_REAL_NUMBER_HPP__
56 return std::abs(v) <= 1 ?
57 std::numeric_limits<T>::epsilon() :
58 std::abs(v) * std::numeric_limits<T>::epsilon();
70 std::istream& ::operator>> <>( std::istream& is,
real_number<T>& self );
100 std::ostream&
output( std::ostream& os )
const;
110 value_type m_epsilon;
118 struct numeric_limits< claw::real_number<T> >:
119 public numeric_limits<T>
136 std::ostream& operator<<( std::ostream& os, const claw::real_number<T>& self );
142 #endif // __CLAW_REAL_NUMBER_HPP__