honnza (John Dvořák)
- Login: honnza
- Registered on: 12/21/2017
- Last sign in: 12/21/2017
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
12/22/2017
-
01:11 AM Ruby Bug #14218 (Closed): Addition of negative Object#hash values can overflow
- Script to reproduce:
~~~ ruby
p 1_000_000.times.count{a=Object.new.hash; b=Object.new.hash; a < 0 && b < 0 && a + b > 0}
p 1_000_000.times.count{a=Object.new.hash; b=Object.new.hash; 0 + a + b != 0 + b + a}
~~~
Expected value: A...