Skip to content

Commit

Permalink
update alias --> share memory with
Browse files Browse the repository at this point in the history
  • Loading branch information
adienes committed Oct 31, 2023
1 parent 002f8b6 commit a5bbdbd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions base/complex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1115,8 +1115,8 @@ big(z::Complex{T}) where {T<:Real} = Complex{big(T)}(z)
Return an array containing the complex analog of each entry in array `A`.
Equivalent to `complex.(A)`, except that the return value may alias all or part
of `A` in accordance with the behavior of `convert(T, A)` given output type `T`.
Equivalent to `complex.(A)`, except that the return value may share memory with all or
part of `A` in accordance with the behavior of `convert(T, A)` given output type `T`.
# Examples
```jldoctest
Expand Down
2 changes: 1 addition & 1 deletion base/essentials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ julia> convert(BigFloat, x)
```
If `T` is a collection type and `x` a collection, the result of
`convert(T, x)` may alias all or part of `x`.
`convert(T, x)` may share memory with all or part of `x`.
```jldoctest
julia> x = Int[1, 2, 3];
Expand Down
4 changes: 2 additions & 2 deletions base/float.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1163,8 +1163,8 @@ floattype(::Type{Int16}) = Float16
Return an array containing the floating-point analog of each entry in array `A`.
Equivalent to `float.(A)`, except that the return value may alias all or part
of `A` in accordance with the behavior of `convert(T, A)` given output type `T`.
Equivalent to `float.(A)`, except that the return value may share memory with all or
part of `A` in accordance with the behavior of `convert(T, A)` given output type `T`.
# Examples
```jldoctest
Expand Down

0 comments on commit a5bbdbd

Please sign in to comment.