Skip to content

Revise decimal representation of Q, MatQ and PolyOverQ #487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

jnsiemer
Copy link
Member

Description

This PR...

  • updates decimal representation of Q, MatQ and PolyOverQ using the built-in function for f64::to_string and the new unsafe function to get an entry for MatQ

Downside of this: Rounding is less clear. It requires knowledge of how a number is represented in floating point arithmetic to understand the output (mostly relevant for the case if nr_decimal_digits = 0).

@jnsiemer jnsiemer added the performance⚡ This issue or PR should improve label Mar 21, 2025
@jnsiemer jnsiemer self-assigned this Mar 21, 2025
Copy link
Member

@Marcel583 Marcel583 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance⚡ This issue or PR should improve
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants