summaryrefslogtreecommitdiff
path: root/test/ruby/test_integer.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix Integer#ceildiv to respect #coerce (#7118)Kouhei Yanagita2023-01-221-0/+4
* [Bug #19323] Raise `RangeError` instead of integer overflowNobuyoshi Nakada2023-01-081-10/+8
* [Bug #18998] Honor `#to_str` next to `#to_int` in `Kernel#Integer`Nobuyoshi Nakada2022-10-201-0/+7
* Add Numeric#ceildiv and Integer#ceildivKouhei Yanagita2022-08-121-0/+17
* Don't call + and < in Integer.times for !FIXNUMJeremy Evans2021-12-011-0/+25
* Improve performance of Integer#digitsJeremy Evans2021-07-291-0/+2
* Add Integer.try_convert [Feature #15211]Nobuyoshi Nakada2021-07-161-0/+17
* 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