Skip to content

Commit c7cbd2c

Browse files
Correct docstring for mul_hi: accept only Base.BitInteger
Co-authored-by: Lilith Orion Hafner <[email protected]>
1 parent fcd9eb3 commit c7cbd2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/int.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ inv(x::Integer) = float(one(x)) / float(x)
9898

9999

100100
"""
101-
mul_hi(a::T, b::T) where {T<:Integer}
101+
mul_hi(a::T, b::T) where {T<:Base.BitInteger}
102102
103103
Returns the higher half of the product of `a` and `b`.
104104

0 commit comments

Comments
 (0)