Open aibohang opened 2 years ago
My intuition says the error should not be because of point 5. What is the fixed-point precision you're using? What do you mean by plaintext of mytype? Have you converted a reconstructed value and interpret it (divide by fixed-point precision) before comparing it to the corresponding plaintext of float?
An array of 500 decimals of type flaot,
First, scale it to mytype type,
Call Falcon's multiplication operation for each number in the array to calculate the square of each number
Then add up the decimals represented by mytype, and are also represented by mytype,
It is found that the and corresponding plaintext of mytype are about 200 smaller than the plaintext calculated directly by flaot
Is the error caused by the continuous accumulation of the data in the multiplication step and the real product?
However, if you scale the 500 float data into mytype, and then add it up, you will find no error, so I'd like to ask you