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

real_t getCPUtime() does not have enough accuracy when enabling __USE_SINGLE_PRECISION__ #115

Open
hmojtaba opened this issue Apr 4, 2021 · 0 comments

Comments

@hmojtaba
Copy link

hmojtaba commented Apr 4, 2021

real_t type is float when we enable USE_SINGLE_PRECISION.
and then all usages of cputime won't work because float doeas not have enough accuracy for this purpose.

for my own project I changed any usage related to cputime to double instead of real_t no matter if USE_SINGLE_PRECISION was enabled or not.

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