[前][次][番号順一覧][スレッド一覧][生データ]

yarv-dev-en:152

From: "M. Edward (Ed) Borasky" <znmeb cesmail.net>
Date: Sat, 19 Aug 2006 12:40:19 -0700
Subject: [yarv-dev-en:152] "require 'mathn'" broken in YARV?

I'm trying to test my Matrix Benchmark with YARV. The first line of the
benchmark is "require 'mathn'". This gives the following:

export PATH=/home/yarv-ruby/bin/:$ORIGPATH
ruby -v MatrixBenchmark.rb
ruby 2.0.0 (Base: Ruby 1.9.0 2006-04-08) [i686-linux]
YARVCore 0.4.1 Rev: 519 (2006-07-12) [opts: [direct threaded code]
[inline method cache] ]
/home/yarv-ruby/lib/ruby/2.0/mathn.rb:19:in `remove_method': method
`gcd2' not defined in Integer (NameError)
        from /home/yarv-ruby/lib/ruby/2.0/mathn.rb:19:in `<class:Integer>'
        from /home/yarv-ruby/lib/ruby/2.0/mathn.rb:17:in `<top (required)>'
        from MatrixBenchmark.rb:1:in `require'
        from MatrixBenchmark.rb:1:in `<main>'


It runs fine without the "mathn", though.

--
ML: yarv-dev-en quickml.atdot.net
Info: http://www.atdot.net/~ko1/quickml

[前][次][番号順一覧][スレッド一覧][生データ]

->     152 2006-08-20 04:40 [znmeb cesmail.net   ] "require 'mathn'" broken in YARV?       
       297 2007-05-14 23:28 ┗[ruby-forum-incoming ]