[ruby-cvs:52951] nobu:r45805 (trunk): math.c: C99-like atan2

nobu at ruby-lang.org nobu at ruby-lang.org
Sun May 4 10:23:02 JST 2014


nobu	2014-05-04 10:23:01 +0900 (Sun, 04 May 2014)

  New Revision: 45805

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45805

  Log:
    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]

  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/configure.in
    trunk/math.c
    trunk/test/ruby/test_math.rb


More information about the ruby-cvs mailing list