Skip to content
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

Revisit big float support #202

Open
3 tasks
anakrish opened this issue Apr 10, 2024 · 0 comments
Open
3 tasks

Revisit big float support #202

anakrish opened this issue Apr 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@anakrish
Copy link
Collaborator

Today Regorus defaults to big floats to pass the OPA test suite. However, this is not ideal for the following reasons

For these reasons, it is better to

  • Default to regular precision
  • Implement an optimal Number representation that can handle u64, i64 and f64 and arithmetic between them
  • Provide a way for users to opt into big float support.

Lack of support for big float by default will cause an incompatibility with OPA. But it is justified since big float support itself isn't that will defined in OPA, and users can always opt in explicitly if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant