Extracted from Pike v8.0 release 28 as of 2015-08-03.
   

Method Gmp.mpq()->`==()


Method `==

bool res = Gmp.mpq() == q