Benjamin Morel
|
115455238b
|
Clean up unused imports
|
2015-06-12 01:20:44 +02:00 |
|
Benjamin Morel
|
4f4b9531ed
|
Add BigInteger::gcd()
This computes the greatest common divisor of two large integers.
|
2015-06-11 23:35:47 +02:00 |
|
Benjamin Morel
|
1f577afe11
|
Add BigInteger::remainder() method
This allows to return the remainder of the division only.
|
2015-06-11 22:31:07 +02:00 |
|
Benjamin Morel
|
2c35d6fc5b
|
Fix negative numbers not supported by toString()
|
2015-06-08 00:12:50 +02:00 |
|
Benjamin Morel
|
e9da17c78d
|
Add getSign() method to BigInteger and BigDecimal
|
2015-06-07 14:48:49 +02:00 |
|
Benjamin Morel
|
536e6414e6
|
Performance optimizations
|
2015-06-05 22:17:20 +02:00 |
|
Benjamin Morel
|
908e73e8e4
|
unserialize() now throws an exception when called directly
This guarantees that immutability cannot be broken.
|
2015-06-04 12:14:42 +02:00 |
|
Benjamin Morel
|
9ab6358fc2
|
min() and max() now use variadics
|
2015-05-22 13:19:08 +02:00 |
|
Benjamin Morel
|
4d18be75e1
|
Tests now run a single calculator instance at a time
|
2015-01-27 17:38:31 +01:00 |
|
Benjamin Morel
|
61968fcee9
|
Added BigInteger::power()
|
2014-09-01 19:10:04 +02:00 |
|
Benjamin Morel
|
2b8ebcd55e
|
Changed tests namespace to Brick\Math\Tests
|
2014-08-31 14:24:10 +02:00 |
|
Benjamin Morel
|
5dfd5c45d0
|
Import from the incubator
|
2014-08-31 12:13:46 +00:00 |
|