From ade56b62e9e39de50ce6574c4d4a62290fa817ae Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Mon, 19 Feb 2007 08:11:00 +0000 Subject: [PATCH] Fixed am50089 - unary - float operator --- plugins/include/float.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/float.inc b/plugins/include/float.inc index ba037059..e729b8d5 100755 --- a/plugins/include/float.inc +++ b/plugins/include/float.inc @@ -102,7 +102,7 @@ stock Float:operator--(Float:oper) return oper-1.0; 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) return floatmul(oper1, float(oper2)); /* "*" is commutative */