aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_integer.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix unsigned int overflow in error message for chrPeter Zhu2020-09-301-0/+1
* bignum.c (estimate_initial_sqrt): prevent integer overflowYusuke Endoh2019-10-211-0/+3
* Fixed duplicate test nameNobuyoshi Nakada2019-07-121-1/+1
* Check exception flag as a bool [Bug #15987]Nobuyoshi Nakada2019-07-111-0/+6
* numeric.c: Extend Integer#[] to support range argumentsYusuke Endoh2019-04-281-0/+25
* test/ruby/test_integer.rb: Add a sane test for Integer#[]Yusuke Endoh2019-04-281-0/+14
* No FloatDomainError at non-finitive number if exception: falsenobu2019-01-121-0/+9
* Warn redefinitions of some methods on Objectnobu2018-12-061-1/+1
* Fix Rational of Floatnobu2018-10-021-0/+23
* rational.c: may be floatnobu2018-09-291-0/+3
* object.c: prefer base optargnobu2018-07-221-0/+6
* Add `exception:` keyword in Kernel#Integer()mrkn2018-03-151-0/+34
* Check the result of to_int in Kernel#Integermrkn2018-02-261-0/+11
* numeric.c: use NUM2DBLnobu2017-09-221-0/+15
* make Integer#{round,floor,ceil,truncate} always return integerstomar2017-05-061-8/+20
* test_integer.rb: simplify teststomar2017-04-161-8/+5
* bignum.c: fix inexact estimationnobu2017-04-151-0/+12
* Integer.sqrt argument checknobu2017-02-241-0/+1
* Integer.sqrt [Feature #13219]nobu2017-02-241-0/+24
* internal.h: change the default rounding mode to half-upmrkn2016-12-101-4/+4
* round-downnobu2016-11-251-0/+16
* numeric.c: round to nearest evennobu2016-11-051-4/+40
* numeric.c: bit op with non-integernobu2016-11-011-0/+36
* test_integer.rb: common partsnobu2016-11-011-21/+13
* object.c: fixable float to fixnumnobu2016-10-271-0/+10
* object.c: use converted stringnobu2016-10-271-0/+4
* numeric.c: Add Integer#digits [Feature #12447] [ruby-core:75799]mrkn2016-06-131-0/+39
* [Feature #12005] Unify Fixnum and Bignum into Integerakr2016-05-171-14/+0
* numeric.c: int_truncatenobu2016-04-181-0/+25
* numeric.c: int_ceilnobu2016-04-131-0/+25
* numeric.c: int_floornobu2016-04-131-0/+25
* bignum.c: rb_cstr_parse_inumnobu2016-04-081-0/+2
* test_integer.rb: refine test_roundnobu2016-03-261-19/+29
* * bignum.c (Bignum#even?, Bignum#odd?): remove definitionsmrkn2016-03-171-20/+0
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
* test/ruby: better assertionsnobu2013-12-131-9/+9
* * bignum.c (rb_big_bit_length): New method.akr2013-08-311-0/+36
* * include/ruby/intern.h: add the prototype declaration ofmrkn2012-12-221-0/+36
* * bignum.c (rb_str_to_inum): must be ASCII compatible encoding asnobu2012-03-231-0/+7
* supress warnings.akr2010-01-251-6/+6
* * test/ruby/test_array.rb: add a test for Array#rotate, rotate!.mame2010-01-221-5/+6
* * object.c (rb_f_integer): now Integer() takes optional basematz2009-10-031-0/+13
* * prec.c: removed. Precision will be redesigned and be back again.yugui2008-09-191-6/+0
* * test/ruby/test_object.rb: new tests to achieve over 90% testmame2008-05-141-0/+5
* split combinational blackbox tests.akr2008-05-011-607/+0
* 0**-1 test updated. [ruby-dev:34547]akr2008-04-301-1/+5
* * test/ruby/test_pack.rb: fix tests for 64bit CPU.mame2008-02-101-4/+4
* * test/ruby/test_bignum.rb: suppress warnings during test.mame2008-01-311-0/+113
* * test/ruby/test_integer.rb (test_Integer): multiple underscoresnobu2007-12-191-0/+1
* * bignum.c (rb_cstr_to_inum): an underscore succeeding after octalnobu2007-12-191-0/+3