diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-28 17:08:30 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-01-28 17:08:30 +0900 |
| commit | 1c05764ba36914a88b53efbcda89041b3af4876d (patch) | |
| tree | 71a7dd4480d2dddab221b665f581097aeb6b1d9c /doc | |
| parent | 56842628b9968d2786be7b9c772ee8f8fb51248d (diff) | |
| download | mruby-1c05764ba36914a88b53efbcda89041b3af4876d.tar.gz mruby-1c05764ba36914a88b53efbcda89041b3af4876d.zip | |
Update `limitation.md` for integer division change in 3.0.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/limitations.md | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/doc/limitations.md b/doc/limitations.md index f9e81a920..e6eb3f4a9 100644 --- a/doc/limitations.md +++ b/doc/limitations.md @@ -13,14 +13,6 @@ 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 enhance interoperability between `Integer` -and `Float`, mruby provides `Float#upto` and other iterating -methods for the `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. |
