1
0
mirror of https://github.com/danog/math.git synced 2025-01-22 21:51:22 +01:00

BigInteger, BigDecimal and BigRational are now final

This commit is contained in:
Benjamin Morel 2015-06-22 12:51:21 +02:00
parent c343e0aeb9
commit 8b2d6781cd
3 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ use Brick\Math\Internal\Calculator;
/** /**
* Immutable, arbitrary-precision signed decimal numbers. * Immutable, arbitrary-precision signed decimal numbers.
*/ */
class BigDecimal extends BigNumber implements \Serializable final class BigDecimal extends BigNumber implements \Serializable
{ {
/** /**
* The unscaled value of this decimal number. * The unscaled value of this decimal number.

View File

@ -10,7 +10,7 @@ use Brick\Math\Internal\Calculator;
* All methods accepting a number as a parameter accept either a BigInteger instance, * All methods accepting a number as a parameter accept either a BigInteger instance,
* an integer, or a string representing an arbitrary size integer. * an integer, or a string representing an arbitrary size integer.
*/ */
class BigInteger extends BigNumber implements \Serializable final class BigInteger extends BigNumber implements \Serializable
{ {
/** /**
* The value, as a string of digits with optional leading minus sign. * The value, as a string of digits with optional leading minus sign.

View File

@ -7,7 +7,7 @@ namespace Brick\Math;
* *
* This class is immutable. * This class is immutable.
*/ */
class BigRational extends BigNumber implements \Serializable final class BigRational extends BigNumber implements \Serializable
{ {
/** /**
* The numerator. * The numerator.