#include <rational.h>
Collaboration diagram for CVCL::Rational:
Definition at line 49 of file rational.h.
|
Private constructor.
Definition at line 327 of file rational-gmp.cpp. References getCreated(), and printStats(). |
|
Default constructor.
Definition at line 310 of file rational-gmp.cpp. References getCreated(), and printStats(). Referenced by getDenominator(), getNumerator(), and operator-(). |
|
Copy constructor.
Definition at line 318 of file rational-gmp.cpp. References getCreated(), and printStats(). |
|
Definition at line 334 of file rational-gmp.cpp. References getCreated(), and printStats(). |
|
Definition at line 342 of file rational-gmp.cpp. References getCreated(), and printStats(). |
|
|
|
Definition at line 358 of file rational-gmp.cpp. References getCreated(), and printStats(). |
|
|
|
Definition at line 375 of file rational-gmp.cpp. References d_n, getDeleted(), and printStats(). |
|
Definition at line 57 of file rational.h. Referenced by printStats(), and Rational(). |
|
Definition at line 62 of file rational.h. Referenced by printStats(), and ~Rational(). |
|
Definition at line 524 of file rational-gmp.cpp. References d_n, std::endl(), getCreated(), and getDeleted(). Referenced by Rational(), and ~Rational(). |
|
Definition at line 393 of file rational-gmp.cpp. References d_n. |
|
|
Definition at line 479 of file rational-gmp.cpp. References toString(). |
|
Definition at line 489 of file rational-gmp.cpp. References d_n, and Rational(). |
|
Definition at line 493 of file rational-gmp.cpp. |
|
Definition at line 498 of file rational-gmp.cpp. |
|
Definition at line 503 of file rational-gmp.cpp. |
|
Definition at line 508 of file rational-gmp.cpp. |
|
Prefix increment.
Definition at line 113 of file rational.h. |
|
Postfix increment.
Definition at line 115 of file rational.h. |
|
Prefix decrement.
Definition at line 117 of file rational.h. |
|
Postfix decrement.
Definition at line 119 of file rational.h. |
|
Definition at line 385 of file rational-gmp.cpp. References d_n, and Rational(). Referenced by CVCL::TheoryArith::computeNormalFactor(), and CVCL::TheoryArith::printRational(). |
|
Definition at line 387 of file rational-gmp.cpp. References d_n, and Rational(). Referenced by CVCL::TheoryArith::computeNormalFactor(), and CVCL::TheoryArith::printRational(). |
|
|
|
Definition at line 130 of file rational.h. References isInteger(). |
|
Definition at line 518 of file rational-gmp.cpp. References CVCL::checkInt(), and d_n. |
|
Definition at line 484 of file rational-gmp.cpp. References std::endl(). |
|
Definition at line 536 of file rational-gmp.cpp. |
|
Definition at line 540 of file rational-gmp.cpp. |
|
Definition at line 544 of file rational-gmp.cpp. |
|
Definition at line 548 of file rational-gmp.cpp. |
|
Definition at line 552 of file rational-gmp.cpp. |
|
Definition at line 556 of file rational-gmp.cpp. |
|
Definition at line 560 of file rational-gmp.cpp. |
|
Definition at line 564 of file rational-gmp.cpp. |
|
Definition at line 568 of file rational-gmp.cpp. |
|
Definition at line 572 of file rational-gmp.cpp. |
|
Definition at line 576 of file rational-gmp.cpp. |
|
|
|
Definition at line 418 of file rational-gmp.cpp. |
|
|
|
Definition at line 440 of file rational-gmp.cpp. |
|
|
|
Definition at line 456 of file rational-gmp.cpp. |
|
Compute the floor of x (result is an integer).
Definition at line 461 of file rational-gmp.cpp. |
|
Compute the ceiling of x (result is an integer).
Definition at line 465 of file rational-gmp.cpp. |
|
Compute non-negative remainder for *integer* x,y.
Definition at line 469 of file rational-gmp.cpp. |
|