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).
  • Loading branch information
Sacha0 committed May 13, 2017
1 parent 1129de3 commit b1d60fb
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 @@ -337,6 +337,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 raise 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 @@ -436,6 +442,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
[#18453]: https://github.com/JuliaLang/julia/issues/18453
Expand Down

0 comments on commit b1d60fb

Please sign in to comment.