Originariamente inviato da GoldEmish
speravo fosse un problema di mysql...
http://dev.mysql.com/doc/refman/5.0/...#operator_plus
If one of the arguments is an unsigned integer, and the other argument is also an integer, the result is an unsigned integer
Come si suol dire, "non è un bug, è una feature"

Puoi sempre risolvere con un cast:
SELECT -2*(cast(num as signed))+1 as calcolo FROM test