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 | 21f5f472875cff6f0b2d1e106876fe6ad36cc55c (patch) | |
tree | 35273b5a4e23f3eef96b4c1ed19385e366667263 /regparse.c | |
parent | 41005d43a899e04b21057883b0a626d499c4dfd0 (diff) | |
download | ruby-21f5f472875cff6f0b2d1e106876fe6ad36cc55c.tar.gz |
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@10626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'regparse.c')
0 files changed, 0 insertions, 0 deletions