Fixed Float negation operator (bug 5292, r=psychonic).

This commit is contained in:
Asher Baker 2012-05-24 15:56:19 +01:00
parent bb448905ac
commit e75b244cae

View File

@ -263,7 +263,7 @@ stock Float:operator--(Float:oper)
stock Float:operator-(Float:oper) stock Float:operator-(Float:oper)
{ {
return oper^Float:((-1)^((-1)/2)); /* IEEE values are sign/magnitude */ return oper^Float:cellmin; /* IEEE values are sign/magnitude */
} }
stock Float:operator*(Float:oper1, oper2) stock Float:operator*(Float:oper1, oper2)