aboutsummaryrefslogtreecommitdiffstats
path: root/ext/pty
diff options
context:
space:
mode:
authormuraken <muraken@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-28 10:08:22 +0000
committermuraken <muraken@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-02-28 10:08:22 +0000
commit5073155a178a9f478950afef4f148e44fd14b5d6 (patch)
tree83edec3cce4786cea435ac932fb503fdaea17bc6 /ext/pty
parent58e8688f69776eb891abf9980d204015c3fddb1d (diff)
downloadruby-5073155a178a9f478950afef4f148e44fd14b5d6.tar.gz
* math.c (rb_eMathDomainError): new exception class for representing mathematical domain error instead of Errno::EDOM.
* math.c (domain_check, infinity_check): removed, no longer needed. * math.c (math_atan2, math_acos, math_asin, math_acosh, math_atanh, math_log, math_log2, math_log10, math_sqrt, math_gamma, math_lgamma): mathematical domain errors are checked and raised before calling libm's functions. * test/ruby/test_math.rb: updated for changes of maht.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/pty')
0 files changed, 0 insertions, 0 deletions