Geogram
Version 1.9.1
A programming library of geometric algorithms
|
Number type for interval arithmetics. More...
#include <geogram/numerics/interval_nt.h>
Classes | |
struct | Rounding |
Public Member Functions | |
intervalRN (double x) | |
intervalRN (double l, double u) | |
intervalRN (const intervalRN &rhs)=default | |
intervalRN (const expansion_nt &rhs) | |
intervalRN & | operator= (const intervalRN &rhs)=default |
intervalRN & | operator= (double rhs) |
intervalRN & | operator= (const expansion_nt &rhs) |
double | inf () const |
double | sup () const |
double | estimate () const |
bool | is_nan () const |
Sign2 | sign () const |
intervalRN & | negate () |
intervalRN & | operator+= (const intervalRN &x) |
intervalRN & | operator-= (const intervalRN &x) |
intervalRN & | operator*= (const intervalRN &x) |
Public Member Functions inherited from GEO::intervalBase | |
intervalBase (double x) | |
intervalBase (const intervalBase &rhs)=default | |
intervalBase & | operator= (const intervalBase &rhs)=default |
Protected Member Functions | |
void | adjust () |
void | control_check () |
Protected Member Functions inherited from GEO::intervalBase | |
void | control_set (double x) |
void | control_set (const expansion_nt &x) |
void | control_set (const intervalBase &x) |
void | control_negate () |
void | control_add (const intervalBase &x) |
void | control_sub (const intervalBase &x) |
void | control_mul (const intervalBase &x) |
void | control_check (double inf, double sup) |
Additional Inherited Members | |
Public Types inherited from GEO::intervalBase | |
enum | Sign2 { SIGN2_ERROR = -1 , SIGN2_ZERO = 0 , SIGN2_NP , SIGN2_PP , SIGN2_ZP , SIGN2_NN , SIGN2_NZ } |
Static Public Member Functions inherited from GEO::intervalBase | |
static void | set_FPU_round_to_nearest () |
static void | set_FPU_round_to_upper () |
static bool | sign_is_determined (Sign2 s) |
static bool | sign_is_non_zero (Sign2 s) |
static Sign | convert_sign (Sign2 s) |
Number type for interval arithmetics.
Interval class in "round to nearest" mode, by Richard Harris: https://accu.org/journals/overload/19/103/harris_1974/ Propagates proportional errors at a rate of 1+/-0.5eps Handles denormals properly (as a special case).
Definition at line 459 of file interval_nt.h.