mirror of
https://github.com/danog/math.git
synced 2024-11-30 04:19:31 +01:00
45e3c3a463
This improves overall consistency of method names in the project. For example, it does not make sense to get the reciprocal of a BigRational using reciprocal(), but get its numerator using getNumerator(). List of renamed methods: - BigNumber::getSign() => sign() - BigDecimal::getUnscaledValue() => unscaledValue() - BigDecimal::getScale() => scale() - BigDecimal::getIntegral() => integral() - BigDecimal::getFraction() => fraction() - BigRational::getNumerator() => numerator() - BigRational::getDenominator() => denominator() |
||
---|---|---|
.. | ||
AbstractTestCase.php | ||
BigDecimalTest.php | ||
BigIntegerTest.php | ||
BigRationalTest.php | ||
CalculatorDetectTest.php |