Subject: CGAL users discussion list
List archive
- From: Marc Glisse <>
- To: Aomandeyi <>
- Subject: Re: [cgal-discuss] how to understand CGAL's computational accuracy
- Date: Fri, 12 Mar 2021 14:46:46 +0100 (CET)
- Ironport-hdrordr: A9a23:Zrdpv6Nu27Rd08BcTkKjsMiAIKoaSvp033AA0UdtRRtJNvGJjszGppQm/DLXqBJUYnEvnticJLKNKEm2ybdZ6ZQcVI3OYCDItGekJ4lp78/D7lTbakrD38FH06MIScRDIfjxF0U/scHh/AKjGc0hy9XvytHKuc7771NACT5ncLth6QARMGemO2l7XhNPC5Z8NLf03LsimxOYYngcYsm2AXMINtKzxeHjr57tbR4YCxNP0mDnsRqT9LX4HxKEty1xbxpzx94ZnlTtokjc3IqJlpiAoCP05ivv8ZRKhdf7jvFiKaW3+60oFgk=
On Fri, 12 Mar 2021, Aomandeyi wrote:
Aha! i can give you counter-example:
------------------------------
#include <CGAL/Exact_predicates_exact_constructions_kernel.h>
#include <sstream>
typedef CGAL::Exact_predicates_exact_constructions_kernel Kernel;
typedef Kernel::Point_2 Point_2;
int main()
{
Point_2 p(0, 0.4), q(1, 0.7), r(2, 1);
{
std::cout << std::setprecision(17) << p << " " << q << " " << r <<
"\n";
Please print CGAL::exact(p) instead of p, same for q and r. Printing Epeck::FT first converts to double, it isn't reliable for this.
--
Marc Glisse
- [cgal-discuss] how to understand CGAL's computational accuracy, Aomandeyi, 03/12/2021
- Re: [cgal-discuss] how to understand CGAL's computational accuracy, Sebastien Loriot, 03/12/2021
- Re: [cgal-discuss] how to understand CGAL's computational accuracy, Aomandeyi, 03/12/2021
- Re: [cgal-discuss] how to understand CGAL's computational accuracy, Marc Glisse, 03/12/2021
- Re: [cgal-discuss] how to understand CGAL's computational accuracy, Aomandeyi, 03/13/2021
- Re: [cgal-discuss] how to understand CGAL's computational accuracy, Sebastien Loriot, 03/12/2021
- Re: [cgal-discuss] how to understand CGAL's computational accuracy, Aomandeyi, 03/13/2021
- Re: [cgal-discuss] how to understand CGAL's computational accuracy, Marc Glisse, 03/12/2021
- Re: [cgal-discuss] how to understand CGAL's computational accuracy, Aomandeyi, 03/12/2021
- Re: [cgal-discuss] how to understand CGAL's computational accuracy, Sebastien Loriot, 03/12/2021
Archive powered by MHonArc 2.6.19+.