bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parted 1.6.23 - problem with resizing of the extended partition


From: K.G.
Subject: Re: Parted 1.6.23 - problem with resizing of the extended partition
Date: Mon, 1 Aug 2005 14:05:01 +0200

On Mon, 1 Aug 2005 18:41:17 +1000
Andrew Clausen <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]