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