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