├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml.dist ├── src └── Mathematician │ ├── Exception │ ├── AdapterSupportException.php │ ├── InvalidNumberException.php │ ├── InvalidPrecisionException.php │ ├── InvalidTypeException.php │ ├── MathematicianExceptionInterface.php │ ├── OutOfTypeRangeException.php │ └── UnsupportedNumericFormatException.php │ ├── Integer │ ├── Adapter │ │ ├── AbstractAdapter.php │ │ ├── AdapterInterface.php │ │ ├── BcMath.php │ │ └── Gmp.php │ └── Integer.php │ └── Number.php └── tests ├── Mathematician └── Test │ ├── AbstractMathematicianTest.php │ ├── Integer │ ├── Adapter │ │ ├── AbstractAdapterTest.php │ │ ├── BcMathTest.php │ │ └── GmpTest.php │ └── IntegerTest.php │ └── NumberTest.php └── bootstrap.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/phpunit.xml.dist -------------------------------------------------------------------------------- /src/Mathematician/Exception/AdapterSupportException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Exception/AdapterSupportException.php -------------------------------------------------------------------------------- /src/Mathematician/Exception/InvalidNumberException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Exception/InvalidNumberException.php -------------------------------------------------------------------------------- /src/Mathematician/Exception/InvalidPrecisionException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Exception/InvalidPrecisionException.php -------------------------------------------------------------------------------- /src/Mathematician/Exception/InvalidTypeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Exception/InvalidTypeException.php -------------------------------------------------------------------------------- /src/Mathematician/Exception/MathematicianExceptionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Exception/MathematicianExceptionInterface.php -------------------------------------------------------------------------------- /src/Mathematician/Exception/OutOfTypeRangeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Exception/OutOfTypeRangeException.php -------------------------------------------------------------------------------- /src/Mathematician/Exception/UnsupportedNumericFormatException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Exception/UnsupportedNumericFormatException.php -------------------------------------------------------------------------------- /src/Mathematician/Integer/Adapter/AbstractAdapter.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Integer/Adapter/AbstractAdapter.php -------------------------------------------------------------------------------- /src/Mathematician/Integer/Adapter/AdapterInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Integer/Adapter/AdapterInterface.php -------------------------------------------------------------------------------- /src/Mathematician/Integer/Adapter/BcMath.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Integer/Adapter/BcMath.php -------------------------------------------------------------------------------- /src/Mathematician/Integer/Adapter/Gmp.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Integer/Adapter/Gmp.php -------------------------------------------------------------------------------- /src/Mathematician/Integer/Integer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Integer/Integer.php -------------------------------------------------------------------------------- /src/Mathematician/Number.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/src/Mathematician/Number.php -------------------------------------------------------------------------------- /tests/Mathematician/Test/AbstractMathematicianTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/tests/Mathematician/Test/AbstractMathematicianTest.php -------------------------------------------------------------------------------- /tests/Mathematician/Test/Integer/Adapter/AbstractAdapterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/tests/Mathematician/Test/Integer/Adapter/AbstractAdapterTest.php -------------------------------------------------------------------------------- /tests/Mathematician/Test/Integer/Adapter/BcMathTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/tests/Mathematician/Test/Integer/Adapter/BcMathTest.php -------------------------------------------------------------------------------- /tests/Mathematician/Test/Integer/Adapter/GmpTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/tests/Mathematician/Test/Integer/Adapter/GmpTest.php -------------------------------------------------------------------------------- /tests/Mathematician/Test/Integer/IntegerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/tests/Mathematician/Test/Integer/IntegerTest.php -------------------------------------------------------------------------------- /tests/Mathematician/Test/NumberTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/tests/Mathematician/Test/NumberTest.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Rican7/mathematician/HEAD/tests/bootstrap.php --------------------------------------------------------------------------------