aboutsummaryrefslogtreecommitdiffstats
path: root/internal.h
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-15 09:03:03 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-15 09:03:03 +0000
commit06e2873ed1cd8dca1bff6b87ae59b9ffa7ae4754 (patch)
treed0c17a634342fa27d84ebb6550aa98da2efd830e /internal.h
parentb7f5c573ef20dbbf5534ee3a45625c7f9d45f2ec (diff)
downloadruby-06e2873ed1cd8dca1bff6b87ae59b9ffa7ae4754.tar.gz
eval_error.c: log10(0) is ERANGE
By definition, the logarithm of 0 is negative infinity. This is a pole error (cf: cf: ISO/IEC 9899:1999 section 7.12.1 paragraph 3) and of course, cannot fit into an `int` value. We have to resort to INT_MIN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'internal.h')
0 files changed, 0 insertions, 0 deletions