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

Fixed Precision #1032

Open
seanlaw opened this issue Sep 26, 2024 · 0 comments
Open

Fixed Precision #1032

seanlaw opened this issue Sep 26, 2024 · 0 comments
Labels
question Further information is requested

Comments

@seanlaw
Copy link
Contributor

seanlaw commented Sep 26, 2024

In many examples of numerical instability (e.g., overflow, underflow, catastrophic cancellation, etc), we encounter issues with maintaining high precision.

One way to "know" what the "right" answer is would be to leverage fixed precision methods to validate our answers. One such Python package that gives us fixed precision is mpmath.

We can/should consider using it where necessary.

Here is one example where catastrophic cancellation (subtraction of two numbers) raises a problem that can be verified by fixed precision math.

@seanlaw seanlaw added the question Further information is requested label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant