Commit Graph

798 Commits

Author SHA1 Message Date
Marc Glisse 92921b3a2a Fix istream>>Quotient at EOF 2010-12-20 20:48:26 +00:00
Sébastien Loriot caee29cb4a Inverse functor for Lazy_exact_nt based types 2010-11-08 14:52:56 +00:00
Michael Hemmer f89eaf1a8f add functor Inverse 2010-11-07 07:53:01 +00:00
Andreas Fabri 94ddbe6842 put fit_in_double(Lazy_exact_nt) in namespace 'internal' 2010-10-18 13:36:23 +00:00
Laurent Rineau 9277a77b72 Fix all svn:keywords in */include/ 2010-10-04 11:00:27 +00:00
Sébastien Loriot 7fad7427e6 typo 2010-09-27 08:52:41 +00:00
Sébastien Loriot 45610571a3 avoid warning on intel strict ansi (constant expression) 2010-09-27 06:47:26 +00:00
Sébastien Loriot d3c8d09655 add a simple function to test operator>> of CORE::Expr 2010-09-24 14:06:57 +00:00
Daniel Russel 973edb7abd add cctype for isspace 2010-09-20 17:36:42 +00:00
Sylvain Pion fe04258e2a Remove myself from maintainer files. 2010-09-15 12:32:09 +00:00
Andreas Fabri 43437dbfd7 Add an intermediate typedef so that static_assert compiles with VC10 2010-09-07 14:39:56 +00:00
Michael Hemmer 1e9ffa492f remove useless test about exactness for int 2010-09-01 08:59:20 +00:00
Michael Hemmer a21ca48e4a fix tag swap for is_exact and is_numerical_sensitve 2010-08-27 11:20:16 +00:00
Michael Hemmer 90592c6011 avoid constructions 2010-08-25 16:06:42 +00:00
Laurent Rineau 793f32ff96 Fix a compilation bug with recent Boost. test(NT) must be fully qualified:
::test.


The error message was:
/home/lrineau/CGAL/boost/1.44-beta1/include/boost/type_traits/has_new_operator.hpp: In function 'int main()':
/home/lrineau/CGAL/boost/1.44-beta1/include/boost/type_traits/has_new_operator.hpp:24: error: 'template<class U, U x> struct boost::detail::test' is not a function,
/home/lrineau/CGAL/CGAL-3.7-I-139/cmake/platforms/x86-64_Linux-2.6_g++-4.4.4_F13/test/Number_types/to_interval_test.cpp:30: error:   conflict with 'template<class NT> void test(const NT&)'
/home/lrineau/CGAL/CGAL-3.7-I-139/cmake/platforms/x86-64_Linux-2.6_g++-4.4.4_F13/test/Number_types/to_interval_test.cpp:73: error:   in call to 'test'
2010-08-19 12:05:16 +00:00
Laurent Rineau 1ca243eaa3 Merge:
| ------------------------------------------------------------------------
  | r58141 | lrineau | 2010-08-18 15:08:04 +0200 (Wed, 18 Aug 2010) | 5 lines
  | Changed paths:
  |    M /branches/CGAL-3.7-branch/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Float_traits.h
  |    M /branches/CGAL-3.7-branch/Number_types/include/CGAL/CORE_BigFloat.h
  | 
  | Fix the "bug" of CORE-1.7 in 64 bits. The bug was actually in CGAL
  | Number_types and Algebraic_kernel_d! The basis of CORE::BigFloat is not
  | 2^14: it is 2^CORE::CHUNK_BIT. CORE::CHUNK_BIT is 14 in 32 bits, but *30*
  | in 64 bits!
  | 
  | ------------------------------------------------------------------------

Update: See revision 58145. 
  -- Laurent Rineau Wed Aug 18 16:26:15 CEST 2010
