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

Update TypeTools.hpp #803

Merged
merged 2 commits into from
Nov 21, 2022
Merged

Update TypeTools.hpp #803

merged 2 commits into from
Nov 21, 2022

Conversation

DarkWingMcQuack
Copy link
Contributor

fix #802 by using checking std::ceil(val) == std::floor(val) instead of val == static_cast<std::int64_t>(val) to avoid warnings-

DarkWingMcQuack and others added 2 commits November 15, 2022 16:42
fix CLIUtils#802 by using checking `std::ceil(val) == std::floor(val)` instead of `val == static_cast<std::int64_t>(val)` to avoid warnings-
@codecov
Copy link

codecov bot commented Nov 15, 2022

Codecov Report

Base: 99.42% // Head: 99.42% // No change to project coverage 👍

Coverage data is based on head (bc88e85) compared to base (c2ea58c).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #803   +/-   ##
=======================================
  Coverage   99.42%   99.42%           
=======================================
  Files          16       16           
  Lines        3977     3977           
=======================================
  Hits         3954     3954           
  Misses         23       23           
Impacted Files Coverage Δ
include/CLI/TypeTools.hpp 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@phlptp phlptp merged commit b16c8c8 into CLIUtils:main Nov 21, 2022
@github-actions github-actions bot added needs changelog Hasn't been added to the changelog yet needs README Needs to be mentioned in the README labels Nov 21, 2022
@henryiii henryiii removed the needs README Needs to be mentioned in the README label Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs changelog Hasn't been added to the changelog yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Floating point comparison warning
3 participants