diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-04 01:23:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-05-04 01:23:01 +0000 |
commit | 7a6ebecf9ea5d00ccde2d78d45d35aaff3866845 (patch) | |
tree | e13381d3405b3685d7f1826debf75fe3106bb855 /NEWS | |
parent | 6e34259271c705b3d8bb300b5374addb51dce5a0 (diff) |
math.c: C99-like atan2
* math.c (math_atan2): return values like as expected by C99 if
both two arguments are infinity. based on the patch by cremno
phobia <cremno AT mail.ru> in [ruby-core:62310]. [Feature #9799]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -54,6 +54,8 @@ with all sufficient information, see the ChangeLog file. * Math.log now raises Math::DomainError instead of returning NaN if the base is less than 0, and returns NaN instead of -infinity if both of two arguments are 0. + * Math.atan2 now returns values like as expected by C99 if both two + arguments are infinity. * Proc * incompatible changes: |