<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/bigdecimal/lib, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/bigdecimal] Update doc for bigdecimal/util</title>
<updated>2023-11-07T05:32:49+00:00</updated>
<author>
<name>Koichi ITO</name>
<email>koic.ito@gmail.com</email>
</author>
<published>2023-11-06T13:31:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f0abe610a3a4d6d334402951d3abfa0185b958ef'/>
<id>f0abe610a3a4d6d334402951d3abfa0185b958ef</id>
<content type='text'>
Follow up https://github.com/ruby/bigdecimal/issues/89.

`BigDecimal.new` has already been removed. This PR replaces `BigDecimal.new` with
`Kernel.BigDecimal` in the documentation, following the message below:

&gt; BigDecimal.new is deprecated; use Kernel.BigDecimal method instead.

https://github.com/ruby/bigdecimal/commit/26d84ba766e971da8eaaf2ce41e7b89935fa68da

https://github.com/ruby/bigdecimal/commit/dd52adf3b2
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow up https://github.com/ruby/bigdecimal/issues/89.

`BigDecimal.new` has already been removed. This PR replaces `BigDecimal.new` with
`Kernel.BigDecimal` in the documentation, following the message below:

&gt; BigDecimal.new is deprecated; use Kernel.BigDecimal method instead.

https://github.com/ruby/bigdecimal/commit/26d84ba766e971da8eaaf2ce41e7b89935fa68da

https://github.com/ruby/bigdecimal/commit/dd52adf3b2
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/bigdecimal] Stub out extension build on JRuby</title>
<updated>2023-02-17T17:52:48+00:00</updated>
<author>
<name>Charles Oliver Nutter</name>
<email>headius@headius.com</email>
</author>
<published>2023-02-08T20:01:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=becec0001c8eff1b763bed804e48a9ab71289fdd'/>
<id>becec0001c8eff1b763bed804e48a9ab71289fdd</id>
<content type='text'>
JRuby currently ships its own internal bigdecimal extension as
part of the core libraries. In order for users to be able to add
bigdecimal to their Gemfile or gem dependencies, we need to stub
out the C extension and just load the extension shipped with
JRuby.

In the future we will try to move our BigDecimal implementation
into the gem, but for now this is the simplest way to make it
installable on JRuby.

See #169

https://github.com/ruby/bigdecimal/commit/829956c643
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
JRuby currently ships its own internal bigdecimal extension as
part of the core libraries. In order for users to be able to add
bigdecimal to their Gemfile or gem dependencies, we need to stub
out the C extension and just load the extension shipped with
JRuby.

In the future we will try to move our BigDecimal implementation
into the gem, but for now this is the simplest way to make it
installable on JRuby.

See #169

https://github.com/ruby/bigdecimal/commit/829956c643
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/bigdecimal] Document precision=0 and ndigits=0 for converting from Float</title>
<updated>2022-09-28T00:29:49+00:00</updated>
<author>
<name>Maciej Rzasa</name>
<email>maciejrzasa@gmail.com</email>
</author>
<published>2022-07-29T09:33:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b8e804e410b9088fc7921fcf8b6a92a4fbb3006a'/>
<id>b8e804e410b9088fc7921fcf8b6a92a4fbb3006a</id>
<content type='text'>
https://github.com/ruby/bigdecimal/commit/4f0894c6c0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/bigdecimal/commit/4f0894c6c0
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/bigdecimal] Fix docs</title>
<updated>2022-04-18T01:29:25+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2022-04-13T17:30:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c69bdcf80c1711dc3bff0037333393c844186a57'/>
<id>c69bdcf80c1711dc3bff0037333393c844186a57</id>
<content type='text'>
rdoc parses f[i] as a link, which results in a broken link.

https://github.com/ruby/bigdecimal/commit/a18522e9ca
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rdoc parses f[i] as a link, which results in a broken link.

https://github.com/ruby/bigdecimal/commit/a18522e9ca
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/bigdecimal] Allow digits=0 in BigDecimal(flt) and Float#to_d</title>
<updated>2021-01-13T02:49:18+00:00</updated>
<author>
<name>Kenta Murata</name>
<email>mrkn@mrkn.jp</email>
</author>
<published>2021-01-13T01:28:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a5b4b806de3b130348a92aa3306fbb9318efb762'/>
<id>a5b4b806de3b130348a92aa3306fbb9318efb762</id>
<content type='text'>
Using dtoa of mode=0, we can determine the number of digits in decimal that is
necessary to represent the given Float number without errors.

