#include <unumber.hpp>
Inheritance diagram for ubit::UDouble:
Public Member Functions | |
UDouble (double v=0.0) | |
UDouble (const UDouble &v) | |
UDouble (const UFloat &v) | |
UDouble (const UInteger &v) | |
UDouble (const UStr &) | |
UDouble (const std::string &) | |
operator double () const | |
type conversion: converts UDouble to double. | |
int | intValue () const |
float | floatValue () const |
double | doubleValue () const |
UStr | toString () const |
UDouble & | operator= (double v) |
UDouble & | operator= (const UDouble &v) |
UDouble & | operator= (const UFloat &v) |
UDouble & | operator= (const UInteger &v) |
UDouble & | operator= (const char *s) |
UDouble & | operator= (const UStr &s) |
UDouble & | operator= (const std::string &s) |
bool | operator== (float v) const |
bool | operator== (double v) const |
bool | operator== (const UDouble &v) const |
bool | operator!= (float v) const |
bool | operator!= (double v) const |
bool | operator!= (const UDouble &v) const |
bool | operator< (float v) const |
bool | operator< (double v) const |
bool | operator< (const UDouble &v) const |
bool | operator<= (float v) const |
bool | operator<= (double v) const |
bool | operator<= (const UDouble &v) const |
bool | operator> (float v) const |
bool | operator> (double v) const |
bool | operator> (const UDouble &v) const |
bool | operator>= (float v) const |
bool | operator>= (double v) const |
bool | operator>= (const UDouble &v) const |
UDouble & | operator++ () |
UDouble | operator++ (int) |
UDouble & | operator-- () |
UDouble | operator-- (int) |
UDouble & | operator+= (int v) |
UDouble & | operator+= (const UDouble &v) |
UDouble & | operator-= (int v) |
UDouble & | operator-= (const UDouble &v) |
UDouble & | operator *= (int v) |
UDouble & | operator *= (const UDouble &v) |
UDouble & | operator/= (int v) |
UDouble & | operator/= (const UDouble &v) |
virtual UDouble & | setImpl (double, bool call_callbacks=true) |
virtual UDouble & | setImpl (const char *, bool call_callbacks=true) |
[impl] assignment. | |
Friends | |
class | UInteger |
class | UFloat |
std::ostream & | operator<< (std::ostream &, const UDouble &) |
prints value on output stream. | |
std::istream & | operator>> (std::istream &, UDouble &) |
reads value from input stream. |