diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-17 00:19:29 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-02-17 00:19:29 +0000 |
commit | 676cf9b5274d789f5e040a63115487a16c9987fe (patch) | |
tree | 6518a659f6aa5a7444c11753a7710e0caf3d18fd /test/dl/test_method.rb | |
parent | d1925e649f31f01a61a2766b9aac1dc6420ffcd1 (diff) |
* test/dl/test_method.rb: sinf(3) is in libm.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl/test_method.rb')
-rw-r--r-- | test/dl/test_method.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dl/test_method.rb b/test/dl/test_method.rb index e1ed5ed88b..4c104aaa04 100644 --- a/test/dl/test_method.rb +++ b/test/dl/test_method.rb @@ -4,7 +4,7 @@ require 'dl/func' 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 |