diff options
author | muraken <muraken@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-28 10:08:22 +0000 |
---|---|---|
committer | muraken <muraken@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-28 10:08:22 +0000 |
commit | 5073155a178a9f478950afef4f148e44fd14b5d6 (patch) | |
tree | 83edec3cce4786cea435ac932fb503fdaea17bc6 /ChangeLog | |
parent | 58e8688f69776eb891abf9980d204015c3fddb1d (diff) | |
download | ruby-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 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,19 @@ +Sun Feb 28 18:58:00 2010 Kenta Murata <mrkn@mrkn.jp> + + * 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. + Sun Feb 28 15:07:28 2010 Tanaka Akira <akr@fsij.org> * pack.c (pack_pack): use union to avoid pointer cast. |