diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-30 07:15:23 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-01-30 07:15:23 +0000 |
commit | 59064a75b8ae4d19fcbbe3bf2b9fdcb9849de33b (patch) | |
tree | bcf4de8217c119ef34fd90f9e84305c3b73df285 /test/dl/test_dl2.rb | |
parent | 2418e5ca83f863b58a9e13caefc9a23414cae49c (diff) | |
download | ruby-59064a75b8ae4d19fcbbe3bf2b9fdcb9849de33b.tar.gz |
* test/dl/test_dl2.rb (TestDL#test_sin): math functions do not
work on x86_64 due to the design of DL2.
* test/dl/test_func.rb (DL::TestFunc#test_{sinf,sin): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/dl/test_dl2.rb')
-rw-r--r-- | test/dl/test_dl2.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/dl/test_dl2.rb b/test/dl/test_dl2.rb index 431c5b2ae4..1d6e39114f 100644 --- a/test/dl/test_dl2.rb +++ b/test/dl/test_dl2.rb @@ -95,6 +95,7 @@ class TestDL < TestBase end def test_sin + return if /x86_64/ =~ RUBY_PLATFORM pi_2 = Math::PI/2 cfunc = Function.new(CFunc.new(@libm['sin'], TYPE_DOUBLE, 'sin'), [TYPE_DOUBLE]) |