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 | 33709824c11f23952414cd434562191c0ea1ddbc (patch) | |
| tree | 955baf05ab7128d2a376ef0b36108c7883b11c4f /io.c | |
| parent | 5aa50d179985471dae64a4270359fc47e1bb63f9 (diff) | |
| download | ruby-33709824c11f23952414cd434562191c0ea1ddbc.tar.gz ruby-33709824c11f23952414cd434562191c0ea1ddbc.tar.xz ruby-33709824c11f23952414cd434562191c0ea1ddbc.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/branches/ruby_1_8@10629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
0 files changed, 0 insertions, 0 deletions
