Open
Description
Description
repro: https://3v4l.org/0FJkO
I discovered this in library where big timeout was converted to milliseconds like $timeoutFloat * 1000
and later casted into integer which resulted very dangerous 0
without any warning.
I would expect some warning like https://3v4l.org/4C3ru when too big float is impossible to be casted meaningfully into int
.