Subject: CGAL users discussion list
List archive
- From: "Stefan Uhrig" <>
- To: <>
- Subject: Assertion failure caused by MP_Float constructor
- Date: Mon, 18 Jun 2007 10:50:13 +0200
Hi Everyone,
running the following code leads to an assertion failure on my machine:
#include <CGAL/basic.h>
#include <CGAL/MP_Float.h>
int main()
{
double d = 0.49999237058324297;
CGAL::MP_Float mpf(d);
}
I've tested the code with CGAL 3.2.1 and 3.3 under Windows XP with VS 2005.
There seems to be a problem with the conversion of the above value. Is there
a bug in MP_Float::construct_from_builtin_fp_type(T d) or have I done
something wrong?
Thanks,
Stefan
- Assertion failure caused by MP_Float constructor, Stefan Uhrig, 06/18/2007
- Re: [cgal-discuss] Assertion failure caused by MP_Float constructor, Sylvain Pion, 06/18/2007
Archive powered by MHonArc 2.6.16.