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

Fix single precision mode #265

Merged
merged 12 commits into from
Feb 2, 2022
Merged

Fix single precision mode #265

merged 12 commits into from
Feb 2, 2022

Conversation

denisalevi
Copy link
Member

PR for #234

Remaining lower priority single precision issues are collected in #264

Was failing in single precision mode. Now using type that is set to the
floating point precision preference
The current regex version replaces `10.` with `10.f` in
`#include "name_10.h"`
Our regex currently replaces `_10.h` with `_10.fh`. This also affects
`var12.metho()` type variables and needs to be fixed! But for now this
workaround just ignores `#include` lines, where header files might be
named like this.
Sets the tolerance depending on floating point precision, else tests
might fail due to precision in single precision mode.
Else tests fail in single precision mode
@denisalevi denisalevi merged commit f7bfa57 into master Feb 2, 2022
@denisalevi denisalevi deleted the fix-single-precision branch February 2, 2022 12:25
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.

1 participant