summaryrefslogtreecommitdiff
path: root/test/ruby/test_complex.rb
AgeCommit message (Expand)Author
2024-02-27Handle zero-like imaginary part as zero in to_r (#9581)Kenta Murata
2024-02-26[Bug #20296] Fix the default assertion messageNobuyoshi Nakada
2024-02-26[Bug #20296] Refine the testNobuyoshi Nakada
2024-02-26[Bug #20296] Clear errinfo when `exception: false`Nobuyoshi Nakada
2023-11-21[Bug #11183] Fix rb_complex_pow for special anglesKouhei Yanagita
2022-12-02[Bug #19087] Disallow successive underscores in Complex stringNobuyoshi Nakada
2022-10-23Reduce type check of arguments at Complex creationNobuyoshi Nakada
2022-10-23Update Complex.polar with Complex testsNobuyoshi Nakada
2022-09-02Consider Complex from Complex casesNobuyoshi Nakada
2022-09-02[Bug #18937] Coerce non-real non-Numeric into Complex at comparisonsNobuyoshi Nakada
2022-08-22[Bug #18937] Coerce non-Numeric into Complex at comparisonsNobuyoshi Nakada
2022-08-12Remove Numeric#ceildivKouhei Yanagita
2022-08-12Add Numeric#ceildiv and Integer#ceildivKouhei Yanagita
2020-09-16Fix assertion failed in Complex.polar without NDEBUG (#3551)Kenta Murata
2019-09-21Make Kernel#{Pathname,BigDecimal,Complex} return argument if given correct typeJeremy Evans
2019-07-11Check exception flag as a bool [Bug #15987]Nobuyoshi Nakada
2019-06-19Implement Complex#<=>Jeremy Evans
2019-01-12No TypeError at nil if exception: falsenobu
2019-01-07complex.c (f_divide): canonicalize a quotientmrkn
2019-01-03test_complex.rb: use the same approach to fix failuresk0kubun
2019-01-03test_complex.rb: fix tests for RUBYOPT="-w"k0kubun
2019-01-02complex.c: fix against redefining component methodsmrkn
2019-01-01suppress warning: method redefined; discarding old + introduced at r66681naruse
2019-01-01complex.c: Optimize Complex#+ for some conditionsmrkn
2018-10-20complex.c: small optimization of Complex#**nobu
2018-09-01complex.c: simplify division resultnobu
2018-03-15Add `exception:` keyword in Kernel#Complex()mrkn
2018-03-07complex.c: check typenobu
2018-03-07complex.c: check typenobu
2018-01-30force fixablenobu
2017-10-19freeze Complex and Rationalnobu
2017-10-16test_complex.rb: NaN Complexnobu
2017-09-27complex.c: no overflownobu
2017-09-27complex.c: no overflownobu
2016-11-29get rid of ambiguous parentheses warningsnobu
2016-10-24complex.c: undefine Comparable methodsnobu
2016-10-24refine assertionsnobu
2016-10-24complex.c: undefine clampnobu
2016-07-17numeric.c, complex.c: Add finite? and infinite? consistent with Floatmrkn
2016-05-21hash method valuesnobu
2016-05-17Use Integer instead of Fixnum and Bignum.akr
2015-12-16Add frozen_string_literal: false for all filesnaruse
2015-09-28preserve encodings in error messagesnobu
2015-06-06* Move test cases from test/ruby/test_complex.rb to test/test_cmath.rbgogotanaka
2015-06-01test/ruby/test_complex.rb: Add test for CMath.log2gogotanaka
2015-05-22* complex.c (f_complex_polar): simple bug reproduced only when y isusa
2015-02-24* lib/cmath.rb (log): raise ArgumentError when more than 2 argumentsgogotanaka
2015-02-24complex.c: multiply as rotationnobu
2014-08-27* test/ruby/test_complex.rb: removed unreachable code.hsbt
2014-08-26* test/ruby/test_complex.rb: cherry-picked working assertions from r47251.hsbt