To determine if two rationals are equal, mpq_equal
is faster than
mpq_cmp
.
This routine allows that num2 and den2 have common factors.
This function is actually implemented as a macro. It evaluates its arguments multiple times.
This function is actually implemented as a macro. It evaluates its arguments multiple times.
mpq_cmp
can be used for the same purpose, this
function is much faster.
Go to the first, previous, next, last section, table of contents.