diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-27 15:26:14 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-27 15:26:14 +0000 |
| commit | 756a2ff059d9750148fad1492e3dc8875e1b1e5f (patch) | |
| tree | 35273b5a4e23f3eef96b4c1ed19385e366667263 /rubytest.rb | |
| parent | 310ce85bba2b2631f37b62dff8c5cc178a60a95b (diff) | |
| download | ruby-756a2ff059d9750148fad1492e3dc8875e1b1e5f.tar.gz ruby-756a2ff059d9750148fad1492e3dc8875e1b1e5f.tar.xz ruby-756a2ff059d9750148fad1492e3dc8875e1b1e5f.zip | |
* math.c (domain_check): a new function to check domain error
explicitly for systems that return NaN like FreeBSD.
[ruby-core:07019]
* math.c (math_acos, math_asin, math_acosh, math_atanh, math_log,
math_log10, math_sqrt): use domain_check().
* math.c (math_sqrt): fix documentation flaw.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'rubytest.rb')
0 files changed, 0 insertions, 0 deletions
