[ruby-cvs:53128] akr:r45982 (trunk): * configure.in: Check nextafter() availability.

akr at ruby-lang.org akr at ruby-lang.org
Sun May 18 09:37:11 JST 2014


akr	2014-05-18 09:37:10 +0900 (Sun, 18 May 2014)

  New Revision: 45982

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

  Log:
    * configure.in: Check nextafter() availability.
    
    * include/ruby/missing.h (nextafter): New optional declaration.
    
    * missing/nextafter.c: New file.
    
    * numeric.c: Float#next_float and Float#prev_float implemented.
    
       [ruby-core:62562] [Feature #9834]

  Added directories:
    trunk/ext/-test-/float/
    trunk/test/-ext-/float/
  Added files:
    trunk/ext/-test-/float/depend
    trunk/ext/-test-/float/extconf.rb
    trunk/ext/-test-/float/init.c
    trunk/ext/-test-/float/nextafter.c
    trunk/missing/nextafter.c
    trunk/test/-ext-/float/test_nextafter.rb
  Modified files:
    trunk/ChangeLog
    trunk/NEWS
    trunk/configure.in
    trunk/include/ruby/missing.h
    trunk/numeric.c
    trunk/test/ruby/test_float.rb


More information about the ruby-cvs mailing list