[ruby-cvs:62286] nobu:r55123 (trunk): bigdecimal.c: fix FloatDomainError

nobu at ruby-lang.org nobu at ruby-lang.org
Mon May 23 12:30:31 JST 2016


nobu	2016-05-23 12:30:30 +0900 (Mon, 23 May 2016)

  New Revision: 55123

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55123

  Log:
    bigdecimal.c: fix FloatDomainError
    
    * ext/bigdecimal/bigdecimal.c (GetVpValueWithPrec): consider
      non-finite float values not to raise FloatDomainError.
      [ruby-core:75682] [Bug #12414]

  Modified files:
    trunk/ChangeLog
    trunk/ext/bigdecimal/bigdecimal.c
    trunk/test/bigdecimal/test_bigdecimal.rb


More information about the ruby-cvs mailing list