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

Param_TEST: test parsing +Inf and -Inf #277

Merged
merged 2 commits into from
May 28, 2020

Conversation

scpeters
Copy link
Member

This adds a test confirming that "Inf", "+Inf', and "-Inf" and several lower-case and upper-case variations will parse to the double value of std::numeric_limits<double>::infinity or -std::numeric_limits<double>::infinity (as long as std::numeric_limits<double>::is_iec559 is true).

Closes #261.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
@scpeters scpeters merged commit b6f73d9 into gazebosim:sdf9 May 28, 2020
@scpeters scpeters deleted the test_inf_parsing branch May 28, 2020 20:40
scpeters added a commit to scpeters/sdformat that referenced this pull request Jul 7, 2020
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
scpeters added a commit to scpeters/sdformat that referenced this pull request Jul 7, 2020
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
scpeters added a commit that referenced this pull request Jul 9, 2020
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
scpeters added a commit to scpeters/sdformat that referenced this pull request Jul 17, 2020
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
scpeters added a commit that referenced this pull request Jul 21, 2020
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
traversaro pushed a commit to traversaro/sdformat that referenced this pull request Sep 5, 2020
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
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

2 participants