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

sin of very large number fails #239

Closed
dpsanders opened this issue Mar 6, 2017 · 0 comments
Closed

sin of very large number fails #239

dpsanders opened this issue Mar 6, 2017 · 0 comments

Comments

@dpsanders
Copy link
Member

dpsanders commented Mar 6, 2017

julia v0.5> Interval(2.0)^1000
[1.0715e+301, 1.07151e+301]

julia v0.5> sin(Interval(2.0)^1000)
------ InexactError -------------------- Stacktrace (most recent call last)

 [1] — sin(::ValidatedNumerics.Interval{Float64}) at trigonometric.jl:34

 [2] — floor(::Type{Int64}, ::Float64) at sys.dylib:?

 [3] — floor(::Type{Int64}, ::Float64) at float.jl:209

 [4] — trunc(::Type{Int64}, ::Float64) at float.jl:463
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

No branches or pull requests

1 participant