Real number.
More...
#include <Real.h>
◆ Real() [1/3]
◆ Real() [2/3]
constexpr TBTK::Real::Real |
( |
double |
value | ) |
|
|
inlineconstexpr |
Constructor.
- Parameters
-
value | The value to initilize the Real number with. |
◆ Real() [3/3]
Constructs an Index from a serialization string.
- Parameters
-
serialization | Serialization string from which to construct the Real number. |
mode | Mode with which the string has been serialized. |
◆ operator double()
constexpr TBTK::Real::operator double |
( |
| ) |
const |
|
inlineconstexpr |
Type conversion operator.
◆ operator*=()
Real& TBTK::Real::operator*= |
( |
const Real & |
rhs | ) |
|
|
inline |
Multiplication assignment operator.
- Parameters
-
- Returns
- The Real after the multiplication has occured.
◆ operator+=()
Real& TBTK::Real::operator+= |
( |
const Real & |
rhs | ) |
|
|
inline |
Addition assignment operator.
- Parameters
-
- Returns
- The Real after the addition has occured.
◆ operator-=()
Real& TBTK::Real::operator-= |
( |
const Real & |
rhs | ) |
|
|
inline |
Subtraction assignment operator.
- Parameters
-
- Returns
- The Real after the subtraction has occured.
◆ operator/=()
Real& TBTK::Real::operator/= |
( |
const Real & |
rhs | ) |
|
|
inline |
Division assignment operator.
- Parameters
-
- Returns
- The Real after the division has occured.
◆ operator=()
Real& TBTK::Real::operator= |
( |
double |
rhs | ) |
|
|
inline |
Assignment operator.
- Parameters
-
value | The value to assign the Real. |
- Returns
- The Real after assignment has occured.
◆ serialize()
The documentation for this class was generated from the following file:
- /TBTK/Lib/include/Core/TBTK/Real.h