Skip to content

Commit

Permalink
xlogx, xlogy docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
cossio committed May 21, 2020
1 parent aa7417f commit 6e670be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/basicfuns.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""
xlogx(x::Real)
Compute `x * log(x)`, with the correct limit at `x = 0`.
Compute `x * log(x)`, returning zero if `x = 0`.
```jldoctest
julia> StatsFuns.xlogx(0)
Expand All @@ -19,7 +19,7 @@ end
"""
xlogy(x::Real, y::Real)
Compute `x * log(y)`, with the correct limit at `x = 0`.
Compute `x * log(y)`, returning zero if `x = 0`.
```jldoctest
julia> StatsFuns.xlogy(0, 0)
Expand Down

0 comments on commit 6e670be

Please sign in to comment.