needing help with: Floating point error

Vincent Lefevre vincent at
Fri Jun 26 15:03:41 CEST 2009


On 2009-06-26 09:47:31 -0300, jmonetti at wrote:
> The problem I found that the program get a
> Floating Point in iteration 29 (with my computer/
> arquitectura/compiler/...).

MPFR can handle such errors (exceptions). For instance, you can
cleanly detect them and restart the computation with more precision
(if your inputs allow that).

You should also do an error anlysis, but this can sometimes be

Vincent Lefèvre <vincent at> - Web: <>
100% accessible validated (X)HTML - Blog: <>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)

More information about the gmp-discuss mailing list