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

Double precision const with single precision literal? #5

Open
dl9sec opened this issue Feb 27, 2019 · 0 comments
Open

Double precision const with single precision literal? #5

dl9sec opened this issue Feb 27, 2019 · 0 comments

Comments

@dl9sec
Copy link

dl9sec commented Feb 27, 2019

I wondered what the intention is at the constants in P13.h to declare a constant as "double" and then use the "f" literal for singleprecision at the value?
Is it to save storage space and not have the need to cast them to double when calculating/working with them?

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

No branches or pull requests

1 participant