PPL
1.2
|
#include <checked_defs.hh>
Public Member Functions | |
const_bool_nodef (check_overflow, false) | |
Do not check for overflowed result. More... | |
const_bool_nodef (check_inf_add_inf, false) | |
Do not check for attempts to add infinities with different sign. More... | |
const_bool_nodef (check_inf_sub_inf, false) | |
Do not check for attempts to subtract infinities with same sign. More... | |
const_bool_nodef (check_inf_mul_zero, false) | |
Do not check for attempts to multiply infinities by zero. More... | |
const_bool_nodef (check_div_zero, false) | |
Do not check for attempts to divide by zero. More... | |
const_bool_nodef (check_inf_div_inf, false) | |
Do not check for attempts to divide infinities. More... | |
const_bool_nodef (check_inf_mod, false) | |
Do not check for attempts to compute remainder of infinities. More... | |
const_bool_nodef (check_sqrt_neg, false) | |
Do not check for attempts to take the square root of a negative number. More... | |
const_bool_nodef (has_nan, std::numeric_limits< T >::has_quiet_NaN) | |
Handle not-a-number special value if T has it. More... | |
const_bool_nodef (has_infinity, std::numeric_limits< T >::has_infinity) | |
Handle infinity special values if T have them. More... | |
const_bool_nodef (convertible, true) | |
The checked number can always be safely converted to the underlying type T and vice-versa. More... | |
const_bool_nodef (fpu_check_inexact, false) | |
Do not honor requests to check for FPU inexact results. More... | |
const_bool_nodef (fpu_check_nan_result, false) | |
Do not make extra checks to detect FPU NaN results. More... | |
Static Public Member Functions | |
static void | handle_result (Result r) |
Handles r: called by all constructors, operators and functions that do not return a Result value. More... | |
Static Public Attributes | |
static const Rounding_Dir | ROUND_DEFAULT_CONSTRUCTOR = ROUND_NATIVE |
For constructors, by default use the same rounding used by underlying type. More... | |
static const Rounding_Dir | ROUND_DEFAULT_OPERATOR = ROUND_NATIVE |
For overloaded operators (operator+(), operator-(), ...), by default use the same rounding used by the underlying type. More... | |
static const Rounding_Dir | ROUND_DEFAULT_INPUT = ROUND_NATIVE |
For input functions, by default use the same rounding used by the underlying type. More... | |
static const Rounding_Dir | ROUND_DEFAULT_OUTPUT = ROUND_NATIVE |
For output functions, by default use the same rounding used by the underlying type. More... | |
static const Rounding_Dir | ROUND_DEFAULT_FUNCTION = ROUND_NATIVE |
For all other functions, by default use the same rounding used by the underlying type. More... | |
Definition at line 616 of file checked_defs.hh.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | check_overflow | , |
false | |||
) |
Do not check for overflowed result.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | check_inf_add_inf | , |
false | |||
) |
Do not check for attempts to add infinities with different sign.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | check_inf_sub_inf | , |
false | |||
) |
Do not check for attempts to subtract infinities with same sign.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | check_inf_mul_zero | , |
false | |||
) |
Do not check for attempts to multiply infinities by zero.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | check_div_zero | , |
false | |||
) |
Do not check for attempts to divide by zero.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | check_inf_div_inf | , |
false | |||
) |
Do not check for attempts to divide infinities.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | check_inf_mod | , |
false | |||
) |
Do not check for attempts to compute remainder of infinities.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | check_sqrt_neg | , |
false | |||
) |
Do not check for attempts to take the square root of a negative number.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | has_nan | , |
std::numeric_limits< T >::has_quiet_NaN | |||
) |
Handle not-a-number special value if T
has it.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | has_infinity | , |
std::numeric_limits< T >::has_infinity | |||
) |
Handle infinity special values if T
have them.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | convertible | , |
true | |||
) |
The checked number can always be safely converted to the underlying type T
and vice-versa.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | fpu_check_inexact | , |
false | |||
) |
Do not honor requests to check for FPU inexact results.
Parma_Polyhedra_Library::Checked_Number_Transparent_Policy< T >::const_bool_nodef | ( | fpu_check_nan_result | , |
false | |||
) |
Do not make extra checks to detect FPU NaN results.
|
inlinestatic |
Handles r:
called by all constructors, operators and functions that do not return a Result value.
Definition at line 61 of file Checked_Number_inlines.hh.
|
static |
For constructors, by default use the same rounding used by underlying type.
Definition at line 663 of file checked_defs.hh.
|
static |
For all other functions, by default use the same rounding used by the underlying type.
Definition at line 687 of file checked_defs.hh.
|
static |
For input functions, by default use the same rounding used by the underlying type.
Definition at line 675 of file checked_defs.hh.
|
static |
For overloaded operators (operator+(), operator-(), ...), by default use the same rounding used by the underlying type.
Definition at line 669 of file checked_defs.hh.
|
static |
For output functions, by default use the same rounding used by the underlying type.
Definition at line 681 of file checked_defs.hh.