doma (Domokos Molnar)
- Login: doma
- Email: kretebe@freemail.hu
- Registered on: 12/12/2014
- Last sign in: 12/12/2014
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
12/12/2014
-
12:50 PM Ruby Bug #10592: Adding floats resluts in an incorrect result
- So true. Sorry about reporting it.
-
08:56 AM Ruby Bug #10592: Adding floats resluts in an incorrect result
- ~~~ruby
dmolnar@domalaptop:~> irb
2.1.5 :001 > 1.1+1.1+1.1-3.3
=> 4.440892098500626e-16
~~~ -
08:54 AM Ruby Bug #10592 (Rejected): Adding floats resluts in an incorrect result
- ~~~ruby
1.1+1.1+1.1 = 3.3
~~~
However in the current 2.1.5 this is what happens:
~~~ruby
dmolnar@domalaptop:~> irb
2.1.5 :001 > 1.1+1.1+1.1
=> 3.3000000000000003
2.1.5 :002 >
~~~