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!

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

Attachment: Parted-noFParith.patch
Description: Binary data

_______________________________________________
Bug-parted mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-parted

Reply via email to