1
0
mirror of https://github.com/danog/math.git synced 2024-11-27 04:14:40 +01:00
Go to file
2014-08-31 14:31:00 +02:00
src Import from the incubator 2014-08-31 12:13:46 +00:00
tests Changed tests namespace to Brick\Math\Tests 2014-08-31 14:24:10 +02:00
.gitignore Import from the incubator 2014-08-31 12:13:46 +00:00
composer.json Added composer.json 2014-08-31 14:25:54 +02:00
LICENSE Updated license year 2014-08-31 14:26:10 +02:00
phpunit.xml Added phpunit configuration file 2014-08-31 14:31:00 +02:00
README.md Added README 2014-08-31 14:17:36 +02:00

Brick\Math

Provides the BigInteger and BigDecimal classes to work with arbitrary precision numbers.

This component uses the GMP and BCMath extensions for fast computation when they are available, but can also fall back to a native PHP implementation, guaranteeing that it will work on any PHP installation. All of this is totally transparent to the developer, as the component auto-detects the fastest implementation available at runtime.

BigInteger and BigDecimal are serializable.