path: root/test/ruby/test_numeric.rb
AgeCommit message (Expand)Author
2022-08-12Remove Numeric#ceildivKouhei Yanagita
2022-08-12Add Numeric#ceildiv and Integer#ceildivKouhei Yanagita
2021-08-06Use Rational for Float#round with ndigits > 14Jeremy Evans
2021-07-27Make Float#floor with ndigits argument handle errorJeremy Evans
2021-03-12Fix integer/float remainder with infinity argument of opposite signJeremy Evans
2020-10-23numeric.c, range.c: prohibit zero stepKenta Murata
2020-10-12bignum.c (rb_int_powm): Integer#pow(0, 1) should return 0Yusuke Endoh
2020-01-02Update tests for full keyword argument separationJeremy Evans
2019-12-23Reword keyword arguments warning messages to convey these are deprecation war...Marc-Andre Lafortune
2019-12-20vm_args.c: rephrase the warning message of keyword argument separationYusuke Endoh
2019-09-30Suppress keyword argument warning from #stepNobuyoshi Nakada
2019-09-25Make rb_scan_args handle keywords more similar to Ruby methods (#2460)Jeremy Evans
2019-08-25Inspect dynamic symbol as well as static symbolNobuyoshi Nakada
2019-06-30Removed unused variablesNobuyoshi Nakada
2019-01-24numeric.c: Fix negative step with float componentsmrkn
2018-08-06enumerator.c: Introduce Enumerator::ArithmeticSequencemrkn
2018-04-26test_numeric.rb: loose precision assertionnobu
2017-12-30numeric.c: Fix Integer#pow with a large Fixnum modulomrkn
2017-12-12Revert r61192 and r61193eregon
2017-12-12Use EnvUtil.with_default_external in tests needing iteregon
2017-12-06`Integer#pow(b)` accepts numerickazu
2017-12-04bignum.c, numeric.c: add Integer#pow(b, m)mrkn
2017-04-25no longer rescue exceptions of #coerce in Integer#steperegon
2017-04-25no longer rescue exceptions in numeric comparison operationseregon
2017-04-06Rename RbConfig::Limits as RbConfig::LIMITSnobu
2017-03-02test: use RbConfig::Limitsnobu
2017-02-22numeric.c: Numeric#clone and #dupnobu
2016-10-22numeric.c: fix up r55891nobu
2016-05-21just check Integernobu
2016-05-17Use Integer instead of Fixnum and Bignum.akr
2016-05-17[Feature #12005] Unify Fixnum and Bignum into Integerakr
2016-05-01* test/ruby/test_numeric.rb (test_step): Use Integer::FIXNUM_MAX.akr
2016-04-09assertions.rb: set default internal encodingnobu
2016-02-26numeric.c: wrong type step should raise TypeErrornobu
2016-02-16numeric.c: fix segfaultnobu
2016-01-05* test/ruby/test_numeric.rb (test_nonzero_p): added test for String#nonzero?hsbt
2015-12-16Add frozen_string_literal: false for all filesnaruse
2015-05-17numeric.c: Numeric#positive? and Numeric#negative?nobu
2015-05-17test_numeric.rb: separate dummy classesnobu
2015-01-12* test/ruby/test_numeric.rb (TestNumeric#test_coerce): fixed wrong message.usa
2015-01-12numeric.c: correct error message when coerce failsnormal
2014-11-13* test/lib/envutil.rb: Moved from test/ruby/.akr
2014-06-07* numeric.c (do_coerce): Add a warning when an exception is raisederegon
2014-05-07numeric.c: check keyword argumentsnobu
2014-02-28numeric.c: float overflownobu
2014-02-28numeric.c: integer overflownobu
2014-02-28* numeric.c: Fix Numeric#step with 0 unit [#9575]marcandre
2014-02-28* test_numeric: Strengthen tests on 64 bit platformsmarcandre
2014-02-27numeric.c: check signs before divisionnobu
2014-01-15test_numeric.rb: default_externalnobu