CKKS Plaintext Precision

Hi, I just have a quick question: When I obtain the precision of the plaintext via GetLogPrecision() or by printing out the plaintext, how should I interpret that both intuitively and technically? Is precision independent of the real values themselves?

Internally, CKKS converts input real numbers into integers by scale and round. The scale factor is close to 2scaleModSize where scaleModSize is a parameter that can be initialized in the user application.

The precision (in bits) you see is defined as scaleModSize - \log_2{}(error), where error is the estimated accumulated error in the ciphertext due to homomorphic operations.

1 Like