|
Claw
1.7.3
|
Custom precision real numbers. More...
#include <real_number.hpp>
Public Types | |
| typedef T | value_type |
| typedef real_number< T > | self_type |
Public Member Functions | |
| real_number (const value_type &v) | |
| real_number (const self_type &that) | |
| self_type | abs () const |
| bool | operator< (const self_type &that) const |
| bool | operator<= (const self_type &that) const |
| bool | operator> (const self_type &that) const |
| bool | operator>= (const self_type &that) const |
| bool | operator== (const self_type &that) const |
| bool | operator!= (const self_type &that) const |
| self_type | operator+ (const self_type &that) const |
| self_type | operator- (const self_type &that) const |
| self_type | operator* (const self_type &that) const |
| self_type | operator/ (const self_type &that) const |
| self_type & | operator+= (const self_type &that) |
| self_type & | operator-= (const self_type &that) |
| self_type & | operator*= (const self_type &that) |
| self_type & | operator/= (const self_type &that) |
| std::ostream & | output (std::ostream &os) const |
| template<typename U > | |
| operator U () const | |
Friends | |
| std::istream & | operator>> (std::istream &is, real_number< T > &self) |
Custom precision real numbers.
Definition at line 39 of file real_number.hpp.
1.8.17