- Fix ArrayView being detached
- Use Node.js v20
- Removed truncate parameter from toString()
- Added toInterval()
- Fixed bug with string formatting and removal of trailing zeros
- Update GMP version to 6.3.0
- Update MPFR version to 4.2.1
- Update Emscripten
- Add truncate parameter to Float().toString() and mpfr_to_string()
- Change default float precision to 53 (previously it was 52) to match double type
- Performance improvements. Custom tuning for GMP
- Remove some rarely used functions like mpfr_get_patches() to make the bundle smaller
- Rename mpfr_get_pretty_string() to mpfr_to_string()
- Add mpz_to_string() and mpq_to_string() helpers
- Add mpz_set_string(), mpz_init_set_string(), mpq_set_string(), mpfr_set_string(), mpfr_init_set_string() helpers
- Add radix parameter to Rational.toString()
- Add missing mpq_numref(), mpq_denref() functions
- Add mpfr_get_pretty_string() function
- Fix path of TS type declarations
- BREAKING CHANGES:
- exponent2() was renamed to exponent()
- isPrime() was renamed to isProbablyPrime()
- New documentation based on TypeDoc
- More strict TS types
- Update all dependencies
- Fix uninitialized usage of mpz_t (by Yuri Stuken)
- Support setting radix for Float string operations (by Yuri Stuken)
- Add mini bundle without Float / MPFR functions
- Accept string parameter for common operations in the high level wrapper
- Add toFixed() to floats
- Use JS representation of @NaN@ and @Inf@, when serializing into a string
- Add toFloat(), toRational(), toInteger() methods