- for (unsigned i = 0; i < TEST_CASES; ++i)
- {
- double d = (double)(rand()) / (double)(rand());
- Rational<Arbint> r(d);
- Debug("%f -> %s -> %s/%s", d, r.Str().c_str(), r.P.DigitStr().c_str(), r.Q.DigitStr().c_str());
-
-
-
- }
- printf("Tests done");