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

gtests typeconversions #81

Merged
merged 3 commits into from
Jun 23, 2017
Merged

Conversation

kruus
Copy link
Contributor

@kruus kruus commented Jun 23, 2017

make precision-losing type conversions explicit.
warnings from a particularly paranoid compiler, sxc++, generally for:

  • double->float,
  • int->float,
  • size_t->int and
  • float|double -> some data_t

kruusnec and others added 3 commits June 23, 2017 09:07
sxc++ warnings did show some cases where unintended type conversions
may actually have been occuring.  Typical cases involved double->float,
int->float, and double-expression to some data_t conversions.
@emfomenk emfomenk merged commit a914292 into oneapi-src:master Jun 23, 2017
@emfomenk
Copy link

Merged.
Thanks @kruus!

@kruus kruus deleted the gtests-typeconversions branch June 23, 2017 18:44
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.

3 participants