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

Fix bugs when comparing and converting gbnds with infinity end points #1

Closed
wants to merge 5 commits into from

Conversation

milthorpe
Copy link

When comparing end points 1 with positive infinity and -1 with negative infinity and converting gbnd
to ubnd, functions ltgQ, gtgQ and u2g failed to check infinity bit.
Fix this bug and add related tests.

When comparing end points 1 with positive infinity and -1 with negative infinity
and converting gbnd to ubnd
functions ltgQ, gtgQ and u2g failed to check infinity bit.
Fix this bug and add related tests.
When comparing end points 1 with positive infinity and -1 with negative infinity
and converting gbnd to ubnd
functions ltgQ, gtgQ and u2g failed to check infinity bit.
Fix this bug and add related tests.
When comparing end points 1 with positive infinity and -1 with negative infinity
and converting gbnd to ubnd
functions ltgQ, gtgQ and u2g failed to check infinity bit.
Fix this bug and add related tests.
Rename id in the comment and remove redundant code in the main function.
@gslloyd
Copy link
Contributor

gslloyd commented Mar 15, 2018

Thanks for finding this issue and the pull request. The issue was resolved using cmp_gn() which should bring more consistency when comparing endpoints. The test cases supplied were added to tbasic.c alongside other comparison tests instead of creating another test program.

@gslloyd gslloyd closed this Mar 15, 2018
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.

None yet

3 participants