|
PPL
0.12.1
|
Partial specialization of std::numeric_limits. More...
#include <checked_numeric_limits.hh>


Static Public Member Functions | |
| static Type | infinity () |
| static Type | quiet_NaN () |
Static Public Attributes | |
| static const bool | has_infinity = Policy::has_infinity |
| static const bool | has_quiet_NaN = Policy::has_nan |
Private Types | |
| typedef Checked_Number < mpz_class, Policy > | Type |
Partial specialization of std::numeric_limits.
Definition at line 113 of file checked_numeric_limits.hh.
|
private |
Reimplemented from std::numeric_limits< mpz_class >.
Definition at line 117 of file checked_numeric_limits.hh.
|
inlinestatic |
Reimplemented from std::numeric_limits< mpz_class >.
Definition at line 123 of file checked_numeric_limits.hh.
References Parma_Polyhedra_Library::Checked_Number< T, Policy >::raw_value(), Parma_Polyhedra_Library::ROUND_IGNORE, and Parma_Polyhedra_Library::VC_PLUS_INFINITY.
{
Type v;
Checked::assign_special<Policy>(v.raw_value(), VC_PLUS_INFINITY,
ROUND_IGNORE);
return v;
}
|
inlinestatic |
Reimplemented from std::numeric_limits< mpz_class >.
Definition at line 130 of file checked_numeric_limits.hh.
References Parma_Polyhedra_Library::Checked_Number< T, Policy >::raw_value(), Parma_Polyhedra_Library::ROUND_IGNORE, and Parma_Polyhedra_Library::VC_NAN.
{
Type v;
Checked::assign_special<Policy>(v.raw_value(), VC_NAN, ROUND_IGNORE);
return v;
}
|
static |
Reimplemented from std::numeric_limits< mpz_class >.
Definition at line 120 of file checked_numeric_limits.hh.
|
static |
Reimplemented from std::numeric_limits< mpz_class >.
Definition at line 121 of file checked_numeric_limits.hh.