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

Numerical Data Types #265

Open
tensionhead opened this issue Apr 12, 2022 · 0 comments
Open

Numerical Data Types #265

tensionhead opened this issue Apr 12, 2022 · 0 comments
Labels
Design Proposal to investigate/change code structure/layout Feature Request A concrete request (as detailed as possible) to either add or change functionality. Performance Improve the number crunching

Comments

@tensionhead
Copy link
Contributor

tensionhead commented Apr 12, 2022

Current State and Problem

Right now, we are implicitly (down-)casting everything to double float precision (32bit for real, 64bit for complex). As touched upon in #264, we should at least inform the user about this, and it might be better to also allow the users to keep their original (64bit most likely) precision. From our top of the head discussions, in 99% of the cases this will just lead to double RAM and disc space usage without any significant effect on the scientific results. But there might be cases for certain algorithms ('catastrophic anihiliation') where this really can make a huge difference.

Proposed solution

We need (across all submodules) an interface for importing/working on/saving data which allows for the free choice of the float precision. However, we still want to encourage 32bit precision as the de-facto standard to save resources.

@tensionhead tensionhead added Design Proposal to investigate/change code structure/layout Feature Request A concrete request (as detailed as possible) to either add or change functionality. Performance Improve the number crunching labels Apr 12, 2022
@tensionhead tensionhead added this to Under Consideration in Codebase Improvements via automation Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Design Proposal to investigate/change code structure/layout Feature Request A concrete request (as detailed as possible) to either add or change functionality. Performance Improve the number crunching
Projects
Codebase Improvements
Under Consideration
Development

No branches or pull requests

1 participant