Division of a small number by a larger one

Kevin Ryde user42@zip.com.au
Thu, 03 Jul 2003 11:36:28 +1000


"Chris Saunders" <chris.saunders@sympatico.ca> writes:
>
> If if I use mpf_t's to do division and I divide 1.0 / 10.0 I get
> the correct answer.  If I try 1.0 / 11.0 I get 0.0

Sounds wrong.  Make a bug report including a test program.

> no matter how high I set the precision of the numerator.

It's the precision of the destination which determines the result, but
the minimum is 53 bits, so 0 is not right.