2010-08-18 13:48:03 +00:00
Sylvain Pion ce7e20980a Refine error message for Intel compiler. 2010-08-13 13:26:35 +00:00
Marc Glisse c404653478 Use accessors. By the way, I don't understand why inf() and sup() return
a const double&: it's not like double is so large we can't return it by
value.
2010-08-11 12:05:28 +00:00
Michael Hemmer c42d61581d fix problem with x86-64_Linux-2.6_g++-4.4.0_F13 2010-08-10 09:32:01 +00:00
Sylvain Pion ee8454ad5b interval_support.cpp is not longer in this directory. 2010-08-10 09:02:13 +00:00
Sylvain Pion f20f2f45c5 Qualify calls to min/max with CGAL:: to avoid ambiguity with std::min/max. 2010-08-10 08:55:55 +00:00
Sylvain Pion 7e8a50b7ae Qualify to avoid ADL issue with boost::detail::test. 2010-08-10 08:49:17 +00:00
Sébastien Loriot c55460707b typos 2010-08-06 14:47:44 +00:00
Michael Hemmer 37c48c8f93 missing reference / typo 2010-08-06 14:43:56 +00:00
Laurent Rineau d33eaa37d1 Update the workaround for libmpfr-1.dll and the "long double" type. 2010-07-09 11:21:43 +00:00
Marc Glisse 26f8c79bbb Remove broken move constructor / assignment.
This is just a quick fix, the list of constructors / assignment operators
doesn't look optimal.
2010-07-08 10:10:35 +00:00
Sylvain Pion 27c3c41664 Rvalue reference update for g++ 4.6 : the new rules of C++0x made this code broken.
It is not needed anymore.
2010-07-07 10:00:38 +00:00
Michael Hemmer 7145cfcc82 Algebraic_structure_traits is a class 2010-07-07 07:46:35 +00:00
Andreas Fabri b201e832bd Added static_cast 2010-06-23 08:32:08 +00:00
Luis Peñaranda 7b5d7c4907 eliminated VC10 warning in Gmpfr_type.h 2010-06-22 14:44:17 +00:00
Luis Peñaranda 4f61a6457f minor changes to make Gmpfr work with MPFR 3.0 2010-06-21 15:06:07 +00:00
Andreas Fabri 133555a797 Add missing file (Rev 56916) 2010-06-21 13:36:47 +00:00
Laurent Rineau 5069faed6b Revert revision 56916 in trunk/Number_types/test (should not have been
commited).
2010-06-21 13:10:52 +00:00
Andreas Fabri a654782c9d No warning for gmp.h
(Update: this commit is incomplete. The missing file <CGAL/gmp.h> is added
in revision 56920. --Laurent Rineau)
2010-06-21 13:07:07 +00:00
Luis Peñaranda caebea77fa avoid some VC10 warnings in Gmpfr_type.h 2010-06-21 09:50:46 +00:00
Laurent Rineau 8679a3911e Merged revisions 56835,56864-56870,56876,56895-56897 via svnmerge from
svn+ssh://lrineau@scm.gforge.inria.fr/svn/cgal/branches/CGAL-3.6-branch

........
  r56835 | lrineau | 2010-06-17 12:56:52 +0200 (Thu, 17 Jun 2010) | 6 lines
  
  Remove the constructor Gmpfr(long double) on Microsoft Visual C++. A big
  comment in the source code explains why.
  
  The testsuite will check that the construction of Gmpfr from a long double
  on MSVC still works and produces the right Gmpfr.
........
  r56864 | afabri | 2010-06-18 11:04:47 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Use tie from boost::
........
  r56865 | afabri | 2010-06-18 11:11:49 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Use bind from boost::
........
  r56866 | afabri | 2010-06-18 11:38:50 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Use bind from boost:: (detected in Mesh_3 VC10 testsuite)
........
  r56867 | lrineau | 2010-06-18 11:39:24 +0200 (Fri, 18 Jun 2010) | 3 lines
  
  cmake-2.8.2rc2 is out.
  /bigobj is necessary
