1d46bbef7e
many, also don't check uchar range after casting to int, this can still cause overflow with large float values.