lib/BN.php
public function mod(BN $num) {
        if (assert_options(ASSERT_ACTIVE)) assert(!$num->isZero());
        $res = clone($this);
        $res->bi = $res->bi->divR($num->bi);
        return $res;
    }
public function mod(BN $num) {
        if (assert_options(ASSERT_ACTIVE)) assert(!$num->isZero());
        $res = clone($this);
        $res->bi = $res->bi->divR($num->bi);
        return $res;
    }
public function mod ( BN $ num ) { if ( assert_options ( ASSERT_ACTIVE ) ) assert ( ! $ num -> isZero ( ) ) ; $ res = clone ( $ this ) ; $ res -> bi = $ res -> bi -> divR ( $ num -> bi ) ; return $ res ; }
Find `this` % `num`
Find this % num