<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/bignum.c, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) 19e539c9ee1701b34189fa0c1feb942adeb0e326: [Backport #21814]</title>
<updated>2026-01-13T01:05:12+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2026-01-13T01:05:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=893dcb5f25cbb0574ae73aa8fc926fd26750a27f'/>
<id>893dcb5f25cbb0574ae73aa8fc926fd26750a27f</id>
<content type='text'>
	[PATCH] [Bug #21814] Fix negative bignum modulo

	If modulo is zero, do not  apply bias even if the divisor is zero.
	`BIGNUM_POSITIVE_P` is true even on bignum zero.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[PATCH] [Bug #21814] Fix negative bignum modulo

	If modulo is zero, do not  apply bias even if the divisor is zero.
	`BIGNUM_POSITIVE_P` is true even on bignum zero.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for `u128`, `U128`, `s128` and `S128` integers to `IO::Buffer`. (#15399)</title>
<updated>2025-12-06T02:55:32+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@shopify.com</email>
</author>
<published>2025-12-06T02:55:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a7dc53b91c8475323b34d5a332fdb25d190e277d'/>
<id>a7dc53b91c8475323b34d5a332fdb25d190e277d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Never shrink bignum on realloc</title>
<updated>2025-12-05T14:21:17+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2025-11-03T23:48:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=930afa1c7ba747658cc4253c2cb6a367d7a6a36b'/>
<id>930afa1c7ba747658cc4253c2cb6a367d7a6a36b</id>
<content type='text'>
As far as I can tell, this only ever shrinks by one, and it's really not
worth the expensive realloc for that.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As far as I can tell, this only ever shrinks by one, and it's really not
worth the expensive realloc for that.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use VWA for bignum</title>
<updated>2025-12-05T14:21:17+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john@hawthorn.email</email>
</author>
<published>2025-11-03T05:13:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b0c9286d98929db56514d8009040fe206b3d310f'/>
<id>b0c9286d98929db56514d8009040fe206b3d310f</id>
<content type='text'>
Previously we only allocated bignums from the 40 byte sizepool, and
embedded bignum used a fixed size.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously we only allocated bignums from the 40 byte sizepool, and
embedded bignum used a fixed size.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clear out memory for rb_big_new</title>
<updated>2025-09-17T13:25:17+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-09-16T17:24:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=58ece00dd50ffe92ba142fb51b0adc7d5a356752'/>
<id>58ece00dd50ffe92ba142fb51b0adc7d5a356752</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve performance of bignum[beg, len] (#14007)</title>
<updated>2025-07-29T16:34:13+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2025-07-29T16:34:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a66e4f21542aae99bde7c50e7af4fb0283a81070'/>
<id>a66e4f21542aae99bde7c50e7af4fb0283a81070</id>
<content type='text'>
Implement rb_big_aref2.
Taking a small slice from large bignum was slow in rb_int_aref2.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement rb_big_aref2.
Taking a small slice from large bignum was slow in rb_int_aref2.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bigand_int edgecase returning false (#13987)</title>
<updated>2025-07-23T17:12:12+00:00</updated>
<author>
<name>tomoya ishida</name>
<email>tomoyapenguin@gmail.com</email>
</author>
<published>2025-07-23T17:12:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5e5cec1b86837653b2106af377561045f4bbecef'/>
<id>5e5cec1b86837653b2106af377561045f4bbecef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bignum nogvl is offload safe. (#12132)</title>
<updated>2024-11-21T00:46:27+00:00</updated>
<author>
<name>Samuel Williams</name>
<email>samuel.williams@oriontransfer.co.nz</email>
</author>
<published>2024-11-21T00:46:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=89deb38736ccfb89a2de82a6087ce0723ba700e4'/>
<id>89deb38736ccfb89a2de82a6087ce0723ba700e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Check bignum multiplication digits overflow</title>
<updated>2024-11-08T15:08:03+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-11-08T10:04:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=39537e07fe606b8b05ce2a07368f1341fe96db5d'/>
<id>39537e07fe606b8b05ce2a07368f1341fe96db5d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid interger multiplication overflow</title>
<updated>2024-11-08T10:48:56+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2024-11-08T06:46:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c348a4fd7ae7b50cc8839693aab87457a0aba6f7'/>
<id>c348a4fd7ae7b50cc8839693aab87457a0aba6f7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
