public function findCommonRadixRoot(NumberBase $base)
    {
        $common = array_intersect($this->getRadixRoots(), $base->getRadixRoots());

        return count($common) > 0 ? max($common) : false;
    }
public function findCommonRadixRoot(NumberBase $base)
    {
        $common = array_intersect($this->getRadixRoots(), $base->getRadixRoots());

        return count($common) > 0 ? max($common) : false;
    }
public function findCommonRadixRoot ( NumberBase $ base ) { $ common = array_intersect ( $ this -> getRadixRoots ( ) , $ base -> getRadixRoots ( ) ) ; return count ( $ common ) > 0 ? max ( $ common ) : false ; }
Finds the largest integer root shared by the radix of both numeral systems.
@param NumberBase $base Numeral system to compare against
@return int|false Highest common integer root or false if none
Finds the largest integer root shared by the radix of both numeral systems .