Calculator
Step 6
|
Go to the source code of this file.
Classes | |
class | number |
Functions | |
bool | operator== (number a, number b) |
bool | operator!= (number a, number b) |
bool | operator< (number a, number b) |
bool | operator<= (number a, number b) |
bool | operator> (number a, number b) |
bool | operator>= (number a, number b) |
number | operator- (number n) |
std::ostream & | operator<< (std::ostream &stream, number n) |
Compare two number objects for numeric inequality. The objects are coerced to a common type before comparing.
a | The left-hand operand |
b | The right-hand operand |
Definition at line 149 of file number.hpp.
Compare two number objects for numeric less-than. The objects are coerced to a common type before comparing.
a | The left-hand operand |
b | The right-hand operand |
Definition at line 160 of file number.hpp.
References number::less().
|
inline |
Print a number
stream | The output stream |
n | The number to print |
Definition at line 211 of file number.hpp.
References number::print().
Compare two number objects for numeric less-than-or-equal. The objects are coerced to a common type before comparing.
a | The left-hand operand |
b | The right-hand operand |
Definition at line 171 of file number.hpp.
Compare two number objects for numeric equality. The objects are coerced to a common type before comparing.
a | The left-hand operand |
b | The right-hand operand |
Definition at line 138 of file number.hpp.
References number::equals().
Compare two number objects for numeric greater-than. The objects are coerced to a common type before comparing.
a | The left-hand operand |
b | The right-hand operand |
Definition at line 182 of file number.hpp.
Compare two number objects for numeric greater-than-or-equal. The objects are coerced to a common type before comparing.
a | The left-hand operand |
b | The right-hand operand |
Definition at line 193 of file number.hpp.