mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use Integer instead of Fixnum/Bignum
This commit is contained in:
parent
fb8f011422
commit
9c73c75624
144 changed files with 392 additions and 390 deletions
|
@ -1,9 +1,9 @@
|
|||
describe :float_quo, shared: true do
|
||||
it "performs floating-point division between self and a Fixnum" do
|
||||
it "performs floating-point division between self and an Integer" do
|
||||
8.9.send(@method, 7).should == 1.2714285714285716
|
||||
end
|
||||
|
||||
it "performs floating-point division between self and a Bignum" do
|
||||
it "performs floating-point division between self and an Integer" do
|
||||
8.9.send(@method, 9999999999999**9).should == 8.900000000008011e-117
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue