Static Value-Flow Analysis
|
#include <NumericValue.h>
Public Member Functions | |
BoundedDouble (double fVal) | |
BoundedDouble (const BoundedDouble &rhs) | |
BoundedDouble & | operator= (const BoundedDouble &rhs) |
BoundedDouble (BoundedDouble &&rhs) | |
BoundedDouble & | operator= (BoundedDouble &&rhs) |
virtual | ~BoundedDouble () |
const double | getFVal () const |
bool | is_plus_infinity () const |
bool | is_minus_infinity () const |
bool | is_infinity () const |
void | set_plus_infinity () |
void | set_minus_infinity () |
bool | is_zero () const |
bool | equal (const BoundedDouble &rhs) const |
bool | leq (const BoundedDouble &rhs) const |
bool | geq (const BoundedDouble &rhs) const |
bool | is_int () const |
bool | is_real () const |
bool | is_true () const |
s64_t | getNumeral () const |
Return Numeral. | |
s64_t | getIntNumeral () const |
double | getRealNumeral () const |
virtual const std::string | to_string () const |
Static Public Member Functions | |
static bool | doubleEqual (double a, double b) |
static BoundedDouble | plus_infinity () |
static BoundedDouble | minus_infinity () |
static bool | isZero (const BoundedDouble &expr) |
static double | safeAdd (double lhs, double rhs) |
static double | safeMul (double lhs, double rhs) |
static double | safeDiv (double lhs, double rhs) |
static BoundedDouble | min (std::vector< BoundedDouble > &_l) |
static BoundedDouble | max (std::vector< BoundedDouble > &_l) |
Protected Member Functions | |
BoundedDouble ()=default | |
Protected Attributes | |
double | _fVal |
Bounded double numeric value
Definition at line 723 of file NumericValue.h.
|
protecteddefault |
|
inline |
Definition at line 731 of file NumericValue.h.
|
inline |
Definition at line 733 of file NumericValue.h.
|
inline |
Definition at line 741 of file NumericValue.h.
|
inlinevirtual |
Definition at line 749 of file NumericValue.h.
Definition at line 751 of file NumericValue.h.
|
inline |
Definition at line 808 of file NumericValue.h.
|
inline |
Definition at line 837 of file NumericValue.h.
Definition at line 758 of file NumericValue.h.
|
inline |
Definition at line 1272 of file NumericValue.h.
|
inline |
Return Numeral.
Definition at line 1256 of file NumericValue.h.
|
inline |
Definition at line 1277 of file NumericValue.h.
|
inline |
Definition at line 773 of file NumericValue.h.
|
inline |
Definition at line 1112 of file NumericValue.h.
|
inline |
Definition at line 768 of file NumericValue.h.
|
inline |
Definition at line 763 of file NumericValue.h.
|
inline |
Definition at line 1116 of file NumericValue.h.
|
inline |
Definition at line 1250 of file NumericValue.h.
|
inline |
Definition at line 798 of file NumericValue.h.
|
inlinestatic |
Definition at line 803 of file NumericValue.h.
|
inline |
Definition at line 813 of file NumericValue.h.
|
inlinestatic |
Definition at line 1230 of file NumericValue.h.
|
inlinestatic |
Definition at line 1215 of file NumericValue.h.
|
inlinestatic |
Definition at line 793 of file NumericValue.h.
|
inline |
Definition at line 743 of file NumericValue.h.
|
inline |
Definition at line 735 of file NumericValue.h.
|
inlinestatic |
Definition at line 788 of file NumericValue.h.
Adds two floating-point numbers safely, checking for overflow and underflow conditions.
lhs | Left-hand side operand of the addition. |
rhs | Right-hand side operand of the addition. |
Definition at line 908 of file NumericValue.h.
Safely divides one floating-point number by another, checking for division by zero and overflow.
lhs | Left-hand side operand (numerator). |
rhs | Right-hand side operand (denominator). |
Definition at line 1049 of file NumericValue.h.
Safely multiplies two floating-point numbers, checking for overflow and underflow.
lhs | Left-hand side operand of the multiplication. |
rhs | Right-hand side operand of the multiplication. |
Definition at line 988 of file NumericValue.h.
|
inline |
Definition at line 783 of file NumericValue.h.
|
inline |
Definition at line 778 of file NumericValue.h.
Definition at line 1282 of file NumericValue.h.
|
friend |
Definition at line 1245 of file NumericValue.h.
|
friend |
Definition at line 1200 of file NumericValue.h.
|
friend |
Definition at line 1187 of file NumericValue.h.
|
friend |
Definition at line 1210 of file NumericValue.h.
|
friend |
Definition at line 1205 of file NumericValue.h.
|
friend |
Definition at line 1154 of file NumericValue.h.
|
friend |
Definition at line 869 of file NumericValue.h.
|
friend |
Definition at line 1094 of file NumericValue.h.
|
friend |
|
friend |
Definition at line 1142 of file NumericValue.h.
|
friend |
Definition at line 1034 of file NumericValue.h.
|
friend |
Definition at line 962 of file NumericValue.h.
|
friend |
Definition at line 968 of file NumericValue.h.
|
friend |
Definition at line 973 of file NumericValue.h.
|
friend |
Definition at line 1088 of file NumericValue.h.
|
friend |
Definition at line 881 of file NumericValue.h.
|
friend |
Definition at line 1173 of file NumericValue.h.
|
friend |
Definition at line 1193 of file NumericValue.h.
|
friend |
Definition at line 887 of file NumericValue.h.
|
friend |
Reload operator.
Definition at line 863 of file NumericValue.h.
|
friend |
Definition at line 875 of file NumericValue.h.
|
friend |
Definition at line 893 of file NumericValue.h.
|
friend |
Definition at line 1159 of file NumericValue.h.
|
friend |
|
friend |
|
friend |
Definition at line 1148 of file NumericValue.h.
|
protected |
Definition at line 726 of file NumericValue.h.