Closed
Description
julia> prod([Int8(100), Int8(100)])
10000
julia> prod((Int8(100), Int8(100)))
16
julia> versioninfo()
Julia Version 1.5.3
Commit 788b2c77c1 (2020-11-09 13:37 UTC)
Platform Info:
OS: macOS (x86_64-apple-darwin18.7.0)
CPU: Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-9.0.1 (ORCJIT, skylake)
Ref. #39182, which is the same issue but for sum
and +
The is a todo in the code that says this function definition is inconsistent with regular prod
:
Lines 399 to 400 in 788b2c7