This change permits digits=0 in BigDecimal(flt) and Float#to_d, and these
methods use dtoa of mode=0 when the given digits is 0.

Internal implicit conversion from Float also uses digits=0.

[Fix GH-70]

https://github.com/ruby/bigdecimal/commit/2dbe170e35
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using dtoa of mode=0, we can determine the number of digits in decimal that is
necessary to represent the given Float number without errors.

This change permits digits=0 in BigDecimal(flt) and Float#to_d, and these
methods use dtoa of mode=0 when the given digits is 0.

Internal implicit conversion from Float also uses digits=0.

[Fix GH-70]

https://github.com/ruby/bigdecimal/commit/2dbe170e35
</pre>
</div>
</content>
</entry>
<entry>
<title>[bigdecimal] Fix the default precision of Float#to_d</title>
<updated>2020-12-19T13:13:53+00:00</updated>
<author>
<name>Kenta Murata</name>
<email>mrkn@mrkn.jp</email>
</author>
<published>2020-12-18T14:46:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e1424c35012ccf1f3822c9046081b225aef4142e'/>
<id>e1424c35012ccf1f3822c9046081b225aef4142e</id>
<content type='text'>
Fix https://github.com/ruby/bigdecimal/issues/70
[Bug #13331]

https://github.com/ruby/bigdecimal/commit/aa536cd4b5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix https://github.com/ruby/bigdecimal/issues/70
[Bug #13331]

https://github.com/ruby/bigdecimal/commit/aa536cd4b5
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/bigdecimal] Add Complex#to_d</title>
<updated>2020-07-05T16:15:46+00:00</updated>
<author>
<name>Kenta Murata</name>
<email>mrkn@mrkn.jp</email>
</author>
<published>2019-10-09T01:39:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=03a33603c66bf6eca6937d221f87daf3f5a489f7'/>
<id>03a33603c66bf6eca6937d221f87daf3f5a489f7</id>
<content type='text'>
https://github.com/ruby/bigdecimal/commit/97e794ac97
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/bigdecimal/commit/97e794ac97
</pre>
</div>
</content>
</entry>
<entry>
<title>Import changes from ruby/bigdecimal (#2531)</title>
<updated>2019-10-08T00:06:28+00:00</updated>
<author>
<name>Kenta Murata</name>
<email>mrkn@users.noreply.github.com</email>
</author>
<published>2019-10-08T00:06:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dd0c75fdc2104a6ba38b68d4431a572504a3bbc2'/>
<id>dd0c75fdc2104a6ba38b68d4431a572504a3bbc2</id>
<content type='text'>
Sync to ruby/bigdecimal@92356ba71c6bd325b0ab618c634a7aecf8cdc767</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Sync to ruby/bigdecimal@92356ba71c6bd325b0ab618c634a7aecf8cdc767</pre>
</div>
</content>
</entry>
<entry>
<title>Import bigdecimal-1.4.0.pre.20181214a</title>
<updated>2018-12-14T03:33:53+00:00</updated>
<author>
<name>mrkn</name>
<email>mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2018-12-14T03:33:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=62b55d9483d72a11345300296190b1e9c0ffd652'/>
<id>62b55d9483d72a11345300296190b1e9c0ffd652</id>
<content type='text'>
* https://github.com/ruby/bigdecimal/compare/v1.4.0.pre.20181205a..v1.4.0.pre.20181214a

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* https://github.com/ruby/bigdecimal/compare/v1.4.0.pre.20181205a..v1.4.0.pre.20181214a

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>Import bigdecimal 1.4.0.pre.20181205a</title>
<updated>2018-12-05T11:30:24+00:00</updated>
<author>
<name>mrkn</name>
<email>mrkn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2018-12-05T11:30:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2810c12a99fed7297d558d8b1aaaf755eb8b8a2d'/>
<id>2810c12a99fed7297d558d8b1aaaf755eb8b8a2d</id>
<content type='text'>
* https://github.com/ruby/bigdecimal/compare/74d25ef..v1.4.0.pre.20181205a

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* https://github.com/ruby/bigdecimal/compare/74d25ef..v1.4.0.pre.20181205a

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
