Geogram
Version 1.9.1
A programming library of geometric algorithms
|
Interval arithmetics in round to upper (RU) mode. More...
#include <geogram/numerics/interval_nt.h>
Classes | |
struct | Rounding |
Sets FPU rounding mode for using this type of interval. More... | |
Public Member Functions | |
intervalRU (double x) | |
intervalRU (double l, double u) | |
intervalRU (const intervalRU &rhs)=default | |
intervalRU (const expansion_nt &rhs) | |
intervalRU & | operator= (const intervalRU &rhs)=default |
intervalRU & | operator= (double rhs) |
intervalRU & | operator= (const expansion_nt &rhs) |
double | inf () const |
double | sup () const |
double | estimate () const |
bool | is_nan () const |
Sign2 | sign () const |
intervalRU & | negate () |
intervalRU & | operator+= (const intervalRU &x) |
intervalRU & | operator-= (const intervalRU &x) |
intervalRU & | operator*= (const intervalRU &b) |
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 | 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) |
Protected Attributes | |
double | ln_ |
double | u_ |
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) |
Interval arithmetics in round to upper (RU) mode.
Definition at line 212 of file interval_nt.h.