[Vm-dev] Issue 117 in cog: primitiveRemLargeIntegers is incorrect for negative quotient

cog at googlecode.com cog at googlecode.com
Wed Jan 9 01:27:38 UTC 2013


Status: Accepted
Owner: nicolas.... at gmail.com
Labels: Type-Defect Priority-High

New issue 117 by nicolas.... at gmail.com: primitiveRemLargeIntegers is  
incorrect for negative quotient
http://code.google.com/p/cog/issues/detail?id=117

Now that primitive 20 is connected (COG 2662), I had a chance to run some  
tests and discover a bug (stupid copy/paste from quo)...

The result should be negated iff receiver negative.

Attachments:
	InterpreterPrimitives-primitiveRemLargeIntegers.st  871 bytes



More information about the Vm-dev mailing list