[ruby-cvs:62962] nobu:r55798 (trunk): math.c: tanh overflow

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Aug 2 21:40:51 JST 2016


nobu	2016-08-02 21:40:51 +0900 (Tue, 02 Aug 2016)

  New Revision: 55798

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

  Log:
    math.c: tanh overflow
    
    * math.c (tanh): check overflows, and return +-1.0.

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


More information about the ruby-cvs mailing list