We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
%/%
%%
0
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
duration_years(5) %/% 0 duration_years(5) %/% duration_years(0) duration_years(5) %% 0 duration_years(5) %% duration_years(0)
These are all undefined C++ behavior and crash the session, but we should return missing values
In particular we should be consistent with 2L %/% 0L = NA rather than 2 %/% 0 = Inf since infinite durations are not supported
2L %/% 0L = NA
2 %/% 0 = Inf
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
These are all undefined C++ behavior and crash the session, but we should return missing values
In particular we should be consistent with
2L %/% 0L = NA
rather than2 %/% 0 = Inf
since infinite durations are not supportedThe text was updated successfully, but these errors were encountered: