Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: Rounding mode (as specified in FPU.h)

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: Rounding mode (as specified in FPU.h)


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Re: Rounding mode (as specified in FPU.h)
  • Date: Thu, 28 Feb 2013 20:51:13 +0100 (CET)

On Thu, 28 Feb 2013, marcosscriven wrote:

I did see the feget/setround option in FPU.h. The trouble is, finding an
*implementation* of that.

Ah ok, I wasn't sure where the issue was. If javascript doesn't provide anything to change rounding modes and you are not allowed to somehow call into some C code that does it for you, it just won't work. This means that you cannot use intervals in CGAL (and unless the unchangeable rounding mode is to-nearest, I believe you can't use static filters either) so you are restricted to using a kernel like Simple_cartesian<Gmpq>, or if you don't mind crashes and infinite loops, Simple_cartesian<double>.

--
Marc Glisse



Archive powered by MHonArc 2.6.18.

Top of Page