diff --git a/NEWS.md b/NEWS.md index f586ff1c57c04..61c7649ff0d4f 100644 --- a/NEWS.md +++ b/NEWS.md @@ -73,6 +73,9 @@ This section lists changes that do not have deprecation warnings. longer present. Use `first(R)` and `last(R)` to obtain start/stop. ([#20974]) + * `isapprox(x,y)` now tests `norm(x-y) <= max(atol, rtol*max(norm(x), norm(y)))` + rather than `norm(x-y) <= atol + ...` ([#22742]). + * The `Diagonal` type definition has changed from `Diagonal{T}` to `Diagonal{T,V<:AbstractVector{T}}` ([#22718]). @@ -132,9 +135,6 @@ Library improvements * `@test isequal(x, y)` and `@test isapprox(x, y)` now prints an evaluated expression when the test fails ([#22296]). - * `isapprox(x,y)` now tests `norm(x-y) <= max(atol, rtol*max(norm(x), norm(y)))` - rather than `norm(x-y) <= atol + ...`. - * Uses of `Val{c}` in `Base` has been replaced with `Val{c}()`, which is now easily accessible via the `@pure` constructor `Val(c)`. Functions are defined as `f(::Val{c}) = ...` and called by `f(Val(c))`. Notable affected functions include: