Permalink
Browse files

add 1/2 description to limitations.md file

  • Loading branch information...
matz committed Feb 11, 2016
1 parent b3a2d8b commit 18870428bc4489d25ec89c973fe1d8e67250c29c
Showing with 10 additions and 1 deletion.
  1. +10 −1 doc/limitations.md
View
@@ -1,4 +1,4 @@
# Limitations
# Limitations and Differences
The philosophy of mruby is to be a lightweight implementation of
the Ruby ISO standard. These two objectives are partially contradicting.
@@ -13,6 +13,15 @@ This document is collecting these limitations.
This document does not contain a complete list of limitations.
Please help to improve it by submitting your findings.
## ```1/2``` gives ```0.5```
Since mruby does not have ```Bignum```, bigger integers are represented
by ```Float``` numbers. To enhace interoperability between ```Float```

This comment has been minimized.

Show comment
Hide comment
@matz

matz Feb 11, 2016

Member

fixed in 37344ec. thank you.

@matz

matz Feb 11, 2016

Member

fixed in 37344ec. thank you.

and ```Float```, mruby provides ``Float#upto``` and other iterationg
methods for ```Float`` class. As a side effect, ```1/2``` gives ```0.5```
not ```0```.
## ```Array``` passed to ```puts```
Passing an Array to ```puts``` results in different output.

0 comments on commit 1887042

Please sign in to comment.