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 726 of file NumericValue.h.
|
protecteddefault |
|
inline |
Definition at line 734 of file NumericValue.h.
|
inline |
Definition at line 736 of file NumericValue.h.
|
inline |
Definition at line 744 of file NumericValue.h.
|
inlinevirtual |
Definition at line 752 of file NumericValue.h.
Definition at line 754 of file NumericValue.h.
|
inline |
Definition at line 811 of file NumericValue.h.
|
inline |
Definition at line 840 of file NumericValue.h.
Definition at line 761 of file NumericValue.h.
|
inline |
Definition at line 1275 of file NumericValue.h.
|
inline |
Return Numeral.
Definition at line 1259 of file NumericValue.h.
|
inline |
Definition at line 1280 of file NumericValue.h.
|
inline |
Definition at line 776 of file NumericValue.h.
|
inline |
Definition at line 1115 of file NumericValue.h.
|
inline |
Definition at line 771 of file NumericValue.h.
|
inline |
Definition at line 766 of file NumericValue.h.
|
inline |
Definition at line 1119 of file NumericValue.h.
|
inline |
Definition at line 1253 of file NumericValue.h.
|
inline |
Definition at line 801 of file NumericValue.h.
|
inlinestatic |
Definition at line 806 of file NumericValue.h.
|
inline |
Definition at line 816 of file NumericValue.h.
|
inlinestatic |
Definition at line 1233 of file NumericValue.h.
|
inlinestatic |
Definition at line 1218 of file NumericValue.h.
|
inlinestatic |
Definition at line 796 of file NumericValue.h.
|
inline |
Definition at line 746 of file NumericValue.h.
|
inline |
Definition at line 738 of file NumericValue.h.
|
inlinestatic |
Definition at line 791 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 911 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 1052 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 991 of file NumericValue.h.
|
inline |
Definition at line 786 of file NumericValue.h.
|
inline |
Definition at line 781 of file NumericValue.h.
Definition at line 1285 of file NumericValue.h.
|
friend |
Definition at line 1248 of file NumericValue.h.
|
friend |
Definition at line 1203 of file NumericValue.h.
|
friend |
Definition at line 1190 of file NumericValue.h.
|
friend |
Definition at line 1213 of file NumericValue.h.
|
friend |
Definition at line 1208 of file NumericValue.h.
|
friend |
Definition at line 1157 of file NumericValue.h.
|
friend |
Definition at line 872 of file NumericValue.h.
|
friend |
Definition at line 1097 of file NumericValue.h.
|
friend |
|
friend |
Definition at line 1145 of file NumericValue.h.
|
friend |
Definition at line 1037 of file NumericValue.h.
|
friend |
Definition at line 965 of file NumericValue.h.
|
friend |
Definition at line 971 of file NumericValue.h.
|
friend |
Definition at line 976 of file NumericValue.h.
|
friend |
Definition at line 1091 of file NumericValue.h.
|
friend |
Definition at line 884 of file NumericValue.h.
|
friend |
Definition at line 1176 of file NumericValue.h.
|
friend |
Definition at line 1196 of file NumericValue.h.
|
friend |
Definition at line 890 of file NumericValue.h.
|
friend |
Reload operator.
Definition at line 866 of file NumericValue.h.
|
friend |
Definition at line 878 of file NumericValue.h.
|
friend |
Definition at line 896 of file NumericValue.h.
|
friend |
Definition at line 1162 of file NumericValue.h.
|
friend |
|
friend |
|
friend |
Definition at line 1151 of file NumericValue.h.
|
protected |
Definition at line 729 of file NumericValue.h.