Skip to content

Commit 7d0f1cb

Browse files
committed
Prepare for release
1 parent 40e59bd commit 7d0f1cb

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.16.0)
5+
## [0.16.0](https://github.com/brick/math/releases/tag/0.16.0) - 2026-03-06
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.15`.
41+
It is therefore safe to lock your project to a given release cycle, such as `^0.16`.
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.15.0/src/BigNumber.php): base class for `BigInteger`, `BigDecimal` and `BigRational`
51-
- [BigInteger](https://github.com/brick/math/blob/0.15.0/src/BigInteger.php): represents an arbitrary-precision integer number.
52-
- [BigDecimal](https://github.com/brick/math/blob/0.15.0/src/BigDecimal.php): represents an arbitrary-precision decimal number.
53-
- [BigRational](https://github.com/brick/math/blob/0.15.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.15.0/src/RoundingMode.php): enum representing all available rounding modes.
50+
- [BigNumber](https://github.com/brick/math/blob/0.16.0/src/BigNumber.php): base class for `BigInteger`, `BigDecimal` and `BigRational`
51+
- [BigInteger](https://github.com/brick/math/blob/0.16.0/src/BigInteger.php): represents an arbitrary-precision integer number.
52+
- [BigDecimal](https://github.com/brick/math/blob/0.16.0/src/BigDecimal.php): represents an arbitrary-precision decimal number.
53+
- [BigRational](https://github.com/brick/math/blob/0.16.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.16.0/src/RoundingMode.php): enum representing all available rounding modes.
5555

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

@@ -163,7 +163,7 @@ echo BigInteger::of(999)->dividedBy(3); // 333
163163
echo BigInteger::of(1000)->dividedBy(3); // RoundingNecessaryException
164164
```
165165

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

168168
```php
169169
echo BigInteger::of(1000)->dividedBy(3, RoundingMode::Down); // 333
@@ -186,7 +186,7 @@ You can even get both at the same time:
186186
##### BigDecimal
187187

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

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

0 commit comments

Comments
 (0)