Re: cmod op

2003-07-14 Thread Dan Sugalski
At 9:42 AM +0200 7/11/03, Leopold Toetsch wrote: Simon Glover wrote: The PMC version of this op (ie cmod_p_p_p) is identical in implementation to the plain mod op (mod_p_p_p), which seems rather pointless. Would anybody object if we just got rid of it? There should probably be a Ccmodulus

Re: cmod op

2003-07-11 Thread Leopold Toetsch
Simon Glover wrote: The PMC version of this op (ie cmod_p_p_p) is identical in implementation to the plain mod op (mod_p_p_p), which seems rather pointless. Would anybody object if we just got rid of it? There should probably be a Ccmodulus vtable meth too which does, what the current does.

cmod op

2003-07-10 Thread Simon Glover
The PMC version of this op (ie cmod_p_p_p) is identical in implementation to the plain mod op (mod_p_p_p), which seems rather pointless. Would anybody object if we just got rid of it? Simon

Re: cmod op

2003-07-10 Thread Gregor N. Purdy
Simon -- It used to be that the 'mod' op was the mathematically correct (in the Knuth sense) op, and the 'cmod' op was 'mod' per the C implementation used to compile Parrot (which are two very different things, it turns out). I wrote the Knuth-mod op originally, and proposed having both versions