Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Using CGAL::sqrt and CGAL::Gmpq?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Using CGAL::sqrt and CGAL::Gmpq?


Chronological Thread 
  • From: Laurent Rineau <>
  • To:
  • Subject: Re: [cgal-discuss] Using CGAL::sqrt and CGAL::Gmpq?
  • Date: Tue, 7 Aug 2007 10:39:05 +0200
  • Organization: Inria, Sophia Antipolis, FRANCE

On Tuesday 07 August 2007 10:22:18 Thomas Zangl - Home wrote:
> Hi!
>
> I tried to remove the dependency on math.h's sqrt function (and the
> need to convert the variable to_double). So I tried this:
>
> typedef CGAL::Exact_predicates_exact_constructions_kernel K;
> typedef K::FT dbl;

Use CGAL::Exact_predicates_exact_constructions_kernel_with_sqrt

:-)

The reason is that the exact number types, with square roots, are more time
expensive.

--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
Tel: +33 4 92 38 78 62



Archive powered by MHonArc 2.6.16.

Top of Page