Subj : Re: ratio approximation algorithm To : comp.programming From : Mark Maglana Date : Tue Aug 16 2005 02:32 am I also got the same response from another mailing list I posted to. A minor correction though. The method of comparison should probably be -t.b.d < b.d.x - a.c < t.b.d I was wondering if it would be better to have the B*D products computed in advance and saved inside of a database. .