Fixed Float negation operator (bug 5292, r=psychonic).
This commit is contained in:
parent
bb448905ac
commit
e75b244cae
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user