|
Graphite Version 3
An experimental 3D geometry processing program
|
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.
|
inline |
Definition at line 236 of file interval_nt.h.
|
inline |
Definition at line 244 of file interval_nt.h.
|
inline |
Definition at line 252 of file interval_nt.h.
|
inline |
Definition at line 258 of file interval_nt.h.
|
inlineprotected |
Definition at line 427 of file interval_nt.h.
|
inline |
Definition at line 331 of file interval_nt.h.
|
inline |
Definition at line 323 of file interval_nt.h.
|
inline |
Definition at line 336 of file interval_nt.h.
|
inline |
Definition at line 362 of file interval_nt.h.
|
inline |
Definition at line 388 of file interval_nt.h.
|
inline |
Definition at line 369 of file interval_nt.h.
|
inline |
Definition at line 378 of file interval_nt.h.
|
inline |
Definition at line 272 of file interval_nt.h.
|
inline |
Definition at line 264 of file interval_nt.h.
|
inline |
Definition at line 340 of file interval_nt.h.
|
inline |
Definition at line 327 of file interval_nt.h.
|
protected |
Definition at line 430 of file interval_nt.h.
|
protected |
Definition at line 431 of file interval_nt.h.