Hi, what is the right place to report the following?
I think I stumbled onto a simple ‘bug’ (= very unexpected behavior) in prevpow (when solving the latest Project Euler problem). Using Julia 1.7.
prevpow(1234567890123456789)
gives -8446744073709551616 instead of the expected 1000000000000000000, even though the argument is well below typemax(Int). I suspect that the next power of 10 is involved, which causes an overflow (certain looks this way to me having a cursory glance at the source for prevpow.
Not sure whether this is worth fixing, as it is quite an edge case and can be attributed to overflow behavior, but as a Project Euler fan it is slightly irritating to me.