Le jeudi 21 août 2008 à 20:27 -0500, Gabriel Dos Reis a écrit : > On Thu, Aug 21, 2008 at 2:55 PM, Gregory Vanuxem <[EMAIL PROTECTED]> > wrote: > > Many thanks for the fix but unfortunately I just found another bug: > > computation time printed after issuing ')set message time on' in the > > interpreter is always 0. > > > > In g-timer.boot, line 227, if I replace > > > > 1.* QUOTIENT(currentTime-$oldElapsedTime-gcDelta, > $timerTicksPerSecond) > > by > > 1.*(currentTime-$oldElapsedTime-gcDelta)/$timerTicksPerSecond > > > > the problem goes away. I have no idea why. Am I missing something ? > > What is happening is that `/' computes a ratio (rational number) when > its > arguments are integers. So, to get an integer we use QUOTIENT. However > that operation gives the quotient of the euclidean division.
I though you replaced / by QUOTIENT, the two being equivalent, without even considering the quotient of the euclidean division. hmm... shame on me. [...] > I'll commit that patch. > > Thanks! Thanks too. Regards, Greg ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel