src/NumberSystem.php
public function equals(NumberSystem $comparedNumberSystem)
    {
        if ($this->getBase() !== $comparedNumberSystem->getBase() ||
            $this->getSymbolIndex() !== $comparedNumberSystem->getSymbolIndex()
        ) {
            return false;
        }

        return true;
    }
public function equals(NumberSystem $comparedNumberSystem)
    {
        if ($this->getBase() !== $comparedNumberSystem->getBase() ||
            $this->getSymbolIndex() !== $comparedNumberSystem->getSymbolIndex()
        ) {
            return false;
        }

        return true;
    }
Compare two number systems.

@param NumberSystem $comparedNumberSystem

@return bool