[Top][All Lists]
[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 15:01:47 +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!
Here is a patch
Vlado you can test it, and if everybody think it is good i'll apply it
to CVS.
Cheers,
Guillaume Knispel
Parted-noFParith.patch
Description: Binary data
- Re: Parted 1.6.23 - problem with resizing of the extended partition, Vlado Potisk, 2005/08/01
- Re: Parted 1.6.23 - problem with resizing of the extended partition, K.G., 2005/08/01
- Re: Parted 1.6.23 - problem with resizing of the extended partition,
K.G. <=
- Re: Parted 1.6.23 - problem with resizing of the extended partition, Vlado Potisk, 2005/08/01
- Re: Parted 1.6.23 - problem with resizing of the extended partition, K.G., 2005/08/01
- Re: Parted 1.6.23 - problem with resizing of the extended partition, Vlado Potisk, 2005/08/01
- Re: Parted 1.6.23 - problem with resizing of the extended partition, K.G., 2005/08/02
- Re: Parted 1.6.23 - problem with resizing of the extended partition, Vlado Potisk, 2005/08/02