zGalili (Ziv Galili)
- Login: zGalili
- Registered on: 02/15/2021
- Last sign in: 02/15/2021
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
02/15/2021
-
01:35 PM Ruby Bug #17630 (Rejected): '+' doesn't work correctly for some floats (x.07 + y.4 will give z.46999999999997 instead of z.47)
- 1.02 + 1.4 will give 2.42 as expected
but not for all cases.
examples for wrong answers:
``` ruby
1.07 + 1.4
-> 2.4699999999999998
255.07 + 5.4
-> 260.46999999999997
480.07 + 5.4
-> 485.46999999999997
```
other numbers w...