Skip to content

Commit 07ff363

Browse files
committed
Prepare for release
1 parent 45e9eac commit 07ff363

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## UNRELEASED (0.14.7)
5+
## [0.14.7](https://github.com/brick/math/releases/tag/0.14.7) - 2026-02-07
66

77
**New features**
88

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@ for a list of changes introduced by each further `0.x.0` version.
4747

4848
This library provides the following public classes in the `Brick\Math` namespace:
4949

50-
- [BigNumber](https://github.com/brick/math/blob/0.14.6/src/BigNumber.php): base class for `BigInteger`, `BigDecimal` and `BigRational`
51-
- [BigInteger](https://github.com/brick/math/blob/0.14.6/src/BigInteger.php): represents an arbitrary-precision integer number.
52-
- [BigDecimal](https://github.com/brick/math/blob/0.14.6/src/BigDecimal.php): represents an arbitrary-precision decimal number.
53-
- [BigRational](https://github.com/brick/math/blob/0.14.6/src/BigRational.php): represents an arbitrary-precision rational number (fraction).
54-
- [RoundingMode](https://github.com/brick/math/blob/0.14.6/src/RoundingMode.php): enum representing all available rounding modes.
50+
- [BigNumber](https://github.com/brick/math/blob/0.14.7/src/BigNumber.php): base class for `BigInteger`, `BigDecimal` and `BigRational`
51+
- [BigInteger](https://github.com/brick/math/blob/0.14.7/src/BigInteger.php): represents an arbitrary-precision integer number.
52+
- [BigDecimal](https://github.com/brick/math/blob/0.14.7/src/BigDecimal.php): represents an arbitrary-precision decimal number.
53+
- [BigRational](https://github.com/brick/math/blob/0.14.7/src/BigRational.php): represents an arbitrary-precision rational number (fraction).
54+
- [RoundingMode](https://github.com/brick/math/blob/0.14.7/src/RoundingMode.php): enum representing all available rounding modes.
5555

5656
And the following exceptions in the `Brick\Math\Exception` namespace:
5757

58-
- [MathException](https://github.com/brick/math/blob/0.14.6/src/Exception/MathException.php): base class for all exceptions
59-
- [DivisionByZeroException](https://github.com/brick/math/blob/0.14.6/src/Exception/DivisionByZeroException.php): thrown when a division by zero occurs
60-
- [IntegerOverflowException](https://github.com/brick/math/blob/0.14.6/src/Exception/IntegerOverflowException.php): thrown when attempting to convert a too large `BigInteger` to `int`
61-
- [NumberFormatException](https://github.com/brick/math/blob/0.14.6/src/Exception/NumberFormatException.php): thrown when parsing a number string in an invalid format
62-
- [RoundingNecessaryException](https://github.com/brick/math/blob/0.14.6/src/Exception/RoundingNecessaryException.php): thrown when the result of the operation cannot be represented without explicit rounding
63-
- [NegativeNumberException](https://github.com/brick/math/blob/0.14.6/src/Exception/NegativeNumberException.php): thrown when attempting to calculate the square root of a negative number
58+
- [MathException](https://github.com/brick/math/blob/0.14.7/src/Exception/MathException.php): base class for all exceptions
59+
- [DivisionByZeroException](https://github.com/brick/math/blob/0.14.7/src/Exception/DivisionByZeroException.php): thrown when a division by zero occurs
60+
- [IntegerOverflowException](https://github.com/brick/math/blob/0.14.7/src/Exception/IntegerOverflowException.php): thrown when attempting to convert a too large `BigInteger` to `int`
61+
- [NumberFormatException](https://github.com/brick/math/blob/0.14.7/src/Exception/NumberFormatException.php): thrown when parsing a number string in an invalid format
62+
- [RoundingNecessaryException](https://github.com/brick/math/blob/0.14.7/src/Exception/RoundingNecessaryException.php): thrown when the result of the operation cannot be represented without explicit rounding
63+
- [NegativeNumberException](https://github.com/brick/math/blob/0.14.7/src/Exception/NegativeNumberException.php): thrown when attempting to calculate the square root of a negative number
6464

6565
### Overview
6666

@@ -173,7 +173,7 @@ echo BigInteger::of(999)->dividedBy(3); // 333
173173
echo BigInteger::of(1000)->dividedBy(3); // RoundingNecessaryException
174174
```
175175

176-
You can pass an optional [rounding mode](https://github.com/brick/math/blob/0.14.6/src/RoundingMode.php) to round the result, if necessary:
176+
You can pass an optional [rounding mode](https://github.com/brick/math/blob/0.14.7/src/RoundingMode.php) to round the result, if necessary:
177177

178178
```php
179179
echo BigInteger::of(1000)->dividedBy(3, RoundingMode::Down); // 333
@@ -196,7 +196,7 @@ You can even get both at the same time:
196196
##### BigDecimal
197197

198198
Dividing a `BigDecimal` always requires a scale to be specified. If the exact result of the division does not fit in
199-
the given scale, a [rounding mode](https://github.com/brick/math/blob/0.14.6/src/RoundingMode.php) must be provided.
199+
the given scale, a [rounding mode](https://github.com/brick/math/blob/0.14.7/src/RoundingMode.php) must be provided.
200200

201201
```php
202202
echo BigDecimal::of(1)->dividedBy('8', 3); // 0.125

0 commit comments

Comments
 (0)