Fixed am50089 - unary - float operator

This commit is contained in:
Steve Dudenhoeffer 2007-02-19 08:11:00 +00:00
parent b3d7f04b5e
commit ade56b62e9

View File

@ -102,7 +102,7 @@ stock Float:operator--(Float:oper)
return oper-1.0; return oper-1.0;
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)
return floatmul(oper1, float(oper2)); /* "*" is commutative */ return floatmul(oper1, float(oper2)); /* "*" is commutative */