Project

General

Profile

« Previous | Next » 

Revision d7ca01a7

Added by nobu (Nobuyoshi Nakada) almost 13 years ago

bigdecimal.c: check underflow

  • ext/bigdecimal/bigdecimal.c (BigDecimal_to_f): check underflow since
    strtod() sets errno to ERANGE at underflow too. [ruby-core:47342]
    [Bug #6944]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e