Skip to content

Commit

Permalink
Docs: What are min and max actually comparing? (JuliaLang#40713)
Browse files Browse the repository at this point in the history
  • Loading branch information
mschauer committed May 8, 2021
1 parent ddeba0b commit ccf7824
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/operators.jl
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ cmp(x::Integer, y::Integer) = ifelse(isless(x, y), -1, ifelse(isless(y, x), 1, 0
"""
max(x, y, ...)
Return the maximum of the arguments. See also the [`maximum`](@ref) function
Return the maximum of the arguments (with respect to [`isless`](@ref)). See also the [`maximum`](@ref) function
to take the maximum element from a collection.
# Examples
Expand All @@ -494,7 +494,7 @@ max(x, y) = ifelse(isless(y, x), x, y)
"""
min(x, y, ...)
Return the minimum of the arguments. See also the [`minimum`](@ref) function
Return the minimum of the arguments (with respect to [`isless`](@ref)). See also the [`minimum`](@ref) function
to take the minimum element from a collection.
# Examples
Expand Down

0 comments on commit ccf7824

Please sign in to comment.