General

Profile

gaojun (Jun Gao)

  • Login: gaojun
  • Registered on: 03/18/2021
  • Last connection: 04/08/2022

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

03/19/2021

01:01 AM Ruby master Bug #17731: Integer downflow with inject/reduce
Some more interesting samples:
``` ruby
3.0.0 :001 > [0,-2305843009213693953,-2305843009213693953].inject(:+)
=> ...
gaojun (Jun Gao)
12:37 AM Ruby master Bug #17731 (Closed): Integer downflow with inject/reduce
Test case:
[-2305843009213693953,-2305843009213693953,-2305843009213693953].inject(:+)
or
([-2**61-1] * 3).inject(...
gaojun (Jun Gao)

Also available in: Atom