Files
mruby-mruby/mrblib/float.rb
T
Yukihiro "Matz" Matsumoto e647b16d1d Should not define Float class in mrblib/00class.rb; ref #3828
Unless it is defined in `numeric.c`.
2017-12-13 08:42:07 +09:00

10 lines
201 B
Ruby

##
# Float
#
# ISO 15.2.9
class Float
# mruby special - since mruby integers may be upgraded to floats,
# floats should be compatible to integers.
include Integral
end if class_defined?("Float")