Skip to content

Commit 0e765eb

Browse files
committed
1 parent cffd1ba commit 0e765eb

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@ DeciMojo is available in the [modular-community](https://repo.prefix.dev/modular
3939

4040
From the `pixi` CLI, simply run ```pixi add decimojo```. This fetches the latest version and makes it immediately available for import.
4141

42-
For projects with a `mojoproject.toml`file, add the dependency ```decimojo = "==0.4.1"```. Then run `pixi install` to download and install the package.
42+
For projects with a `mojoproject.toml`file, add the dependency:
43+
44+
```toml
45+
decimojo = "==0.5.0"
46+
```
47+
48+
Then run `pixi install` to download and install the package.
4349

4450
For the latest development version, clone the [GitHub repository](https://github.com/forfudan/decimojo) and build the package locally.
4551

@@ -50,6 +56,7 @@ For the latest development version, clone the [GitHub repository](https://github
5056
| v0.3.0 | ==25.2 | magic |
5157
| v0.3.1 | >=25.2, <25.4 | pixi |
5258
| v0.4.x | ==25.4 | pixi |
59+
| v0.5.0 | ==25.4 | pixi |
5360

5461
## Quick start
5562

@@ -296,7 +303,7 @@ If you find DeciMojo useful for your research, consider listing it in your citat
296303
year = {2025},
297304
title = {An arbitrary-precision decimal and integer mathematics library for Mojo},
298305
url = {https://github.com/forfudan/decimojo},
299-
version = {0.4.1},
306+
version = {0.5.0},
300307
note = {Computer Software}
301308
}
302309
```

docs/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ This is a list of RELEASED changes for the DeciMojo Package.
1414
1. Refine the `BigUInt` multiplication with the Karatsuba algorithm. The time complexity of maltiplication is reduced from $O(n^2)$ to $O(n^{ln(3/2)})$ for large integers, which significantly improves performance for big numbers. Doubling the size of the numbers will only increase the time taken by a factor of about 3, instead of 4 as in the previous implementation (#97).
1515
1. The `__isub__` method of `BigUInt` will now conduct in-place subtraction. `x -= y` will not lead to memory allocation, but will modify the original `BigUInt` object `x` directly (#98).
1616
1. Refine the arithmetic operations of `BigUInt` when the second operand is one-word long or is a `UInt32` value (#98).
17+
1. Refine the division of `BigUInt` to improve performance (#98, #100).
1718
1. Add `to_uint64()` and `to_uint128()` methods to `BigUInt` to for fast type conversion (#91).
1819
1. Improve error messages and remove unnecessary `raises` keywords for all functions (#92).
1920

0 commit comments

Comments
 (0)