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

nonfinite_num_get facet fix: honor "legacy" flag to enable "nanq"+"nans" #640

Merged
merged 1 commit into from
Jul 5, 2021

Conversation

jblumsch
Copy link
Contributor

@jblumsch jblumsch commented Jun 5, 2021

A hopefully obvious one-line fix to "Facets for Floating-Point Infinities and NaNs".

The documentation states that the "legacy" flag enables support for "nanq" and "nans", but any other flag is not supposed to do so.

The "legacy" flag got lost in 16c57be "Fixes for compile tests", but the affected code was broken from the very beginning.

…d "nans"

Fix 16c57be "Fixes for compile tests" (make compiler happy, but lose
flag semantics) as well as the original implementation from e3e838d
(obvious intention, but wrong operator).
@NAThompson
Copy link
Collaborator

Did this slip through the cracks? I have really no understanding of what this code does.

@jzmaddock : Could you take a look as well?

@jzmaddock
Copy link
Collaborator

Looks right to me, we should merge once CI completes.

Thanks for the heads up!

@NAThompson NAThompson merged commit e149c34 into boostorg:develop Jul 5, 2021
jzmaddock pushed a commit that referenced this pull request Jul 11, 2021
…d "nans" (#640)

Fix 16c57be "Fixes for compile tests" (make compiler happy, but lose
flag semantics) as well as the original implementation from e3e838d
(obvious intention, but wrong operator).
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.

3 participants