Extracted from Pike v8.0 release 182 as of 2016-03-26.
   

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


Method `==

bool res = Gmp.mpf() == q