Subject: CGAL users discussion list
List archive
- From: Marc Mörig <>
- To:
- Subject: [cgal-discuss] imprecision in Core_Expr.h
- Date: Thu, 26 Jul 2012 09:27:29 +0200
Dear CGAL maintainers,
in CORE_Expr.h there is twice the call
x.approx(53,1024);
meant to improve the internal approximation in x to double quality.
After a call x.approx(r,a) the internal approximation z is such that
|x - z| <= max{ |x|2^{-r}, 2^{-a} }
So that call wastes precision if x is in the underflow range. It should be
x.approx(53,1075);
since the smallest (positive nonzero) double is 2^{-1074}.
Regards,
Marc Mörig
--
Marc Mörig Email:
Institut für Simulation und Graphik Phone: +49 391 67-52858
Otto-von-Guericke Universität Magdeburg Office: G29-227
- [cgal-discuss] imprecision in Core_Expr.h, Marc Mörig, 07/26/2012
Archive powered by MHonArc 2.6.18.