src/arithmetic.jl
changed.
Other files ignored by Codecov
test/libieeep1788_rev.jl
has changed.
test/libieeep1788_mul_rev.jl
has changed.
test/pow_rev.jl
has changed.
296 | 296 | x1, x2 = extended_div(interval(c), interval(b)) |
|
297 | 297 | return (DecoratedInterval(x1, trv), DecoratedInterval(x2, trv)) |
|
298 | 298 | end |
|
299 | + | ||
300 | + | mul_rev_to_pair(b::Interval, c::Interval) = extended_div(c, b) |
|
301 | + | ||
302 | + | function mul_rev_to_pair(b::DecoratedInterval{T}, c::DecoratedInterval{T}) where T |
|
303 | + | (isnai(b) || isnai(c)) && return (nai(T), nai(T)) |
|
304 | + | ||
305 | + | 0 ∉ b && return (c/b, DecoratedInterval(emptyinterval(T), trv)) |
|
306 | + | ||
307 | + | x1, x2 = extended_div(interval(c), interval(b)) |
|
308 | + | return (DecoratedInterval(x1, trv), DecoratedInterval(x2, trv)) |
|
309 | + | end |
Files | Coverage |
---|---|
src | 68.65% |
Project Totals (12 files) | 68.65% |