Do you mean data[i] = sfix.load_sint(sint.get_private_input_from(0))?
That doesn't work either, the output is: 526700 -1.67772e+06
As far as I know sfix.load_sint must be used when your input is an integer. Regarding that, I also have problems when the integers are too large, as in this case with
13109612.
Anyway, I just realized that with integers I also have problems when they are negatives.
For integers 131, -131 and replacing sfix.load_sint(sint.get_private_input_from(0)) in the previous code I get: 131 -2869.
Could it be related to the way I have defined the IO class, or does it happens to everyone?
Thank you very much anyway.