Skip to content

Commit 1d52841

Browse files
SijaRX14
authored andcommittedJan 5, 2018
Add Number#/(other : BigFloat) overload (#5437)
1 parent 1707940 commit 1d52841

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/big/big_float.cr

+4
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,10 @@ struct Number
265265
other * self
266266
end
267267

268+
def /(other : BigFloat)
269+
to_big_f / other
270+
end
271+
268272
def to_big_f
269273
BigFloat.new(self)
270274
end

0 commit comments

Comments
 (0)
Please sign in to comment.