Nemo fmpq rationals

For objects of type fmpq, numerator and denominator are accessed via the functions numerator and denominator. Accessing the internal fields is not encouraged and not part of the interface. (These are the same functions used to access the numerator and denominator of Rational).

2 Likes