diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-27 16:14:03 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-07-27 16:14:03 +0000 |
commit | bb6a09ebe2b6c0c3bb93d6ba5f59db1ca23158cc (patch) | |
tree | 955baf05ab7128d2a376ef0b36108c7883b11c4f /sprintf.c | |
parent | b5e187c5f72324a59a1d66b55ac925301dd6983c (diff) |
* 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/branches/ruby_1_8@10629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
0 files changed, 0 insertions, 0 deletions