Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Floating Point Exception Handling

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Floating Point Exception Handling


Chronological Thread 
  • From: Andreas Fabri <>
  • To:
  • Subject: Re: [cgal-discuss] Floating Point Exception Handling
  • Date: Tue, 02 Mar 2010 10:35:50 +0100

On 01/03/2010 22:12, Eric Berberich wrote:
Panagiotis Foteinos wrote:
Sadly, this is not an option for my code due to timing issues.

Sadly robust geometric computing is not feasible with floating-point
arithmetic. At least if you have (near-)degenerate situations. If you
can ensure generic position floating-point might suffice. In fact you
can even analyse which values of volumes should suffice ...

eriC



The answer is philosophical too. A more pragmatic view is
to use an Exact_predicates_inexact_constructions_kernel
for the Delaunay triangulation class, and to compute volumes
with an exact/exact kernel. And then there is ongoing
work on filtered constructions where you try with floating
point interval arithmetic, check if the interval fits
your needs, and if not or a floating point exception has
been thrown do the construction exactly.

andreas



Archive powered by MHonArc 2.6.16.

Top of Page