<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/test/ruby/test_complex.rb, branch v3_4_9</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Make Complex#{inspect,to_s} work correctly if real part #inspect returns frozen string</title>
<updated>2024-09-21T18:00:23+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2024-09-20T21:57:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9f574fa12f0cbe9d7aa4a11a6c7055ed32f02822'/>
<id>9f574fa12f0cbe9d7aa4a11a6c7055ed32f02822</id>
<content type='text'>
Make static f_format function take a non-frozen string to append
to.

This does not result in an additional allocation for #inspect,
but it does result in an additional allocation for #to_s.

Fixes [Bug #20337]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make static f_format function take a non-frozen string to append
to.

This does not result in an additional allocation for #inspect,
but it does result in an additional allocation for #to_s.

Fixes [Bug #20337]
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle zero-like imaginary part as zero in to_r (#9581)</title>
<updated>2024-02-27T00:37:03+00:00</updated>
<author>
<name>Kenta Murata</name>
<email>3959+mrkn@users.noreply.github.com</email>
</author>
<published>2024-02-27T00:37:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=54a5b829442eb7ed1f4a2794ebb26696cf784e64'/>
<id>54a5b829442eb7ed1f4a2794ebb26696cf784e64</id>
<content type='text'>
Fixes [Bug #5179]</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes [Bug #5179]</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #20296] Fix the default assertion message</title>
<updated>2024-02-26T03:29:23+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-02-26T03:29:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a0f7de814ae5c299d6ce99bed5fb308a05d50ba0'/>
<id>a0f7de814ae5c299d6ce99bed5fb308a05d50ba0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #20296] Refine the test</title>
<updated>2024-02-26T02:56:38+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-02-26T02:30:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f23d5028059078a346efc977287b669d494a5a3f'/>
<id>f23d5028059078a346efc977287b669d494a5a3f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #20296] Clear errinfo when `exception: false`</title>
<updated>2024-02-26T02:56:38+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-02-26T01:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dc146babf47a84bbd1f176d766637d4a40327019'/>
<id>dc146babf47a84bbd1f176d766637d4a40327019</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #11183] Fix rb_complex_pow for special angles</title>
<updated>2023-11-21T05:06:26+00:00</updated>
<author>
<name>Kouhei Yanagita</name>
<email>yanagi@shakenbu.org</email>
</author>
<published>2023-11-16T11:32:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=04eb40b633397d03e4cbce41418626f4fabdcb02'/>
<id>04eb40b633397d03e4cbce41418626f4fabdcb02</id>
<content type='text'>
Add a special treatment for when the argument of self is an
integral multiple of 45 degrees.

  1i ** (10 ** 100)         #=&gt; 1+0i
  1i ** (10 ** 100 + 1)     #=&gt; 0+1i
  (1+1i) ** (10 ** 100)     # warning: in a**b, b may be too big
                            #=&gt; (Infinity+0.0i)
  (1+1i) ** (10 ** 100 + 1) # warning: in a**b, b may be too big
                            #=&gt; (Infinity+Infinity*i)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a special treatment for when the argument of self is an
integral multiple of 45 degrees.

  1i ** (10 ** 100)         #=&gt; 1+0i
  1i ** (10 ** 100 + 1)     #=&gt; 0+1i
  (1+1i) ** (10 ** 100)     # warning: in a**b, b may be too big
                            #=&gt; (Infinity+0.0i)
  (1+1i) ** (10 ** 100 + 1) # warning: in a**b, b may be too big
                            #=&gt; (Infinity+Infinity*i)
</pre>
</div>
</content>
</entry>
<entry>
<title>[Bug #19087] Disallow successive underscores in Complex string</title>
<updated>2022-12-01T16:35:45+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-28T10:28:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c0dc717c45fc3abc64a337c3481bc4555b675d87'/>
<id>c0dc717c45fc3abc64a337c3481bc4555b675d87</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce type check of arguments at Complex creation</title>
<updated>2022-10-23T07:44:43+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-23T04:42:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=86450d03a8c1570571c20452578cb923060e1d1f'/>
<id>86450d03a8c1570571c20452578cb923060e1d1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Complex.polar with Complex tests</title>
<updated>2022-10-23T03:46:13+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-10-23T03:46:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=0d9628e0decc6c2c7ca0ca4e7ecbf7e4d025959b'/>
<id>0d9628e0decc6c2c7ca0ca4e7ecbf7e4d025959b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Consider Complex from Complex cases</title>
<updated>2022-09-02T05:33:23+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2022-08-31T04:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b5cf3564471af6e11760bf381251f918cdcd7398'/>
<id>b5cf3564471af6e11760bf381251f918cdcd7398</id>
<content type='text'>
The assertions that "an argument of a Complex constructor must not be
a Complex" may not hold for some Numeric objects.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The assertions that "an argument of a Complex constructor must not be
a Complex" may not hold for some Numeric objects.
</pre>
</div>
</content>
</entry>
</feed>
