summaryrefslogtreecommitdiff
path: root/test/ruby/test_numeric.rb
Commit message (Expand)AuthorAgeFilesLines
* merge revision(s) dd28c55a7cd6780dad637b4d6a20507fbfc6af4a: [Backport #19445]nagachika2023-03-211-0/+3
* Use Rational for Float#round with ndigits > 14Jeremy Evans2021-08-061-0/+8
* Make Float#floor with ndigits argument handle errorJeremy Evans2021-07-271-0/+9
* Fix integer/float remainder with infinity argument of opposite signJeremy Evans2021-03-121-0/+12
* numeric.c, range.c: prohibit zero stepKenta Murata2020-10-231-20/+16
* bignum.c (rb_int_powm): Integer#pow(0, 1) should return 0Yusuke Endoh2020-10-121-0/+20
* Update tests for full keyword argument separationJeremy Evans2020-01-021-6/+3
* Reword keyword arguments warning messages to convey these are deprecation war...Marc-Andre Lafortune2019-12-231-1/+1
* vm_args.c: rephrase the warning message of keyword argument separationYusuke Endoh2019-12-201-1/+1
* Suppress keyword argument warning from #stepNobuyoshi Nakada2019-09-301-0/+8
* Make rb_scan_args handle keywords more similar to Ruby methods (#2460)Jeremy Evans2019-09-251-3/+4
* Inspect dynamic symbol as well as static symbolNobuyoshi Nakada2019-08-251-0/+4
* Removed unused variablesNobuyoshi Nakada2019-06-301-1/+0
* numeric.c: Fix negative step with float componentsmrkn2019-01-241-0/+14
* enumerator.c: Introduce Enumerator::ArithmeticSequencemrkn2018-08-061-2/+10
* test_numeric.rb: loose precision assertionnobu2018-04-261-1/+0
* numeric.c: Fix Integer#pow with a large Fixnum modulomrkn2017-12-301-0/+5
* Revert r61192 and r61193eregon2017-12-121-6/+4
* Use EnvUtil.with_default_external in tests needing iteregon2017-12-121-4/+6
* `Integer#pow(b)` accepts numerickazu2017-12-061-0/+4
* bignum.c, numeric.c: add Integer#pow(b, m)mrkn2017-12-041-0/+14
* no longer rescue exceptions of #coerce in Integer#steperegon2017-04-251-2/+2
* no longer rescue exceptions in numeric comparison operationseregon2017-04-251-6/+4
* Rename RbConfig::Limits as RbConfig::LIMITSnobu2017-04-061-1/+1
* test: use RbConfig::Limitsnobu2017-03-021-1/+1
* numeric.c: Numeric#clone and #dupnobu2017-02-221-4/+10
* numeric.c: fix up r55891nobu2016-10-221-0/+27
* just check Integernobu2016-05-211-2/+2
* Use Integer instead of Fixnum and Bignum.akr2016-05-171-2/+2
* [Feature #12005] Unify Fixnum and Bignum into Integerakr2016-05-171-1/+1
* * test/ruby/test_numeric.rb (test_step): Use Integer::FIXNUM_MAX.akr2016-05-011-2/+1
* assertions.rb: set default internal encodingnobu2016-04-091-12/+8
* numeric.c: wrong type step should raise TypeErrornobu2016-02-261-2/+2
* numeric.c: fix segfaultnobu2016-02-161-0/+10
* * test/ruby/test_numeric.rb (test_nonzero_p): added test for String#nonzero?hsbt2016-01-051-0/+12
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* numeric.c: Numeric#positive? and Numeric#negative?nobu2015-05-171-0/+24
* test_numeric.rb: separate dummy classesnobu2015-05-171-87/+35
* * test/ruby/test_numeric.rb (TestNumeric#test_coerce): fixed wrong message.usa2015-01-121-1/+1
* numeric.c: correct error message when coerce failsnormal2015-01-121-0/+4
* * test/lib/envutil.rb: Moved from test/ruby/.akr2014-11-131-1/+0
* * numeric.c (do_coerce): Add a warning when an exception is raisederegon2014-06-071-0/+17
* numeric.c: check keyword argumentsnobu2014-05-071-0/+8
* numeric.c: float overflownobu2014-02-281-0/+8
* numeric.c: integer overflownobu2014-02-281-1/+5
* * numeric.c: Fix Numeric#step with 0 unit [#9575]marcandre2014-02-281-0/+14
* * test_numeric: Strengthen tests on 64 bit platformsmarcandre2014-02-281-4/+5
* numeric.c: check signs before divisionnobu2014-02-271-0/+2
* test_numeric.rb: default_externalnobu2014-01-151-4/+13
* numeric.c: preserve encodingnobu2014-01-151-1/+10