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

Add isInf and isNan #79

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Add isInf and isNan #79

merged 1 commit into from
Aug 23, 2023

Conversation

Alfus
Copy link
Collaborator

@Alfus Alfus commented Aug 23, 2023

Turns out python throws an exception when you divide by zero, even for floats. So standardize test functions for both inf and nan.
This requires all impls to be updated to include the double.isNan and double.isInf functions before upgrading to this version of the protos.

@Alfus Alfus merged commit 12a6c81 into main Aug 23, 2023
6 checks passed
@Alfus Alfus deleted the alfus/inf branch August 23, 2023 19:29
igor-tsiglyar pushed a commit to igor-tsiglyar/protovalidate that referenced this pull request Apr 16, 2024
In some cases we want to have test cases that fail the new protovalidate
lint warnings. Update the buf.yaml to exclude those lint checks from the
tests.

Additionally, update to the latest cel-go.
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.

2 participants