On Mon, 1 Aug 2005 18:41:17 +1000 Andrew Clausen <[EMAIL PROTECTED]> wrote:
> On Mon, Aug 01, 2005 at 10:25:55AM +0200, K.G. wrote: > > This is exactly the problem i guessed in my previous mail. > > There is an off by one error due to FP arith. > > > > The equation system should be solved by something like > > HR1 - hR2 => cyl_size = ( Ha_ - hA_ ) / (Hc - hC ) > > Have you got time to write a patch, including a patch to the comments? > It sounds like you're already on top of the problem... I always find FP > issues rather mind-boggling! > To achieve maximum security over overflow, I need the maximum size of c, h, s, a, in bits, Thanks, Guillaume Knispel _______________________________________________ Bug-parted mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-parted
