On Sunday, May 14, 2017 at 4:01:26 AM UTC+2, Elise Xue wrote: > > We're using gmp (library found at https://github.com/ncw/gmp) to run on > large inputs, and we have arrays with thousands of elements at a time in > our code. When we write these arrays to files, we find that the values of > some of the elements have changed. > > > We tested our by code by reading in an input file of large numbers, > casting them to gmp.Int, storing them in an array, and writing them to an > output file. This works for an array of ~1400 numbers, but if the array > gets any larger than that the values in the array change. > > Below we print the first element of our array each time a new element gets > appended. As the size goes past 1435, the value of the first value changes, > and it changes again when the size goes past 1437: > > > Can you provide example code that demonstrates the issue?
Damian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
