1 #ifndef LOCARNA_INFTY_INT_HH
2 #define LOCARNA_INFTY_INT_HH
314 friend std::ostream &
482 inline TaintedInftyInt
Definition: infty_int.hh:437
const base_type & finite_value() const
Access finite value.
Definition: infty_int.hh:457
friend FiniteInt operator+(const FiniteInt &x, const FiniteInt &y)
Add.
Definition: infty_int.hh:537
FiniteInt(base_type x)
Construct from base type value.
Definition: infty_int.hh:449
FiniteInt()
Construct empty.
Definition: infty_int.hh:442
friend FiniteInt operator-(const FiniteInt &x, const FiniteInt &y)
Subtract.
Definition: infty_int.hh:544
Definition: infty_int.hh:325
InftyInt()
Construct empty.
Definition: infty_int.hh:348
friend InftyInt operator-(const InftyInt &x, const FiniteInt &y)
Definition: infty_int.hh:530
static const InftyInt neg_infty
normalized negative infinity
Definition: infty_int.hh:328
static const InftyInt pos_infty
normalized positive infinity
Definition: infty_int.hh:330
InftyInt(const base_type &x)
Construct from base type.
Definition: infty_int.hh:356
friend InftyInt operator+(const InftyInt &x, const FiniteInt &y)
Definition: infty_int.hh:523
InftyInt & operator-=(const FiniteInt &x)
Definition: infty_int.hh:517
InftyInt & operator=(TaintedInftyInt &x)
Assignment from potentially tainted infty int.
Definition: infty_int.hh:384
InftyInt(const TaintedInftyInt &x)
Construct from potentially tainted.
Definition: infty_int.hh:374
InftyInt & operator+=(const FiniteInt &x)
Definition: infty_int.hh:511
Definition: infty_int.hh:56
friend bool operator>(const TaintedInftyInt &x, const TaintedInftyInt &y)
Definition: infty_int.hh:574
TaintedInftyInt()
Construct empty.
Definition: infty_int.hh:80
static const base_type min_normal_neg_infty
minimum normal infinite value
Definition: infty_int.hh:71
static const base_type max_normal_pos_infty
maximum normal infinite value
Definition: infty_int.hh:74
friend bool operator==(const TaintedInftyInt &x, const TaintedInftyInt &y)
Equality test.
Definition: infty_int.hh:551
static const base_type max_finity
maximum finite value
Definition: infty_int.hh:68
static base_type min_finite()
minimum finite value
Definition: infty_int.hh:95
friend TaintedInftyInt operator+(const TaintedInftyInt &x, const FiniteInt &y)
Add.
Definition: infty_int.hh:483
TaintedInftyInt(const base_type &x)
Construct from base type.
Definition: infty_int.hh:87
friend bool operator<(const TaintedInftyInt &x, const TaintedInftyInt &y)
Definition: infty_int.hh:579
long int base_type
the base type
Definition: infty_int.hh:59
bool is_neg_infty() const
Definition: infty_int.hh:115
bool is_normal() const
Definition: infty_int.hh:145
friend bool operator<=(const TaintedInftyInt &x, const TaintedInftyInt &y)
Definition: infty_int.hh:589
static base_type max_finite()
maximum finite value
Definition: infty_int.hh:105
static const base_type min_finity
minimum finite value
Definition: infty_int.hh:65
friend TaintedInftyInt operator-(const TaintedInftyInt &x, const FiniteInt &y)
Subtract.
Definition: infty_int.hh:490
friend TaintedInftyInt max(const TaintedInftyInt &x, const TaintedInftyInt &y)
Maximum.
Definition: infty_int.hh:567
bool is_finite() const
Definition: infty_int.hh:135
TaintedInftyInt & operator=(const FiniteInt &x)
Assignment.
Definition: infty_int.hh:556
friend bool operator>=(const TaintedInftyInt &x, const TaintedInftyInt &y)
Definition: infty_int.hh:584
base_type finite_value() const
Convert finite value to base type.
Definition: infty_int.hh:156
base_type val
value
Definition: infty_int.hh:62
bool is_pos_infty() const
Definition: infty_int.hh:125
friend TaintedInftyInt min(const TaintedInftyInt &x, const TaintedInftyInt &y)
Minimum.
Definition: infty_int.hh:562
friend std::ostream & operator<<(std::ostream &out, const TaintedInftyInt &x)
Definition: infty_int.cc:34
Definition: aligner.cc:15
bool operator>=(const TaintedInftyInt &x, const TaintedInftyInt &y)
Definition: infty_int.hh:584
bool operator==(const TaintedInftyInt &x, const TaintedInftyInt &y)
Definition: infty_int.hh:551
TaintedInftyInt min(const TaintedInftyInt &x, const TaintedInftyInt &y)
Definition: infty_int.hh:562
TaintedInftyInt operator+(const TaintedInftyInt &x, const FiniteInt &y)
Definition: infty_int.hh:483
bool operator>(const TaintedInftyInt &x, const TaintedInftyInt &y)
Definition: infty_int.hh:574
TaintedInftyInt max(const TaintedInftyInt &x, const TaintedInftyInt &y)
Definition: infty_int.hh:567
bool operator<=(const TaintedInftyInt &x, const TaintedInftyInt &y)
Definition: infty_int.hh:589
bool operator<(const EPM &epm1, const EPM &epm2)
Definition: exact_matcher.hh:1254
TaintedInftyInt operator-(const TaintedInftyInt &x, const FiniteInt &y)
Definition: infty_int.hh:490