
Definition in file fpu.H.
#include <string>
Include dependency graph for fpu.H:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Enumerations | |
| enum | FpuPrecision { FPU_PREC_SINGLE, FPU_PREC_DOUBLE, FPU_PREC_EXTENDED } |
| Represents different floating-point precision modes. More... | |
| enum | FpuRoundingMode { FPU_ROUND_NEAR, FPU_ROUND_DOWN, FPU_ROUND_UP, FPU_ROUND_ZERO } |
| Represents different floating-point rounding modes. More... | |
Functions | |
| FpuPrecision | getFpuPrecision () |
| Query the fpu's current precision. | |
| void | setFpuPrecision (FpuPrecision prec) |
| Set the fpu's precision. | |
| std::string | convertToString (const FpuPrecision &val) |
| FpuPrecision -> string. | |
| void | convertFromString (const std::string &str, FpuPrecision &val) |
| string -> FpuPrecision | |
| FpuRoundingMode | getFpuRoundingMode () |
| Query the fpu's current rounding mode. | |
| void | setFpuRoundingMode (FpuRoundingMode mode) |
| Set the fpu's rounding mode. | |
| std::string | convertToString (const FpuRoundingMode &val) |
| FpuRoundingMode -> string. | |
| void | convertFromString (const std::string &str, FpuRoundingMode &val) |
| string -> FpuRoundingMode | |
|
|
Represents different floating-point precision modes.
|
|
|
Represents different floating-point rounding modes.
|
|
||||||||||||
|
string -> FpuRoundingMode
Definition at line 262 of file fpu.C. References FPU_ROUND_DOWN, FPU_ROUND_NEAR, FPU_ROUND_UP, and FPU_ROUND_ZERO. |
|
||||||||||||
|
string -> FpuPrecision
Definition at line 180 of file fpu.C. References FPU_PREC_DOUBLE, FPU_PREC_EXTENDED, and FPU_PREC_SINGLE. |
|
|
FpuRoundingMode -> string.
Definition at line 248 of file fpu.C. References FPU_ROUND_DOWN, FPU_ROUND_NEAR, FPU_ROUND_UP, FPU_ROUND_ZERO, and LFATAL. |
|
|
FpuPrecision -> string.
Definition at line 167 of file fpu.C. References FPU_PREC_DOUBLE, FPU_PREC_EXTENDED, FPU_PREC_SINGLE, and LFATAL. |
|
|
Query the fpu's current precision.
Definition at line 115 of file fpu.C. References FPU_PREC_DOUBLE, FPU_PREC_EXTENDED, FPU_PREC_SINGLE, LDEBUG, and LINFO. Referenced by ModelManager::start1(). |
|
|
Query the fpu's current rounding mode.
Definition at line 190 of file fpu.C. References FPU_ROUND_DOWN, FPU_ROUND_NEAR, FPU_ROUND_UP, FPU_ROUND_ZERO, LDEBUG, and LINFO. Referenced by ModelManager::start1(). |
|
|
Set the fpu's precision.
Definition at line 136 of file fpu.C. References convertToString(), FPU_PREC_DOUBLE, FPU_PREC_EXTENDED, FPU_PREC_SINGLE, and LERROR. Referenced by ModelManager::paramChanged(). |
|
|
Set the fpu's rounding mode.
Definition at line 212 of file fpu.C. References convertToString(), FPU_ROUND_DOWN, FPU_ROUND_NEAR, FPU_ROUND_UP, FPU_ROUND_ZERO, and LERROR. Referenced by ModelManager::paramChanged(). |
1.4.4