[ruby-cvs:70683] nobu:r63592 (trunk): math.c: adjust cbrt

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jun 6 23:01:43 JST 2018


nobu	2018-06-06 23:01:43 +0900 (Wed, 06 Jun 2018)

  New Revision: 63592

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63592

  Log:
    math.c: adjust cbrt
    
    * math.c (math_cbrt): refine the approximation result on boundary
      values by an iteration of Newton-Raphson method.

  Modified files:
    trunk/math.c
    trunk/test/ruby/test_math.rb


More information about the ruby-cvs mailing list