Base.binomial
returns Float64
for Integer
inputs of different types.
#54296
Labels
maths
Mathematical functions
The docs say
which isn't strictly true. When
n
andk
have different integer types, the generalized binomial coefficient is returned, i.e. frombinomial(x::Number, k::Integer)
.The text was updated successfully, but these errors were encountered: