Subject: CGAL users discussion list
List archive
- From: Sylvain Pion <>
- To:
- Subject: Re: [cgal-discuss] can gmp types overflow?
- Date: Wed, 17 Oct 2007 10:31:06 +0200
- Organization: INRIA
a écrit :
Can either CGAL::gmpz or CGAL::gmpq overflow, or can they represent as larage
as needed numbers?
I'm not sure what you mean by "as large as needed", but AFAIK, there is
no limit apart from the computer memory. You should refer to the GMP
documentation for this, by the way, since those CGAL types are only
wrappers around GMP.
> and is there an overflow when transferring to double? (assuming the double value is not over MAX_DOUBLE)
Again, the CGAL::to_double() function for these types call GMP
functions (mpz_get_d and mpq_get_d), so it is up to GMP.
--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
- can gmp types overflow?, avaxman, 10/17/2007
- Re: [cgal-discuss] can gmp types overflow?, Sylvain Pion, 10/17/2007
- errors in Delaunay code when using optimized CGAL lib on mac, Andrei Zaharescu, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Andreas Fabri, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Sylvain Pion, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Andrei Zaharescu, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Sylvain Pion, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Andrei Zaharescu, 10/17/2007
- Re: [cgal-discuss] errors in Delaunay code when using optimized CGAL lib on mac, Andreas Fabri, 10/17/2007
Archive powered by MHonArc 2.6.16.