Skip to content

Commit

Permalink
clarify bitstring docstring to note bigendian (#53792)
Browse files Browse the repository at this point in the history
It seemed helpful to note in the `bitstring` docs that the bit ordering
is bigendian.
  • Loading branch information
stevengj authored Apr 23, 2024
1 parent 9b44239 commit 435ba8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/intfuncs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,8 @@ string(b::Bool) = b ? "true" : "false"
"""
bitstring(n)
A string giving the literal bit representation of a primitive type.
A string giving the literal bit representation of a primitive type
(in bigendian order, i.e. most-significant bit first).
See also [`count_ones`](@ref), [`count_zeros`](@ref), [`digits`](@ref).
Expand Down

0 comments on commit 435ba8f

Please sign in to comment.