Mojourney

forfudan / decimo

An arbitrary-precision integer, decimal, binary floating-point, and rational library for Mojo, written in pure Mojo, with a 128-bit fixed-point decimal type as well.

GitHub ↗ · first seen in GH Archive 2026-10-08 (description / language) · 143,516 lines of Mojo in 251 files at the last of 423 commits (2025-02-28 to 2026-11-08)

Stars33as of 2026-11-23
Forks3as of 2026-11-23
Depends on1Mojo libraries, of 10 declared
Used by4census repos that depend on it
Second degree0more that depend on those
Open issues0
Watchers2
Created2025-02-281.7 years ago
Lines of Mojo143,516251 files
Commits4232025-02-28 to 2026-11-08
Contributors1commit authors, bots left out
Mojo version1.2.0from lock file
CategoryLibraries and toolsapproximate
Toolingpixi
Packagingnone
LicenseApache-2.0

Over time

  • Opened 406
  • Closed or merged 406

2025-03-02 to 2026-11-22; 406 issues and pull requests opened (8 issues, 398 pull requests), from GitHub by mojo_issues

Dependencies

Depends on forfudan/argmojo.

Used by forfudan/my-first-mojo-project, forfudan/symo, mojomath/linamo, neurallayer/roboquant-mojo.

Declared in its manifests at HEAD (toolchain left out): argmojo, auditwheel, gmpy2, mpmath, patchelf, pre-commit, python, python-build, ruff, twine.

Similar repos

RepoDescriptionSimilarity
forfudan/symoA symbolic computation library for Mojo, built on top of Decimo.84%
satoshin-des/MojoMathA Mojo-library for doing mathematics. This is under developping.81%
magayagalabs/MathMojoDefine Mathematical Library for Mojo 🔥81%
Mojo-Numerics-and-Algorithms-group/MojoSciNumerics for Mojo81%
avitkauskas/mojo-datastructsSome data structures that are not yet implemented in the standard library of Mojo.80%

By the cosine of the embeddings of each repo's name, description and topics: bge-small-en-v1.5 at bbddccb7, from snapshot 3454761910736014829 of mojo.repo_embeddings, which mojo_embed writes.

Stars per month

Stars (WatchEvents) and forks per month in GH Archive, 2023-01 to 2026-10012023-012023-052023-092024-012024-052024-092025-012025-052025-092026-012026-052026-09
  • stars
  • forks

