Extracted from Pike v8.0 release 358 as of 2016-11-23.
   

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


Method `==

bool res = Gmp.mpf() == q