decimal 2.0.0

Arbitrary precision floating-point decimal


Correctly-rounded arbitrary precision decimal floating-point arithmetic in PHP 7

License: MIT License

Changes

- Default decimal precision changed from 28 to 34.
- Decimal operations now use the **minimum** precision of all operands.
- Added `Decimal\Rational` implementation for rational numbers (fractions).
- Added `Decimal\Number` abstract class.
- Performance improvements, reduced object allocations.
- Private constructors, static initializers via `valueOf`.