Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add NEWS.md entry re. raising one or negative one to a negative integer power #21836

Merged
merged 1 commit into from
May 13, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 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 @@ -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