Subject: CGAL users discussion list
List archive
- From:
- To:
- Subject: Re: [cgal-discuss] comparison with CORE::expr type takes forever
- Date: Fri, 05 Oct 2007 16:23:29 +0200
Hi Amir
If you only need square roots, you can use CGAL::Root_of_2<RT> or alternatively the new CGAL::Sqrt_extension<NT,ROOT>
They are robust and quite efficient compared to the more powerful Core expressions.
Best,
Monique Teillaud
wrote:
I am implementing an event-based algorithm, which has to be very robust in order to wprk properly. Unfortunately, I can't use rational numbers, and so I tried to apply CORE::expr types (I need closure for the usual arithmetics and square root).
However, when I try to compare two CORE::expr numbers which are very close,
but that were calculated different, the comparison takes an unproportionate
amount of times (sometimes severel minutes), and smetimes it just gets
stuck.. am I doing something wrong? (or is there a more prefered number type?)
Amir.
- comparison with CORE::expr type takes forever, avaxman, 10/04/2007
- Re: [cgal-discuss] comparison with CORE::expr type takes forever, lzhang15, 10/05/2007
- Re: [cgal-discuss] comparison with CORE::expr type takes forever, Monique . Teillaud, 10/05/2007
- Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/05/2007
- straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, Monique . Teillaud, 10/05/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/05/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/08/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, Andreas Fabri, 10/08/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/08/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, Andreas Fabri, 10/08/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/08/2007
- Re: straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/05/2007
- straight skeleton - Re: [cgal-discuss] comparison with CORE::expr type takes forever, Monique . Teillaud, 10/05/2007
- Re: [cgal-discuss] comparison with CORE::expr type takes forever, xiangzhi wei, 10/05/2007
Archive powered by MHonArc 2.6.16.