Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] which number types are actually exact?

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] which number types are actually exact?


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Cc: Bernd Gaertner <>
  • Subject: Re: [cgal-discuss] which number types are actually exact?
  • Date: Sat, 02 May 2009 10:53:59 +0200

Benoit Hudson a écrit :
The documentation for Gmpzf indicates that it's exact. However, it
seems to provide a division operation. This tripped me up when I used
it with some code that uses division.

Indeed, Gmpzf should probably not define operator/ (like MP_Float).

Which types can I rely on to refuse to compile inexact operations?

It depends what you want to do exactly.
You can also write wrappers to catch these problems.

--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page