IntervalArithmetic.jl icon indicating copy to clipboard operation
IntervalArithmetic.jl copied to clipboard

Add methods for `sind` and etc.

Open goretkin opened this issue 3 years ago • 2 comments

Currently it falls back to sind(::Real) defined in Base:

julia> sind(interval(0, 0))
ERROR: rem not defined for IntervalArithmetic.Interval{Float64}

goretkin avatar Nov 16 '20 23:11 goretkin

This should be pretty easy: just divide (or multiply?) by interval pi?

dpsanders avatar Nov 17 '20 00:11 dpsanders

Ideally it would benefit from https://github.com/JuliaIntervals/IntervalArithmetic.jl/pull/421 to avoid the same issues.

goretkin avatar Nov 17 '20 01:11 goretkin