2 stars over the months of GH Archive loaded so far (47; months in between aren't loaded yet), counted from its events.

Contributors per month

People with a commit each month, and the ones with their first, 2025-02 to 2026-11012025-022025-042025-062025-082025-102025-122026-022026-042026-062026-082026-10
  • contributors
  • new

1 people authored or co-authored its commits (every commit reachable from HEAD, Co-authored-by trailers included, bots left out), counted by email.

Releases and tags

DateTagNameFromMojo versionCommit
2026-10-24v0.16.0–git tag1.2.0c49b209ae9
2026-09-26v0.15.0–git tag1.1.00319125c37
2026-09-01v0.14.0–git tag1.0.0ffc697b60b
2026-08-22v0.13.0–git tag1.0.0a92426eb67
2026-08-12v0.12.0–git tag1.0.0d436e8cfd1
2026-07-02v0.11.0–git tag1.0.0e271f859a1
2026-05-13v0.10.0–git tag1.0.095f5ca4e91
2026-04-27cli-v0.10.0-alpha.1 pre-releaseDecimo CLI v0.10.0-alpha.1GitHub release0.26.2.0b4ec397301
2026-03-23v0.9.0–git tag0.26.2.01132e59aec
2026-02-25v0.8.0–git tag0.26.1.0b572a44aa0
2026-02-20tomlmojo_v0.7.0–git tag0.26.1.03d5ce72f8e
2026-02-11v0.7.0–git tag0.26.100a47934d2
2025-12-16v0.6.0–git tag0.25.7.00fab1a2349
2025-08-06v0.5.0–git tag25.502da4dc9ec
2025-06-30v0.4.1–git tag25.451c9832297
2025-06-25v0.4.0–git tag25.48ed3dabd73
2025-06-06v0.3.1–git tag25.2fd82601e93
2025-04-15v0.3.0–git tag25.2f2930f0832
2025-03-27v0.2.0–git tag25.2fba2fa8103
2025-03-05v0.1.0–git tag25.047f0a517f5

Issues and pull requests

0 open and 8 closed issues; 0 open, 398 merged and 0 closed pull requests, from GitHub by mojo_issues.

Pull requests

#TitleOpenedStateComments
406[doc] Merge docs/plans into docs/internal and make todo.md the one short to-do list2026-11-22merged0
405[doc] Plain wording in the manual + an internals appendix2026-11-22merged0
404[dec128] Read long strings correctly + `Dec128(x)` for integral scalars2026-11-21merged0
403[dec128] Fix // and %, tiny powers, exp below -128, and `compare_total` + sqrt of -02026-11-20merged0
402[doc] Add a Decimal128 part to the manual + document missing APIs and complete the appendices2026-11-19merged0
401[doc] Rewrite the manual's front page + plain page titles and fewer pages2026-11-19merged0
400[doc] Fix wrong examples in the user manual + make each page work on its own2026-11-19merged0
399[doc][ci] Prepare the user manual for the online book2026-11-18merged0
398[core] Construct every type from integer literals of any size + add `BigFloat.from_bigint_exactly()`2026-11-18merged0
397[bigdecimal] Fix directed rounding near 1 and powers of ten + round the calculator once2026-10-30merged0

Migrations

DateWhatFromToCommit
2025-02-28mojo_version–25.2.0.dev2025022805643198e039
2025-02-28toolingnonemagic643198e039
2025-03-02mojo_version25.2.0.dev202502280525.0a0cb909f86
2025-03-07mojo_version25.025.1bcd8799fb5
2025-03-23mojo_version25.125.25d4421f816
2025-05-16mojo_version25.225.3a1a1137c55
2025-06-06mojo_version25.325.2fd82601e93
2025-06-06toolingmagicpixifd82601e93
2025-06-25mojo_version25.225.48ed3dabd73
2025-07-31mojo_version25.4*baf2bc4e09
2025-08-06mojo_version*25.502da4dc9ec
2025-11-24mojo_version25.50.25.670148d18d0
2025-12-09mojo_version0.25.60.25.7.0aca68da6f4
2026-02-10mojo_version0.25.7.00.26.1.074c6d49c30
2026-02-11mojo_version0.26.1.00.26.100a47934d2
2026-02-16mojo_version0.26.10.26.1.0419ed5a5cd
2026-03-23mojo_version0.26.1.00.26.2.0270194cba4
2026-05-13mojo_version0.26.2.01.0.0cbe14e5286
2026-09-18mojo_version1.0.01.1.0d21d4e4527
2026-10-22mojo_version1.1.01.2.055f4a02fc1

Commits

Commit types: Feature 32% · Fix 9% · Mojo version 5% · Migration 0% · Refactor 14% · Performance 4% · Docs 12% · Tests 4% · Build and chores 2% · Other 17%

DateCommitTypeSubjectLines of MojoToolingMojo version
2026-11-0818f4729f26Fix +tests[bigfloat] Fix wrong last digits and errors in hypot, exp10, arctan2, sin, cos, root and power (#396)143,516pixi1.2.0
2026-11-045955b14287Fix +tests[bigdecimal] Fix directed rounding near 1 and powers of ten + round the calculator once (#397)143,054pixi1.2.0
2026-10-306d50af38f3Other +tests[bigdecimal] Refuse a scale that would overflow + round a sum without the digits between its operands (#395)142,611pixi1.2.0
2026-10-30cf0b715870Fix +tests +docs[bigdecimal] Take the other value of log, power, arctan2 and hypot by keyword (#394)142,047pixi1.2.0
2026-10-29e5cbcce96dRefactor +tests[bigfloat] Take the other value of log, power, hypot and arctan2 by keyword (#393)141,825pixi1.2.0
2026-10-290d95bbea9bFeature +tests[bigfloat] Add constructors from Int, Float64 and text, and the reflected and in-place operators (#392)141,735pixi1.2.0
2026-10-295e69cfad56Feature +tests +docs[bigfloat] Add trigonometric and hyperbolic methods + a precision on every method + `Numeric` trait (#391)141,293pixi1.2.0
2026-10-24c49b209ae9Docs +tests[doc][fix] Prepare the v0.16.0 release and refuse a digitless `Decimal128` string (#390)139,957pixi1.2.0
2026-10-2255f4a02fc1Mojo version +tests[mojo] Update the codebase to Mojo v1.2.0 (#388)139,833pixi1.2.0
2026-10-22663425088dFix +tests[bigfloat] Answer an argument beside a point where the value is exact (#389)139,772pixi1.1.0
2026-10-22bd191fb1e0Other +tests[bigdecimal] Answer a small argument rather than ask a loop that cannot (#387)138,501pixi1.1.0
2026-10-214ad35455f9Feature +tests[bigfloat] Implement `cot`, `csc`, and `sec` for `BigFloat` (#386)136,982pixi1.1.0
2026-10-21aa12852449Feature +tests[core] Implement hash for all types (#385)136,055pixi1.1.0
2026-10-1775edc32023Docs[bench] Time the transcendentals a user calls, not the series behind them (#384)135,646pixi1.1.0
2026-10-16ad7db3d44bOther +tests[bigdecimal] Let the rest of the library use the binary kernels (#383)135,633pixi1.1.0
2026-10-163361701a86Fix +tests[bigdecimal] Let the hyperbolic functions use the binary kernels (#382)135,446pixi1.1.0
2026-10-16c53a2a2785Other +tests[bigdecimal] Work the circular functions out in binary (#381)135,294pixi1.1.0
2026-10-12a25dcdbcaeDocs[docs] Put Rational and BigFloat in the README (#380)134,844pixi1.1.0
2026-10-126c19949a5dOther +tests[bigdecimal] Keep pi and e between calls (#379)134,736pixi1.1.0
2026-10-12e1b7eb83ffOther +tests[bigdecimal] Take pi from the thousand-digit table (#378)134,231pixi1.1.0
2026-10-12a35b01b131Other +tests[bigdecimal] Answer or refuse at the far end of the exponent range (#377)134,192pixi1.1.0
2026-10-126dd5860142Fix +tests +docs[bigdecimal] Work the inverse trigonometric functions out in binary (#376)133,967pixi1.1.0
2026-10-11ddd66d1b79Other[bigfloat] Take pi from the Chudnovsky series, shared with the decimal side (#375)133,597pixi1.1.0
2026-10-117b677c58fbFeature +tests[bigdecimal] Work the long transcendentals out in binary (#374)133,455pixi1.1.0
2026-10-11d0610407c8Fix +tests[bigfloat] Sum the long series in blocks (#373)132,912pixi1.1.0
2026-10-112db4995a7fFix +tests[bigfloat] Parse a decimal without building its power of ten (#372)132,464pixi1.1.0
2026-10-111659be670bFix +tests[bigfloat] Take the digits asked for, not the whole expansion (#371)131,832pixi1.1.0
2026-10-10433237b0aeOther +tests[rational] Fill the gaps the type was missing, and document it (#370)130,456pixi1.1.0
2026-10-10e8d3181170Refactor[bigfloat] Remove what was written twice, and a test that could not fire (#369)128,989pixi1.1.0
2026-10-10e3bd7178f1Docs[docs] Check every worked example, and fix the ones that were wrong (#368)129,005pixi1.1.0
2026-10-1091ee1bdc7bFix +tests[bigfloat] Keep the constants quick for small requests, and answer every angle (#367)129,005pixi1.1.0
2026-10-10207ecf956fTests[tests] Pin the contracts the suite could not see (#366)128,540pixi1.1.0
2026-10-1001e9f4e13eOther +tests[bigfloat] Work the power's exponents out in whole numbers of any size (#365)128,411pixi1.1.0
2026-10-1028e0d9b8dcFix +tests[bigfloat] Take a root of a high degree a different way (#364)128,176pixi1.1.0
2026-10-10a69fba06c0Fix +tests[bigfloat] Turn away an argument too large instead of stopping the program (#363)127,808pixi1.1.0
2026-10-10402be059c5Fix +tests[bigfloat] Answer the roundings the loop cannot decide (#362)127,709pixi1.1.0
2026-10-10fed49bea3bFix +tests[bigfloat] Round pi once for the angles on the axes (#361)127,475pixi1.1.0
2026-10-107b2c13a6a9Fix +tests[bigfloat][bigdecimal] Carry the bits a repeated squaring loses (#360)127,273pixi1.1.0
2026-10-09af363cd425Other +tests[bigdecimal] Refuse a precision that cannot be honoured (#359)126,927pixi1.1.0
2026-10-09ef2ec79e3eFeature +tests[bigfloat] Add the length and the angle of a point (#358)126,775pixi1.1.0
2026-10-09b92f0d73a9Feature +tests[bigfloat] Add roots of any degree, exact where the value has one (#357)125,054pixi1.1.0
2026-10-092ea39e9c81Fix +tests[bigdecimal] Answer a fractional power that lands on an exact value (#356)124,017pixi1.1.0
2026-10-0904576b40fdFeature +tests[bigfloat] Add the power, with its exact answers found before the series (#355)123,454pixi1.1.0
2026-10-097610064ee4Feature +tests[bigfloat] Add the other bases and the two functions that hold near zero (#354)121,859pixi1.1.0
2026-10-09a7fcde32a7Feature +tests[bigfloat] Add the IEEE 754 companion operations (#353)116,162pixi1.1.0
2026-10-09bb75b799aaRefactor +tests[bigdecimal] Round an integer power once, in the mode that was asked for (#352)112,609pixi1.1.0
2026-10-09955e83118aFeature +tests[bigint] Add the predicates and the two linear sequences (#333)112,092pixi1.1.0
2026-10-09a420986f9fFeature +tests[bigint] Add the quadratic residue symbols, modular square roots and the CRT (#349)110,943pixi1.1.0
2026-10-0995fbf4e9bcFeature +tests[bigint] Add integer factorization (#348)109,438pixi1.1.0
2026-10-09dfab92d41eFix +tests[bigfloat] Bring the logarithm's argument to one by square roots (#351)108,001pixi1.1.0

The latest 50 of 423 commits; all of them are in the JSON.