Skip to content

Conversation

@jaja360
Copy link
Collaborator

@jaja360 jaja360 commented May 18, 2025

This PR proposes various improvements:

  • Teju now passes the exhaustivefloat32 test (the value 0 needed to be considered separately).
  • We now have random generators which can generate only centered or non-centered floating point numbers (which might be important to test separately, since many algorithms are slower on non-centered values).
  • A new script can generate tables for multiple data files, random generators and flags.
  • We probably don't want just_string evaluation in all our tables. A new flag is available so that we can enable this only when necessary.

jaja360 added 4 commits May 17, 2025 19:39
By default, it only supports strictly positive floats (cassioneri/teju_jagua#5 (comment))
so we have to manually treat 0 separately
- uniform: we can now selectively generate only in [0, 1] or among all possible floats
- new centered/non-centered generators
@jaja360 jaja360 requested a review from lemire May 18, 2025 23:10
@lemire
Copy link
Member

lemire commented May 18, 2025

On my todo

Copy link
Member

@lemire lemire left a comment

Choose a reason for hiding this comment

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

Sorry for the delay.

Ok so non-centered means that the mantissa is zero (well, all but the virtual most significant bit)?

@lemire
Copy link
Member

lemire commented May 22, 2025

I am going to merge this, since I cannot image why we wouldn't merge it.

@lemire lemire merged commit 1c7c126 into master May 22, 2025
8 checks passed
@jaja360 jaja360 deleted the misc_improvements branch June 3, 2025 18:02
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.

3 participants