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

Do not depend on GNU libc'isms for signed infinities #13

Merged
merged 1 commit into from
Nov 28, 2019
Merged

Conversation

ebassi
Copy link
Owner

@ebassi ebassi commented Nov 28, 2019

The behaviour of isinf() that is mandated by the C99 spec is to return a
non-zero value if the value is an infinity, regardless of sign. GNU libc
returns -1 for negative infinities and 1 for positive ones, but other
standard C libraries might be more strict.

The behaviour of isinf() that is mandated by the C99 spec is to return a
non-zero value if the value is an infinity, regardless of sign. GNU libc
returns -1 for negative infinities and 1 for positive ones, but other
standard C libraries might be more strict.
@ebassi ebassi merged commit a25e321 into master Nov 28, 2019
@ebassi ebassi deleted the isinf-sign branch November 28, 2019 14:30
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