summaryrefslogtreecommitdiffhomepage
path: root/mrblib/float.rb
diff options
context:
space:
mode:
Diffstat (limited to 'mrblib/float.rb')
-rw-r--r--mrblib/float.rb9
1 files changed, 9 insertions, 0 deletions
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