From acdc2d1f242f2547ca842be5d62a2b06356b39ea Mon Sep 17 00:00:00 2001 From: YAMAMOTO Masaya Date: Wed, 11 Oct 2017 17:53:17 +0900 Subject: Add MRB_WITHOUT_FLOAT --- mrblib/float.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mrblib/float.rb (limited to 'mrblib/float.rb') diff --git a/mrblib/float.rb b/mrblib/float.rb new file mode 100644 index 000000000..6343b9b85 --- /dev/null +++ b/mrblib/float.rb @@ -0,0 +1,9 @@ +## +# 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 -- cgit v1.2.3