Bug #388

BigDecimal <=> Float # => nil

Added by pegacorn jp about 7 years ago. Updated over 4 years ago.

[ruby-dev:35732]
Status:Closed
Priority:Normal
Assignee:Yukihiro Matsumoto
ruby -v: Backport:

Description

=begin

% 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
=end

History

#1 Updated by Koichi Sasada almost 7 years ago

  • Assignee set to Yukihiro Matsumoto

=begin

=end

#2 Updated by Yukihiro Matsumoto almost 7 years ago

  • Status changed from Open to Closed

=begin

=end

Also available in: Atom PDF