Skip to Content.
Sympa Menu

cgal-discuss - comparison with CORE::expr type takes forever

Subject: CGAL users discussion list

List archive

comparison with CORE::expr type takes forever


Chronological Thread 
  • From:
  • To:
  • Subject: comparison with CORE::expr type takes forever
  • Date: Thu, 4 Oct 2007 22:24:48 +0200

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.



Archive powered by MHonArc 2.6.16.

Top of Page