aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/core/complex
Commit message (Collapse)AuthorAgeFilesLines
* Update to ruby/spec@f8a2d54Benoit Daloze2020-01-281-1/+1
|
* Update to ruby/spec@875a09eBenoit Daloze2019-07-2711-33/+33
|
* Implement Complex#<=>Jeremy Evans2019-06-191-0/+27
| | | | | | | | | | | Implement Complex#<=> so that it is usable as an argument when calling <=> on objects of other classes (since #coerce will coerce such numbers to Complex). If the complex number has a zero imaginary part, and the other argument is a real number (or complex number with zero imaginary part), return -1, 0, or 1. Otherwise, return nil, indicating the objects are not comparable. Fixes [Bug #15857]
* Update to ruby/spec@15c9619Benoit Daloze2019-04-272-52/+46
|
* Update to ruby/spec@241f9e7eregon2018-09-2537-44/+698
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@c1b568beregon2018-03-0437-42/+42
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@83063a3eregon2018-01-2918-22/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update to ruby/spec@a6b8805eregon2017-10-282-0/+70
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Move spec/rubyspec to spec/ruby for consistencyeregon2017-09-2039-0/+548
* Other ruby implementations use the spec/ruby directory. [Misc #13792] [ruby-core:82287] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e