Extracted from Pike v8.0 release 276 as of 2016-07-30.
   

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


Method `==

bool res = Gmp.mpf() == q