Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361146

Summary: BigInt != operation gives incorrect results
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: greer
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
EGL RUI Handler source code none

Description Kathy Carroll CLA 2011-10-17 10:29:54 EDT
Created attachment 205333 [details]
EGL RUI Handler source code

BigInt != operation give incorrect results

run the handler.  expect all variations to produce good
Comment 1 Kathy Carroll CLA 2011-10-17 11:24:39 EDT
Decimal has same issue
	function runComparisonFunction33d()
		int1 decimal(5,2) = 75;
		int2 decimal(5,2) = 328;
		result boolean = (int1 != int2);
	    if (result)
            syslib.writestdout("good");
        else
            syslib.writeStdout("bad");
        end
	end
	
	function runComparisonFunction34d() 
		int1 decimal(5,2) = 75;
		int2 decimal(5,2) = 75;
		result boolean  = (int1 != int2);
		if (!result)
            syslib.writestdout("good");
        else
            syslib.writeStdout("bad");
        end
	end
Comment 2 Scott Greer CLA 2011-10-17 16:39:02 EDT
Fixed both BigInt and Decimal, along with a similar problem in Float.
Comment 3 Kathy Carroll CLA 2011-10-18 07:32:44 EDT
Verified with 201110172101 & closed