diff --git a/src/intervals/functions.jl b/src/intervals/functions.jl index 5fb2f03ef..11b82571e 100644 --- a/src/intervals/functions.jl +++ b/src/intervals/functions.jl @@ -375,7 +375,7 @@ function nthroot(a::Interval{T}, n::Integer) where T end """ -Calculate `x mod y` where `x` is an interval and `y` is a positive divisor. +Calculate `x::Interval mod y::Real`, limited by `y != 0`. """ function mod(x::Interval, y::Real) @assert y != zero(y) """mod(x::Interval, y::Real)