Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/big/big_float.cr
Original file line number Diff line number Diff line change
@@ -265,6 +265,10 @@ struct Number
other * self
end

def /(other : BigFloat)
to_big_f / other
end

def to_big_f
BigFloat.new(self)
end

0 comments on commit 1d52841

Please sign in to comment.