Skip to content

Commit a62af7a

Browse files
committed
Prepare for release
1 parent 4df1e12 commit a62af7a

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
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.17.0)
5+
## [0.17.0](https://github.com/brick/math/releases/tag/0.17.0) - 2026-03-17
66

77
💥 **Breaking changes**
88

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ existing code, etc.), `y` is incremented.
3838

3939
**When a breaking change is introduced, a new `0.x` version cycle is always started.**
4040

41-
It is therefore safe to lock your project to a given release cycle, such as `^0.16`.
41+
It is therefore safe to lock your project to a given release cycle, such as `^0.17`.
4242

4343
If you need to upgrade to a newer release cycle, check the [release history](https://github.com/brick/math/releases)
4444
for a list of changes introduced by each further `0.x.0` version.
@@ -47,11 +47,11 @@ 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.16.1/src/BigNumber.php): base class for `BigInteger`, `BigDecimal` and `BigRational`
51-
- [BigInteger](https://github.com/brick/math/blob/0.16.1/src/BigInteger.php): represents an arbitrary-precision integer number.
52-
- [BigDecimal](https://github.com/brick/math/blob/0.16.1/src/BigDecimal.php): represents an arbitrary-precision decimal number.
53-
- [BigRational](https://github.com/brick/math/blob/0.16.1/src/BigRational.php): represents an arbitrary-precision rational number (fraction), always reduced to lowest terms.
54-
- [RoundingMode](https://github.com/brick/math/blob/0.16.1/src/RoundingMode.php): enum representing all available rounding modes.
50+
- [BigNumber](https://github.com/brick/math/blob/0.17.0/src/BigNumber.php): base class for `BigInteger`, `BigDecimal` and `BigRational`
51+
- [BigInteger](https://github.com/brick/math/blob/0.17.0/src/BigInteger.php): represents an arbitrary-precision integer number.
52+
- [BigDecimal](https://github.com/brick/math/blob/0.17.0/src/BigDecimal.php): represents an arbitrary-precision decimal number.
53+
- [BigRational](https://github.com/brick/math/blob/0.17.0/src/BigRational.php): represents an arbitrary-precision rational number (fraction), always reduced to lowest terms.
54+
- [RoundingMode](https://github.com/brick/math/blob/0.17.0/src/RoundingMode.php): enum representing all available rounding modes.
5555

5656
And [exceptions](#exceptions) in the `Brick\Math\Exception` namespace.
5757

@@ -160,7 +160,7 @@ echo BigInteger::of(999)->dividedBy(3); // 333
160160
echo BigInteger::of(1000)->dividedBy(3); // RoundingNecessaryException
161161
```
162162

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

165165
```php
166166
echo BigInteger::of(1000)->dividedBy(3, RoundingMode::Down); // 333
@@ -183,7 +183,7 @@ You can even get both at the same time:
183183
##### BigDecimal
184184

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

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

0 commit comments

Comments
 (0)