ruby-changes:14826
From: naruse <ko1@a...>
Date: Wed, 17 Feb 2010 09:21:42 +0900 (JST)
Subject: [ruby-changes:14826] Ruby:r26690 (trunk): * test/dl/test_method.rb: sinf(3) is in libm.
naruse 2010-02-17 09:19:29 +0900 (Wed, 17 Feb 2010) New Revision: 26690 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=26690 Log: * test/dl/test_method.rb: sinf(3) is in libm. Modified files: trunk/test/dl/test_method.rb Index: test/dl/test_method.rb =================================================================== --- test/dl/test_method.rb (revision 26689) +++ test/dl/test_method.rb (revision 26690) @@ -4,7 +4,7 @@ module DL class TestMethod < TestBase def test_method_call - f = Method.new(@libc['sinf'], [TYPE_FLOAT], TYPE_FLOAT) + f = Method.new(@libm['sinf'], [TYPE_FLOAT], TYPE_FLOAT) assert_in_delta 1.0, f.call(90 * Math::PI / 180), 0.0001 end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/