summaryrefslogtreecommitdiff
path: root/test/ruby/test_integer.rb
AgeCommit message (Expand)Author
2021-07-29Improve performance of Integer#digitsJeremy Evans
2021-07-16Add Integer.try_convert [Feature #15211]Nobuyoshi Nakada
2020-09-30Fix unsigned int overflow in error message for chrPeter Zhu
2019-10-21bignum.c (estimate_initial_sqrt): prevent integer overflowYusuke Endoh
2019-07-12Fixed duplicate test nameNobuyoshi Nakada
2019-07-11Check exception flag as a bool [Bug #15987]Nobuyoshi Nakada
2019-04-28numeric.c: Extend Integer#[] to support range argumentsYusuke Endoh
2019-04-28test/ruby/test_integer.rb: Add a sane test for Integer#[]Yusuke Endoh
2019-01-12No FloatDomainError at non-finitive number if exception: falsenobu
2018-12-06Warn redefinitions of some methods on Objectnobu
2018-10-02Fix Rational of Floatnobu
2018-09-29rational.c: may be floatnobu
2018-07-22object.c: prefer base optargnobu
2018-03-15Add `exception:` keyword in Kernel#Integer()mrkn
2018-02-26Check the result of to_int in Kernel#Integermrkn
2017-09-22numeric.c: use NUM2DBLnobu
2017-05-06make Integer#{round,floor,ceil,truncate} always return integerstomar
2017-04-16test_integer.rb: simplify teststomar
2017-04-15bignum.c: fix inexact estimationnobu
2017-02-24Integer.sqrt argument checknobu
2017-02-24Integer.sqrt [Feature #13219]nobu
2016-12-10internal.h: change the default rounding mode to half-upmrkn
2016-11-25round-downnobu
2016-11-05numeric.c: round to nearest evennobu
2016-11-01numeric.c: bit op with non-integernobu
2016-11-01test_integer.rb: common partsnobu
2016-10-27object.c: fixable float to fixnumnobu
2016-10-27object.c: use converted stringnobu
2016-06-13numeric.c: Add Integer#digits [Feature #12447] [ruby-core:75799]mrkn
2016-05-17[Feature #12005] Unify Fixnum and Bignum into Integerakr
2016-04-18numeric.c: int_truncatenobu
2016-04-13numeric.c: int_ceilnobu
2016-04-13numeric.c: int_floornobu
2016-04-08bignum.c: rb_cstr_parse_inumnobu
2016-03-26test_integer.rb: refine test_roundnobu
2016-03-17* bignum.c (Bignum#even?, Bignum#odd?): remove definitionsmrkn
2015-12-16Add frozen_string_literal: false for all filesnaruse
2013-12-13test/ruby: better assertionsnobu
2013-08-31* bignum.c (rb_big_bit_length): New method.akr
2012-12-22* include/ruby/intern.h: add the prototype declaration ofmrkn
2012-03-23* bignum.c (rb_str_to_inum): must be ASCII compatible encoding asnobu
2010-01-25supress warnings.akr
2010-01-22* test/ruby/test_array.rb: add a test for Array#rotate, rotate!.mame
2009-10-03* object.c (rb_f_integer): now Integer() takes optional basematz
2008-09-19* prec.c: removed. Precision will be redesigned and be back again.yugui
2008-05-14* test/ruby/test_object.rb: new tests to achieve over 90% testmame
2008-05-01split combinational blackbox tests.akr
2008-04-300**-1 test updated. [ruby-dev:34547]akr
2008-02-10* test/ruby/test_pack.rb: fix tests for 64bit CPU.mame
2008-01-31* test/ruby/test_bignum.rb: suppress warnings during test.mame