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

More flexible subtraction logic #37

Open
marshallpierce opened this issue Mar 15, 2017 · 1 comment
Open

More flexible subtraction logic #37

marshallpierce opened this issue Mar 15, 2017 · 1 comment

Comments

@marshallpierce
Copy link
Collaborator

There are two reasonable things to do when subtracting a count that exceeds the minuend count: saturate at 0, or error. It would be nice to let the user do both.

See https://github.com/jonhoo/hdrsample/pull/34/files#diff-b4aea3e418ccdb71239b96952d9cddb6R558 for more context.

@jonhoo
Copy link
Collaborator

jonhoo commented Mar 15, 2017

See especially #34 (comment)

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

2 participants