gmp_mod Modulo operation Description resourcegmp_mod resourcen resourced Calculates n modulo d. The result is always non-negative, the sign of d is ignored. <function>gmp_mod</function> example ]]> The printout of the above program will be: