Geogram  Version 1.9.1-rc
A programming library of geometric algorithms
GEO::intervalRU Class Reference

Interval arithmetics in round to upper (RU) mode. More...

#include <geogram/numerics/interval_nt.h>

Inheritance diagram for GEO::intervalRU:
GEO::intervalBase

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)
 
intervalRUoperator= (const intervalRU &rhs)=default
 
intervalRUoperator= (double rhs)
 
intervalRUoperator= (const expansion_nt &rhs)
 
double inf () const
 
double sup () const
 
double estimate () const
 
bool is_nan () const
 
Sign2 sign () const
 
intervalRUnegate ()
 
intervalRUoperator+= (const intervalRU &x)
 
intervalRUoperator-= (const intervalRU &x)
 
intervalRUoperator*= (const intervalRU &b)
 
- Public Member Functions inherited from GEO::intervalBase
 intervalBase (double x)
 
 intervalBase (const intervalBase &rhs)=default
 
intervalBaseoperator= (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)
 

Detailed Description

Interval arithmetics in round to upper (RU) mode.

Definition at line 212 of file interval_nt.h.


The documentation for this class was generated from the following file: