[gs-cvs] rev 7460 - in trunk/gs: doc src
alexcher at ghostscript.com
alexcher at ghostscript.com
Thu Dec 7 07:56:27 PST 2006
Author: alexcher
Date: 2006-12-07 07:56:26 -0800 (Thu, 07 Dec 2006)
New Revision: 7460
Modified:
trunk/gs/doc/pscet_status.txt
trunk/gs/src/zarith.c
Log:
Fix MIN_INTVAL handling in the operator mul. CET 25-13.
DIFFERENCES:
None
Modified: trunk/gs/doc/pscet_status.txt
===================================================================
--- trunk/gs/doc/pscet_status.txt 2006-12-06 23:48:07 UTC (rev 7459)
+++ trunk/gs/doc/pscet_status.txt 2006-12-07 15:56:26 UTC (rev 7460)
@@ -4468,14 +4468,7 @@
25-12-2 OK
-25-13-1 DIFF GS gets different 'mul' results from some boundary conditions
- CPSI matches Tek hardcopy.
- Error messages in ILLEGAL section match (rev 7140 ?).
- These CET files will not run on my 64-bit build (they expect to be able to
- 'cvs' any integer into a 12-character string), and I don't seem to be able
- to get gcc to produce 32-bit output, even with Ralph's help. Please
- reassign these files.
- Assign: (reassign) Alex.
+25-13-1 OK Fixed - Alex.
25-13-2 OK
Modified: trunk/gs/src/zarith.c
===================================================================
--- trunk/gs/src/zarith.c 2006-12-06 23:48:07 UTC (rev 7459)
+++ trunk/gs/src/zarith.c 2006-12-07 15:56:26 UTC (rev 7460)
@@ -155,8 +155,8 @@
case t_integer: {
long int1 = op[-1].value.intval;
long int2 = op->value.intval;
- long abs1 = (int1 >= 0 ? int1 : -int1);
- long abs2 = (int2 >= 0 ? int2 : -int2);
+ unsigned long abs1 = (unsigned long)(int1 >= 0 ? int1 : -int1);
+ unsigned long abs2 = (unsigned long)(int2 >= 0 ? int2 : -int2);
float fprod;
if ((abs1 > MAX_HALF_INTVAL || abs2 > MAX_HALF_INTVAL) &&
More information about the gs-cvs
mailing list