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 nearly equals #1286

Closed
wants to merge 3 commits into from

Conversation

tdrwenski
Copy link
Contributor

Description of Changes

  • Change nearlyEquals back to comparing with a relative difference instead of absolute difference. I believe this is the correct behavior for if ConvertMissing uses this nearlyEquals comparison after a ScaleOffset has been applied and possible changed the values by several orders of magnitude.
  • Use fuzzyEquals library function also for the absolution difference helpers.
  • Add tests

@tdrwenski tdrwenski closed this Jan 16, 2024
@tdrwenski tdrwenski deleted the update-nearly-equals branch February 26, 2024 16:09
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