mldsa-native icon indicating copy to clipboard operation
mldsa-native copied to clipboard

Come up with a better explanation for round(-half-up) vs round-half-down in decompose

Open jammychiou1 opened this issue 2 months ago • 0 comments

Decompose() naturally needs round-half-down. It can be computed with rounding mulhi which always round half up, but our current explanation (here for example) doesn't justify this very clearly. See https://github.com/pq-code-package/mldsa-native/pull/411#discussion_r2371057773 and https://github.com/pq-code-package/mldsa-native/pull/629#discussion_r2508911467 for more context.

jammychiou1 avatar Nov 10 '25 07:11 jammychiou1