List Info

Thread: Critical 1.9 mathn bug (require 'mathn' failure)




Critical 1.9 mathn bug (require 'mathn' failure)
user name
2006-05-29 23:40:30
Bugs item #4605, was opened at 2006-05-29 18:40
You can respond by visiting: 
http://rubyforge.org/tracke
r/?func=detail&atid=1698&aid=4605&group_id=426

Category: Standard Library
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Cash Erler (olathe)
Assigned to: Nobody (None)
Summary: Critical 1.9 mathn bug (require 'mathn' failure)

Initial Comment:
require 'mathn' fails in Ruby 1.9 latest CVS version.

Can all mention of Integer#gcd2 (remove_method line and def
gcd2) please be removed from mathn.rb in 1.9 ? 
rational.rb's Integer#gcd is now faster than mathn.rb's
Integer#gcd2.  If backward compatibility is a problem,
please alias_method :gcd2, :gcd.

Original bug report by another person: http://group
s.google.com/group/comp.lang.ruby/browse_thread/thread/6bf72
a6bfa92193e/8b036398627145e8

Thanks.

------------------------------------------------------------
----------

You can respond by visiting: 
http://rubyforge.org/tracke
r/?func=detail&atid=1698&aid=4605&group_id=426

Critical 1.9 mathn bug (require 'mathn' failure)
user name
2006-05-30 09:13:42
Hi,

In message "Re: [ ruby-Bugs-4605 ] Critical 1.9 mathn
bug (require 'mathn' failure)"
    on Tue, 30 May 2006 08:40:30 +0900, noreplyrubyforge.org writes:

|Can all mention of Integer#gcd2 (remove_method line and def
gcd2) please be removed from mathn.rb in 1.9 ? 
rational.rb's Integer#gcd is now faster than mathn.rb's
Integer#gcd2.  If backward compatibility is a problem,
please alias_method :gcd2, :gcd.

I will remove it soon.  Thank you.

							matz.

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )