summaryrefslogtreecommitdiff
path: root/test/ruby/test_complex.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix assertion failed in Complex.polar without NDEBUG (#3551)Kenta Murata2020-09-161-0/+5
* Make Kernel#{Pathname,BigDecimal,Complex} return argument if given correct typeJeremy Evans2019-09-211-0/+4
* Check exception flag as a bool [Bug #15987]Nobuyoshi Nakada2019-07-111-0/+6
* Implement Complex#<=>Jeremy Evans2019-06-191-4/+10
* No TypeError at nil if exception: falsenobu2019-01-121-0/+6
* complex.c (f_divide): canonicalize a quotientmrkn2019-01-071-5/+7
* test_complex.rb: use the same approach to fix failuresk0kubun2019-01-031-12/+6
* test_complex.rb: fix tests for RUBYOPT="-w"k0kubun2019-01-031-0/+12
* complex.c: fix against redefining component methodsmrkn2019-01-021-5/+68
* suppress warning: method redefined; discarding old + introduced at r66681naruse2019-01-011-0/+3
* complex.c: Optimize Complex#+ for some conditionsmrkn2019-01-011-0/+30
* complex.c: small optimization of Complex#**nobu2018-10-201-0/+4
* complex.c: simplify division resultnobu2018-09-011-0/+7
* Add `exception:` keyword in Kernel#Complex()mrkn2018-03-151-0/+21
* complex.c: check typenobu2018-03-071-0/+14
* complex.c: check typenobu2018-03-071-0/+12
* force fixablenobu2018-01-301-2/+6
* freeze Complex and Rationalnobu2017-10-191-4/+0
* test_complex.rb: NaN Complexnobu2017-10-161-0/+6
* complex.c: no overflownobu2017-09-271-0/+3
* complex.c: no overflownobu2017-09-271-0/+3
* get rid of ambiguous parentheses warningsnobu2016-11-291-1/+1
* complex.c: undefine Comparable methodsnobu2016-10-241-6/+4
* refine assertionsnobu2016-10-241-42/+42
* complex.c: undefine clampnobu2016-10-241-0/+1
* numeric.c, complex.c: Add finite? and infinite? consistent with Floatmrkn2016-07-171-0/+24
* hash method valuesnobu2016-05-211-2/+2
* Use Integer instead of Fixnum and Bignum.akr2016-05-171-2/+2
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* preserve encodings in error messagesnobu2015-09-281-0/+3
* * Move test cases from test/ruby/test_complex.rb to test/test_cmath.rbgogotanaka2015-06-061-104/+0
* test/ruby/test_complex.rb: Add test for CMath.log2gogotanaka2015-06-011-0/+4
* * complex.c (f_complex_polar): simple bug reproduced only when y isusa2015-05-221-0/+1
* * lib/cmath.rb (log): raise ArgumentError when more than 2 argumentsgogotanaka2015-02-241-3/+3
* complex.c: multiply as rotationnobu2015-02-241-0/+7
* * test/ruby/test_complex.rb: removed unreachable code.hsbt2014-08-271-64/+30
* * test/ruby/test_complex.rb: cherry-picked working assertions from r47251.hsbt2014-08-261-0/+6
* * test/ruby/test_complex.rb: removed needless conditions.hsbt2014-08-241-122/+58
* * test/ruby/test_complex.rb: removed commented-out code.hsbt2014-08-221-58/+0
* * test/ruby/test_complex.rb: fixed broken tests. Math is nothsbt2014-08-221-28/+29
* test/ruby: better assertionsnobu2013-12-131-13/+13
* * complex.c (make_patterns): should not accept extra sign.tadf2012-11-171-0/+1
* test_complex.rb, test_rational.rb: revert some assertionsnobu2012-07-261-1/+6
* complex.c, rational.c: compatible marshal loadernobu2012-07-251-7/+8
* revert some teststadf2012-06-221-2/+0
* * complex.c: wrote Complex#_dump and Complex::load. But nowtadf2012-06-031-0/+2
* * complex.c (nucomp_marshal_load): [ruby-core:45394]tadf2012-06-031-0/+5
* Exclude json/add/complex.rb.naruse2012-03-121-1/+1
* * complex.c (nucomp_rationalize): fix function. [ruby-core:40667]nobu2011-11-021-0/+1
* * complex.c (nucomp_rationalize): calls rationalize of real part ifmrkn2011-08-101-0/+5