E8001 Bitwise Errors

Bitwise

'%s' can only be used with integers; got '%s' and '%s'

When this occurs

`math.sqrt(-1)`

Example error message

error[E8001]: math.sqrt() cannot take negative number

How to fix

Pass a non-negative number to `math.sqrt()`. Use `math.abs()` first if needed.

Related errors