Skip to content

Conversation

radik878
Copy link

  • Switch documentation from big-endian to little-endian (LSB-first) for query_position_to_coset and query_position_to_coset_elements. Implementation uses pow_le and tests use to_bits_le, so docs must reflect little-endian to avoid misuse.
  • Correct “Panics” sections: functions require at least (self.dim - coset_dim) bits; extra higher bits are ignored. Previous docs incorrectly referenced equality to coset_dim/self.dim.
  • Clarify elements returns up to offset*g^{coset_size-1} (off-by-one in doc) and reword coset step comment for precision.

@radik878 radik878 requested a review from a team as a code owner September 14, 2025 13:10
@radik878 radik878 requested review from z-tech, Pratyush and mmagician and removed request for a team September 14, 2025 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant