Faster gamma and lgamma calculation using Lagrange interpolation [GH-524]
@tompng
Bit-burst algorithm version of BigMath.erf and BigMath.erfc [GH-458]
@tompng
Fix Newton-Raphson division bugs: precision loss, out-of-bounds write, and missing GC guard for the divisor [GH-548] [GH-552] [GH-553]
@OskarEichler @tompng
Fix GC safety issues around RB_GC_GUARD and string arguments [GH-536] [GH-556]
@tompng
Honor exception: false for Complex and strings with null bytes [GH-549] [GH-550]
@OskarEichler
Make String#to_d accept embedded NUL bytes and reject ASCII-incompatible strings [GH-557]
@tompng
Correct nullable BigDecimal conversion RBS signature [GH-551]
@OskarEichler
Declare TypedData with RUBY_TYPED_THREAD_SAFE_FREE [GH-541]
@byroot
Fix unused-but-set-global warnings in clang-23 [GH-540]
@nobu
Fix dtoa Ractor-safety bug. Update dtoa to version from Ruby 4.0 [GH-528]
@jhawthorn
Optimize BigDecimal#to_s [GH-519]
@byroot
Make BigDecimal object embedded [GH-507]
@byroot
Multiplication with 16-decdig batch [GH-501] [GH-511]
@tompng
Drop Ruby 2.5 support [GH-505]
@tompng
Performance improvements: NTT multiplication, Newton-Raphson division, bit-burst algorithm for exp/sin, Gauss-Legendre for PI, improved log, and faster add/sub for large exponent differences [GH-407] [GH-433] [GH-434] [GH-478] [GH-484]
@tompng
Remove ENABLE_NUMERIC_STRING flag [GH-479]
@tompng
Add RBS signature and testing [GH-488] [GH-492]
@ksss
Fix erfc(x,prec) precision when x is huge [GH-502]
@tompng
Fix error compiling with ruby.wasm [GH-504]
@tompng
Fix warning [GH-475]
@tompng
BigDecimal#divmod return value changed to [Integer, BigDecimal] [GH-312]
@mrzasa
Remove BigDecimal#precs [GH-470]
@tompng
BigMath now supports all functions defined in Math module [GH-336] [GH-357] [GH-451] [GH-448]
@tompng
Fix incorrect exception when exponent is fractional for Infinity base [GH-453]
@troy-dunamu
Deprecate bigdecimal/jacobian, bigdecimal/ludcmp and bigdecimal/newton [GH-471]
@tompng
All BigMath methods converts non integer precision with to_int
@tompng
Allow calling to_d without arguments [GH-421]
@fsateler
Calculate BigMath.sin and cos in relative precision [GH-422]
@tompng
Add support for tangent function [GH-231]
@rhannequin
BigMath methods accepts numeric as an argument [GH-415]
@tompng
Round result of sqrt and BigMath methods [GH-427]
@tompng
Allow BigDecimal accept Float without precision [GH-314]
@mrzasa
Ruby implementation pow, log, exp and sqrt [GH-347] [GH-381]
@tompng
Update document [GH-348] [GH-360] [GH-365]
@timcraft @dduugg @mame
Lots of bug fixes and refactoring
Make precision calculation in bigdecimal.div(value, 0) gc-compaction safe. [GH-340]
@tompng
Fix division precision limit. [GH-335]
@tompng
Fix division rounding. [GH-330] [GH-328]
@tompng
Fix exponential precision growth in division. [GH-329] [GH-220] [GH-222] [GH-272]
@tompng
Accept no digits in the fractional part (#302)
@kou
Add missing documents [GH-277]
@nobu
Fix memory leak in VpAlloc [GH-294] [GH-290]
Reported by @MaxLap
make test-bundled-gems with the released version of bigdecimal.Add LICENSE file to gem files [GH-282]
@oleksii-leonov
Add .to_s(‘F’) digit grouping for integer part [GH-264]
@cryptogopher
Handle correctly #reminder with infinity. Fixes [GH-187] [GH-243]
@mrzasa
struct RRational and struct RComplex . [GH-233]Fix the maximum precision of the quotient. [GH-220]
Reported by @grk
Fix the result precision of BigDecimal#divmod. [GH-219]
Kenta Murata
Improve documentation [GH-209]
Burdette Lamar
Let BigDecimal#quo accept precision. [GH-214] [Bug #8826]
Reported by Földes László
Allow passing both float and precision in BigDecimal#div. [GH-212] [Bug #8826]
Reported by Földes László
Add BigDecimal#scale and BigDecimal#precision_scale
Kenta Murata
Fix a bug of BigDecimal#precision for the case that a BigDecimal has single internal digit [GH-205]
Kenta Murata
Fix segmentation fault due to a bug of VpReallocReal
Kenta Murata
Use larger precision in divide for irrational or recurring results. [GH-94] [Bug #13754]
Reported by Lionel PERRIN
Fix negative Bignum conversion [GH-196]
Jean byroot Boussier
Fix grammar in error messages. [GH-196]
Olle Jonsson
Improve the conversion speed of Kernel#BigDecimal and to_d methods.
Kenta Murata
Fix trailing zeros handling in rb_uint64_convert_to_BigDecimal. [GH-192]
Reported by @kamipo
Permit 0 digits in BigDecimal(float) and Float#to_d. It means auto-detection of the smallest number of digits to represent the given Float number without error. [GH-180]
Kenta Murata
Fix precision issue of Float. [GH-70] [Bug #13331]
Reported by @casperisfine
This version is totally same as 3.0.0. This was released for reverting 3.0.1.
This version is yanked due to the remaining bugs.
Deprecate BigDecimal#precs.
Kenta Murata
Add BigDecimal#n_significant_digits.
Kenta Murata
Add BigDecimal#precision.
Kenta Murata
Ractor support.
Kenta Murata
Fix a bug of the way to undefine allocate method.
Kenta Murata
Fix the default precision of Float#to_d. [Bug #13331]
Kenta Murata
Deprecate taint/trust and related methods, and make the methods no-ops
Jeremy Evans
Make BigDecimal#round with argument < 1 return Integer
Jeremy Evans
Use higher default precision for BigDecimal#power and #**
Jeremy Evans Kenta Murata
Let BigDecimal#to_s return US-ASCII string
Kenta Murata
Remove BigDecimal.new
Kenta Murata
Drop fat-gem support
Akira Matsuda
Do not mutate frozen BigDecimal argument in BigMath.exp
Jeremy Evans
Make Kernel#BigDecimal return argument if given correct type [Bug #7522]
Jeremy Evans
Undef BigDecimal#initialize_copy
Jeremy Evans
Support conversion from Complex without the imaginary part
Kenta Murata
Remove taint checking
Jeremy Evans
Code maintenance
Nobuyoshi Nakada
Fix String#to_d against the string with trailing “e” like “1e”
Ibrahim Awwal
Add BigDecimal.interpret_loosely, use it in String#to_d, and remove bigdecimal/util.so and rmpd_util_str_to_d
Kenta Murata
Restore subclassing support
Kenta Murata
Fix gem installation issue on mingw32.
Kenta Murata
Fix wrong packaging.
Ben Ford
Update documentation of exception: keyword.
Victor Shepelev
Fix VpAlloc so that ‘1.2.3’.to_d is 1.2
Nobuyoshi Nakada
Restore BigDecimal.new just for version 1.4 for very old version of Rails
Kenta Murata
Support exception: keyword in BigDecimal()
Kenta Murata
Remove BigDecimal#initialize
Kenta Murata
Fix the string parsing logic in BigDecimal() to follow Float()
Kenta Murata
Fix String#to_d to follow String#to_f
Kenta Murata
Update BigDecimal#inspect documentation
Dana Sherson
Remove BigDecimal.ver, BigDecimal.allocate, and BigDecimal.new
Kenta Murata
No more support Ruby < 2.3
Kenta Murata
Make BigDecimal objects frozen
Kenta Murata
Remove division by zero from the internal implementation
Urabe, Shyouhei
Add NilClass#to_d
Jose Ramon Camacho
Stop deprecation warning in dup and clone, and just return self
Kenta Murata
Improve warning message in BigDecimal.new
Masataka Pocke Kuwabara
Introduce BigDecimal::VERSION, deprecate BigDecimal.ver, and follow this version string to gem's version.
Kenta Murata
Deprecate BigDecimal.new
Kenta Murata
Deprecate BigDecimal#clone and #dup
Kenta Murata
Relax the dependent version of rake-compiler
yui-knk
Works for better windows cross-compilation support
SHIBATA Hiroshi
Use Bundler::GemHelper.install_tasks instead of bundler/gem_tasks
SHIBATA Hiroshi
Remove the old gemspec file
yui-knk
Fix for mathn removal in Ruby 2.5
SHIBATA Hiroshi
Update ruby versions in .travis.yml
Jun Aruga
Add tests for BigDecimal#truncate
yui-knk
Add tests for BigDecimal#round
yui-knk
Fix error message for precision argument
Marcus Stollsteimer
Omitted.