aboutsummaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-04 01:23:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-04 01:23:01 +0000
commit7a6ebecf9ea5d00ccde2d78d45d35aaff3866845 (patch)
treee13381d3405b3685d7f1826debf75fe3106bb855 /NEWS
parent6e34259271c705b3d8bb300b5374addb51dce5a0 (diff)
downloadruby-7a6ebecf9ea5d00ccde2d78d45d35aaff3866845.tar.gz
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--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 22494bec25..06b265a45b 100644
--- a/NEWS
+++ b/NEWS
@@ -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: