13 #ifdef USE_CLN_NUMBERS
21 int main (
int argc,
char** argv)
45 std::cout <<
"Magnitudes: " << mag <<
" MPQ: " << mpqInterval <<
" -> "<< magMpq <<
" CLN:" << clnInterval <<
" -> " << magCln << std::endl;
49 result = doubleInterval.log();
51 mpfrInterval.log_assign();
53 std::cout <<
"Result: " << result <<
" and mpfr: " << mpfrInterval << std::endl;
int main(int argc, char **argv)
@ WEAK
the given bound is compared by a weak ordering relation
@ STRICT
the given bound is compared by a strict ordering relation
Number magnitude() const
Returns the magnitude of the interval.
Templated wrapper class which allows universal usage of different IEEE 754 implementations.