BWAPI
|
#include <CGAL/CORE/extLong.h>
Go to the source code of this file.
Defines | |
#define | DEFAULT_CORE_LEVEL 3 |
default accuracy level | |
#define | CORE_INFTY (CORE_posInfty) |
short hand for positive infinity | |
Functions | |
void | setDefaultPrecision (const extLong &r, const extLong &a) |
set default composite precision [defAbsPrec, defRelPrec] | |
extLong | setDefaultRelPrecision (const extLong &r) |
set default relative precision | |
extLong | setDefaultAbsPrecision (const extLong &a) |
set default absolute precision | |
extLong | setDefaultInputDigits (const extLong &d) |
set default input digits (for Expr, Real) | |
long | setDefaultOutputDigits (long d=defOutputDigits, std::ostream &o=std::cout) |
set default output digits (for Expr, Real) | |
long | setDefaultBFInputDigits (long d) |
set default input digits for BigFloat | |
long | setDefaultBFOutputDigits (long d) |
set default output digits for BigFloat | |
bool | setFpFilterFlag (bool f) |
turn floating-point filter on/off | |
bool | setIncrementalEvalFlag (bool f) |
turn incremental evaluation flag on/off | |
bool | setProgressiveEvalFlag (bool f) |
turn progressive evaluation flag on/off | |
long | setDefInitialProgressivePrec (long n) |
set initial bit precision for progressive evaluation: | |
bool | setRationalReduceFlag (bool f) |
turn rational reduction flag on/off | |
void | CORE_init (long d) |
CORE_init(..) is the CORE initialization function. | |
void | setScientificFormat (std::ostream &o=std::cout) |
change to scientific output format | |
void | setPositionalFormat (std::ostream &o=std::cout) |
change to positional output format | |
Variables | |
bool | AbortFlag |
Abort Flag -- default value is true. | |
int | InvalidFlag |
Invalid Flag -- initiallly value is non-negative. | |
extLong | EscapePrec |
Escape Precision in bits. | |
long | EscapePrecFlag |
current ur when EscapePrec triggered | |
bool | EscapePrecWarning |
Escape Precision Warning Flag. | |
extLong | defRelPrec |
default Relative Precision in bits | |
extLong | defAbsPrec |
default Absolute Precision in bits | |
long | defBigFloatOutputDigits |
default # of decimal digits for conversion from a BF to string. | |
extLong | defInputDigits |
default input precision in digits for converting a string to a Real or Expr | |
long | defOutputDigits |
controls the printout precision of std::cout for Real and Expr | |
long | defBigFloatInputDigits |
default input precision in digits for converting a string to a BigFloat | |
extLong | defBFdivRelPrec |
default BigFloat Division Relative Precision | |
extLong | defBFsqrtAbsPrec |
default BigFloat Sqrt Absolute Precision | |
bool | fpFilterFlag |
floating point filter flag | |
bool | incrementalEvalFlag |
if true, evaluation of expressions would be incremental | |
bool | progressiveEvalFlag |
progressive evaluation flag | |
bool | rationalReduceFlag |
rational reduction flag | |
long | defInitialProgressivePrec |
default initial (bit) precision for AddSub Progressive Evaluation |
#define CORE_INFTY (CORE_posInfty) |
short hand for positive infinity
#define DEFAULT_CORE_LEVEL 3 |
default accuracy level
void CORE_init | ( | long | d | ) | [inline] |
CORE_init(..) is the CORE initialization function.
We recommend calling it before anything else. Originally motivated by need to get around gnu's compiler bug in which the variable "defAbsPrec" was not properly initialized. But it has other uses, e.g., overriding the default std::cout precision (most systems initializes this value to 6) to our own
extLong setDefaultAbsPrecision | ( | const extLong & | a | ) | [inline] |
set default absolute precision
long setDefaultBFInputDigits | ( | long | d | ) | [inline] |
set default input digits for BigFloat
long setDefaultBFOutputDigits | ( | long | d | ) | [inline] |
set default output digits for BigFloat
extLong setDefaultInputDigits | ( | const extLong & | d | ) | [inline] |
long setDefaultOutputDigits | ( | long | d = defOutputDigits , |
std::ostream & | o = std::cout |
||
) | [inline] |
void setDefaultPrecision | ( | const extLong & | r, |
const extLong & | a | ||
) | [inline] |
set default composite precision [defAbsPrec, defRelPrec]
It determines the precision to which an Expr evaluates its (exact, implicit) constant value.
extLong setDefaultRelPrecision | ( | const extLong & | r | ) | [inline] |
set default relative precision
long setDefInitialProgressivePrec | ( | long | n | ) | [inline] |
set initial bit precision for progressive evaluation:
bool setFpFilterFlag | ( | bool | f | ) | [inline] |
turn floating-point filter on/off
bool setIncrementalEvalFlag | ( | bool | f | ) | [inline] |
turn incremental evaluation flag on/off
void setPositionalFormat | ( | std::ostream & | o = std::cout | ) | [inline] |
change to positional output format
bool setProgressiveEvalFlag | ( | bool | f | ) | [inline] |
turn progressive evaluation flag on/off
bool setRationalReduceFlag | ( | bool | f | ) | [inline] |
turn rational reduction flag on/off
void setScientificFormat | ( | std::ostream & | o = std::cout | ) | [inline] |
change to scientific output format
bool AbortFlag |
Abort Flag -- default value is true.
The normal behavior is to abort when an invalid expression is constructed. This flag can be used to turn off this abort. In any case, an error message will be printed
default Absolute Precision in bits
default BigFloat Division Relative Precision
default input precision in digits for converting a string to a BigFloat
This value cannot be CORE_INFTY.
default # of decimal digits for conversion from a BF to string.
This value cannot be CORE_INFTY. See also defOutputDigits.
default initial (bit) precision for AddSub Progressive Evaluation
long defOutputDigits |
default Relative Precision in bits
Escape Precision in bits.
long EscapePrecFlag |
current ur when EscapePrec triggered
this flag becomes negative when default EscapePrec is applied
bool EscapePrecWarning |
Escape Precision Warning Flag.
this flag is true by default, and will cause a warning to be printed when EscapePrec is reached
bool fpFilterFlag |
floating point filter flag
bool incrementalEvalFlag |
if true, evaluation of expressions would be incremental
int InvalidFlag |
Invalid Flag -- initiallly value is non-negative.
If the Abort Flag is false, then the Invalid flag will be set to a negative value whenever an invalid expression is constructed. It is the user's responsibility to check this flag and to make it non-negative again.
bool progressiveEvalFlag |
progressive evaluation flag
bool rationalReduceFlag |
rational reduction flag