e$B%A%1%C%He(B #388 e$B$,Js9p$5$l$^$7$?!#e(B (by pegacorn jp)
Bug #388: BigDecimal <=> Float # => nil
http://redmine.ruby-lang.org/issues/show/388
e$B5/I<<Te(B: pegacorn jp
e$B%9%F!<%?%9e(B: Open
e$BM%@hEYe(B: Normal
e$BC4Ev<Te(B:
e$B%+%F%4%je(B: ext
Target version:
[ruby-dev:35665]
% ruby -v
ruby 1.9.0 (2008-08-02 revision 18315) [i386-freebsd7.0]
% ruby -r bigdecimal -e ‘p BigDecimal(“1.0”) <=> 1.0’
nil
% ruby -r bigdecimal -e ‘p BigDecimal(“1.0”) == 1.0’
true
% ruby -r bigdecimal -e ‘p BigDecimal(“1.0”) < 1.0’
false