15 May
2022
15 May
'22
7:20 p.m.
I made a bigrat one! #include <gmpxx.h> #include <iostream> int main() { mpq_class a, b; a = 1; b = 3; std::cout << "1/3=" << (a/b) << std::endl; } // outputs 1/3=1/3