Skip to content

Commit 97bbd0a

Browse files
committed
to_f function for RealDouble
1 parent a117bae commit 97bbd0a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/symengine/real_double.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module SymEngine
2+
class RealDouble
3+
def to_f
4+
to_s.to_f
5+
end
6+
end
7+
end

0 commit comments

Comments
 (0)