........
  r56868 | afabri | 2010-06-18 11:52:37 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Add #include <fstream>
........
  r56869 | afabri | 2010-06-18 11:55:33 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Shorten filename as with path it exceeds easily 256 letters which poor Visual C++ can't handle
........
  r56870 | afabri | 2010-06-18 12:24:30 +0200 (Fri, 18 Jun 2010) | 1 line
  
  Use tie from boost::
........
  r56876 | lrineau | 2010-06-18 16:40:36 +0200 (Fri, 18 Jun 2010) | 3 lines
  
  New try to fix the issue of Gmpfr(long double) with MSVC and libmpfr-1.dll
  compiled by Mingw.
........
  r56895 | lrineau | 2010-06-20 23:16:40 +0200 (Sun, 20 Jun 2010) | 3 lines
  
  Using boost::bind is not sufficient" "bind" without qualifier was
  ambiguous, according to MSVC2010, with std::bind (from C++0x).
........
  r56896 | lrineau | 2010-06-20 23:18:29 +0200 (Sun, 20 Jun 2010) | 3 lines
  
  Qualify "bind" with "boost::", to avoid the ambiguity (according to
  MSVC2010), with std::bind (C++0x).
........
  r56897 | lrineau | 2010-06-20 23:19:17 +0200 (Sun, 20 Jun 2010) | 2 lines
  
  Stupid typo!
........
2010-06-20 21:48:20 +00:00
Michael Kerber 4377bda5fe Introduced cast-to-void to avoid compiler warnings 2010-06-18 15:10:29 +00:00
Luis Peñaranda 003aeddad1 fixed bug in expensive assertion code 2010-06-18 13:38:59 +00:00
Sébastien Loriot 62c6b7d582 license bug 2010-06-16 08:42:21 +00:00
Sébastien Loriot b53e23c906 add forward declaration for Quotient 2010-06-16 08:22:01 +00:00
Michael Hemmer 181af0419d added missing include 2010-06-14 08:34:32 +00:00
Michael Hemmer d15cc947a4 relax rounding conditions in to_interval 2010-06-11 07:53:37 +00:00
Sébastien Loriot 52317dd49f add python script (replace_CGAL_NAMESPACE.py) to replace CGAL_BEGIN_NAMESPACE and CGAL_END_NAMESPACE
by namespace CGAL { and } //namespace CGAL. in all .h and .cpp files
in a directory.
Apply it to all packages in the trunk
Remove macro definition from the config.h file.
2010-06-09 07:37:13 +00:00
Luis Peñaranda 2d9d876611 removed useless calls to mpq_canonicalize in Gmpq_type.h, and added a
CGAL:: to avoid confusion in Gmpfi.h
2010-06-07 09:24:10 +00:00
Marc Glisse d3d5da387e Replace __gmp_expr with mp*_class where appropriate. 2010-05-25 19:58:27 +00:00
Michael Hemmer 1ab0e40c06 fix corner case in round, where the float is representing
a power of 2 in the mantissa
2010-05-11 11:41:12 +00:00
Michael Hemmer 8ab715005c rm useless def of CGAL::in for Interval_nt in test file 2010-05-11 10:05:19 +00:00
Luis Peñaranda 1c2f4582c0 Some changes in the Gmpfi and Gmpfr classes:
-eliminated useless 'inline' keywords;
-wrapped to 80 columns;
-added extra assertions in functions;
-eliminated the reference counting from Gmpfi, since the reference counted
endpoints do the job;
-minor details in documentation.
2010-05-06 15:28:17 +00:00
Michael Hemmer 65d67a3591 move Wang traits spec into Sqrt_extension 2010-05-05 16:04:03 +00:00
Michael Hemmer d49fb7e465 mv spec code for Sqrt_extension / convert_to_bfi to Sqrt_extension 2010-05-05 15:05:18 +00:00