Skip to content

Commit

Permalink
Add NEWS.md entry re. raising one or negative one to a negative integ…
Browse files Browse the repository at this point in the history
…er power (#18342). (#21836)

(cherry picked from commit a40d1be)
  • Loading branch information
Sacha0 authored and tkelman committed May 14, 2017
1 parent 04398a2 commit dcac2b2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,12 @@ Library improvements
* A new `Dates.Time` type was added that supports representing the time of day
with up to nanosecond resolution ([#12274]).
* Raising one or negative one to a negative integer power formerly threw a `DomainError`.
One raised to any negative integer power now yields one, negative one raised to any
negative even integer power now yields one, and negative one raised to any negative
odd integer power now yields negative one. Similarly, raising `true` to any negative
integer power now yields `true` rather than throwing a `DomainError` ([#18342]).
* A new `@macroexpand` macro was added as a convenient alternative to the `macroexpand` function ([#18660]).
* A new `ConjArray` type was added, as a wrapper type for lazy complex conjugation of arrays.
Expand Down Expand Up @@ -478,6 +484,7 @@ Deprecated or removed
[#18251]: https://github.com/JuliaLang/julia/issues/18251
[#18330]: https://github.com/JuliaLang/julia/issues/18330
[#18339]: https://github.com/JuliaLang/julia/issues/18339
[#18342]: https://github.com/JuliaLang/julia/issues/18342
[#18346]: https://github.com/JuliaLang/julia/issues/18346
[#18442]: https://github.com/JuliaLang/julia/issues/18442
[#18444]: https://github.com/JuliaLang/julia/issues/18444
Expand Down

0 comments on commit dcac2b2

Please sign in to comment.