We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
julia> searchsortedfirst(500:1.0:600, 1.0e20) ERROR: InexactError() in searchsortedfirst at sort.jl:191
Because of an iround call on this line. Yet the comparison is well within normal ranges for Float64 values.
I'm not sure about the 'best' way to fix this, maybe add an else if x > last(a) branch before this one?
The text was updated successfully, but these errors were encountered:
avoid overflow in searchsortedfirst/last. fix #8866
8e9b3ae
5d3ccd6
No branches or pull requests
Because of an iround call on this line. Yet the comparison is well within normal ranges for Float64 values.
I'm not sure about the 'best' way to fix this, maybe add an else if x > last(a) branch before this one?
The text was updated successfully, but these errors were encountered: