Skip to content

Commit

Permalink
documentation tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
stevengj committed Feb 16, 2017
1 parent a7f1f45 commit f23f250
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/promotion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ end
Exponentiation operator. If `x` is a matrix, computes matrix exponentiation.
If `y` is an `Int` literal (e.g. `x^2` or `x^-3`), the Julia code
`x^y` is transformed to `x^Val{y}`, to enable compile-time
If `y` is an `Int` literal (e.g. `2` in `x^2` or `-3` in `x^-3`), the Julia code
`x^y` is transformed by the compiler to `x^Val{y}`, to enable compile-time
specialization on the value of the exponent. (As a default fallback,
however, `x^Val{y}` simply calls the `^(x,y)` function.)
Expand Down

0 comments on commit f23f250

Please sign in to comment.