Skip to content

Fix to the 128-bit CKKS complex encoding - #1237

Merged
pascoec merged 1 commit into
devfrom
1235-wrong-128-bit-ckks-complex-encoding
Aug 5, 2026
Merged

Fix to the 128-bit CKKS complex encoding#1237
pascoec merged 1 commit into
devfrom
1235-wrong-128-bit-ckks-complex-encoding

Conversation

@dsuponitskiy

Copy link
Copy Markdown
Collaborator
  1. Fixed the shift for 128-bit CKKS encoding (the integer type was int64_t instead of int128_t which was not enough for shifting)
  2. Added a check for the left-shift range

@dsuponitskiy dsuponitskiy added this to the Release 1.6.0 milestone Aug 4, 2026
@dsuponitskiy dsuponitskiy self-assigned this Aug 4, 2026
@dsuponitskiy dsuponitskiy added the bug Something isn't working label Aug 4, 2026
@dsuponitskiy
dsuponitskiy requested a review from pascoec August 4, 2026 11:05
@pascoec
pascoec merged commit fb7dcfd into dev Aug 5, 2026
57 checks passed
@pascoec
pascoec deleted the 1235-wrong-128-bit-ckks-complex-encoding branch August 5, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

128-bit CKKS complex encoding uses a 64-bit shift in the imaginary branch and can misencode results

3 participants