This is a list of RELEASED changes for the DeciMojo Package. For the unreleased changes, please refer to changelog_unreleased.
DeciMojo v0.3.0 introduces the arbitrary-precision BigDecimal
type with comprehensive arithmetic operations, comparisons, and mathematical functions (sqrt
, root
, log
, exp
, power
). A new tomlmojo
package supports test refactoring. Improvements include refined BigUInt
constructors, enhanced scale_up_by_power_of_10()
functionality, and a critical multiplication bug fix.
BigDecimal
type with unlimited precision arithmetic.
BigDecimal
: addition, subtraction, multiplication, division, and modulo.BigDecimal
: less than, greater than, equal to, and not equal to.BigDecimal
.BigDecimal
: sqrt
, nroot
, log
, exp
, and power
functions.tomlmojo
to refactor tests (PR #63).BigUInt
(PR #64).BigUInt.scale_up_by_power_of_10()
(PR #72).BigUInt
multiplication where the calcualtion of carry is mistakenly skipped if a word of x2 is zero (PR #70).Version 0.2.0 marks a significant expansion of DeciMojo with the introduction of BigInt
and BigUInt
types, providing unlimited precision integer arithmetic to complement the existing fixed-precision Decimal
type. Core arithmetic functions for the Decimal
type have been completely rewritten using Mojo 25.2’s UInt128
, delivering substantial performance improvements. This release also extends mathematical capabilities with advanced operations including logarithms, exponentials, square roots, and n-th roots for the Decimal
type. The codebase has been reorganized into a more modular structure, enhancing maintainability and extensibility. With comprehensive test coverage, improved documentation in multiple languages, and optimized memory management, v0.2.0 represents a major advancement in both functionality and performance for numerical computing in Mojo.
BigInt
and BigUInt
implementation with unlimited precision integer arithmetic.BigInt
and BigUInt
: addition, subtraction, multiplication, division, modulo and power operations.BigInt
with proper handling of negative values.BigInt
and BigUInt
.Decimal
: square root and n-th root.Decimal
: natural logarithm, base-10 logarithm, and logarithm with arbitrary base.Decimal
.Decimal
type using UInt128
introduced in Mojo 25.2. This significantly improves the performance of Decimal
operations.Decimal
comparison operators for better handling of edge cases.Decimal
for better precision handling.Decimal
.BigInt
and BigUInt
with over 200 test cases covering all operations and edge cases.Decimal
and BigInt
.