Commit Graph

630 Commits

Author SHA1 Message Date
Michael Kerber c71a9982fe added typedef 2009-06-16 09:22:17 +00:00
Sylvain Pion e8c2fd66d3 Fix last change. 2009-06-13 19:46:56 +00:00
Sylvain Pion e05cfc59e4 Add partial specialization to avoid ambiguous case. 2009-06-11 17:14:17 +00:00
Efi Fogel e6695c1325 Fixed calling min and max for MSVC using Boost workaround 2009-05-26 21:08:11 +00:00
Sylvain Pion 76cf913015 Add a TODO. 2009-05-22 15:02:08 +00:00
Sylvain Pion 0b96e11974 Don't test CGAL::approximate_sqrt() for Quotient<Gmpzf>.
I'm not sure we want to propagate this stuff that far...  Do we ?
2009-05-12 14:16:23 +00:00
Sylvain Pion 9806cf02a0 Renamed operator/= to div() as it's not a Field division. 2009-05-09 15:21:26 +00:00
Sylvain Pion d9038fc22c Use CGAL::integral_division() instead of operator/= in normalize(). 2009-05-09 15:11:47 +00:00
Sylvain Pion 33fd59e039 Rename sqrt() to approximate_sqrt(), like MP_Float does, as it's not a usual sqrt. 2009-05-09 10:11:06 +00:00
Michael Hemmer 2561a432dd avoid clash of CGAL::min/max with std::min/max
e.g. boost does: "unsing std::min" plus an unqualified call of min
2009-04-29 13:57:45 +00:00
Michael Hemmer e5b9f33cab minor 2009-04-29 13:37:47 +00:00
Pedro Machado Manhaes de Castro c6eb319b92 fixing the conversion for Root_of_traits<CORE::BigInt> 2009-03-31 17:20:16 +00:00
Michael Hemmer 2bb7ee56c3 added missing doc for FromDoubleConstructible 2009-03-31 09:38:38 +00:00
Marc Glisse 248d4447db setprecision is in namespace std (this works currently because we import
CORE in the global namespace, and CORE imports std).
2009-02-27 10:27:26 +00:00
Sylvain Pion 7b26494d30 Reduce the noise in "grep ccTexHtml". 2009-01-05 17:24:03 +00:00
Sylvain Pion 873efc64e1 Remove svn:executable property on images. 2009-01-03 13:27:56 +00:00
Michael Hemmer e96d501428 file is obsolete 2008-12-12 08:59:48 +00:00
Michael Hemmer 435a6d0808 added license header 2008-12-12 08:06:39 +00:00
Michael Hemmer 1012731f2a test GMP_arithmetic_kernel 2008-12-12 08:05:46 +00:00
Michael Hemmer 7d11d0c4ab added missing CGAL_int() 2008-12-09 13:59:25 +00:00
Michael Hemmer 959f0738a0 wrap up Test/_test_coercion_traits.h
move tests for binary functors into test for explicit interoperable 
as they are supposed to
2008-12-09 10:41:01 +00:00
Michael Hemmer 26ce8b5331 traits reflects implicit interoperability with int and NT 2008-12-09 10:29:00 +00:00
Michael Hemmer b2f47e8796 revert commit 2008-12-09 09:33:22 +00:00
Sylvain Pion d195a91851 Test commit. 2008-12-08 09:27:47 +00:00
Michael Hemmer 33811947e4 update license header 2008-12-08 06:25:14 +00:00
Andreas Fabri 1d9b40756e Add license header 2008-12-06 21:47:11 +00:00
Andreas Fabri 94460bbfd0 Add license header 2008-12-06 21:43:32 +00:00
Andreas Fabri d59d587df0 Add license header 2008-12-06 21:43:14 +00:00
Sylvain Pion 6af4976ab1 Remove obsolete comments. 2008-12-05 16:30:17 +00:00
Sylvain Pion 4251273447 Introduce a new class Set_ieee_double_precision, in order to provide
a better alternative to Protect_FPU_rounding(CGAL_FE_TONEAREST) which is
slightly unrelated.

If it works, then let's use it in the places that have recently been using
Protect_FPU_rounding for this issue.
2008-12-03 14:43:43 +00:00
Sylvain Pion 70e4b15a4f Some follow-up fixes to the documentation of Protect_FPU_rounding.
(still needs testing when cgal_manual will be unbroken on the mac)
2008-11-28 22:25:21 +00:00
Sylvain Pion 3bb6912858 Following popular request from Michael, document Protect_FPU_rounding<>. 2008-11-28 22:20:55 +00:00
Andreas Fabri b67c6dac07 one less warning for VC++ 2008-11-25 12:48:01 +00:00
Sylvain Pion b18953a3a5 Change int to std::size_t. 2008-11-25 11:58:34 +00:00
Andreas Fabri a16d4f6481 Remove coercion from long long to leda::rational, as leda::rational doesn't provide a constructor for long long 2008-11-25 09:39:17 +00:00
Andreas Fabri 7ed7023cbf Fix to_interval 2008-11-23 14:08:51 +00:00
Andreas Fabri 4710a852f1 Use CGAL_USE_LONG_LONG instead of a plain removal 2008-11-21 10:12:19 +00:00
Andreas Fabri fd529109cf Don't do anything for long long 2008-11-21 09:53:53 +00:00
Laurent Rineau ec9f2e29e5 Update citations (s/07/08/).
Let us hope that CGAL-3.4 will be release before 2009!
2008-11-20 22:19:28 +00:00
Andreas Fabri 26d60f9942 Duplicate and split Sqrt_extension.cpp for LEDA and CORE as VC8 is running out of heapspace with all these instantiations 2008-11-20 09:41:14 +00:00
Andreas Fabri 4326438f4a Duplicate and split Sqrt_extension.cpp for LEDA and CORE as VC8 is running out of heapspace with all these instantiations 2008-11-20 09:40:17 +00:00
Laurent Rineau 9026e8d8ce Fix Andreas revision 46848 (one want <LEDA/numbers/interval.h> be included
even if _MSC_VER is not defined.
2008-11-12 16:53:12 +00:00
Andreas Fabri 1509b91904 We have to undef ERROR in case it is defined, e.g. in <windows.h> 2008-11-12 15:47:18 +00:00
Michael Hemmer 9e018b0a22 rm warning for -DCGAL_NDEBUG 2008-10-30 10:10:21 +00:00
Michael Hemmer da3e09e9c0 use CGAL::Protect_FPU_rounding<true> pfr(CGAL_FE_UPWARD)
for CGAL::Interval_nt<false>
2008-10-27 08:08:21 +00:00
Andreas Fabri 2758efd609 Backup and restore rounding mode to avoid error message 2008-10-25 09:38:33 +00:00
Laurent Rineau b80958f958 Use assertion instead of warning. 2008-10-23 22:10:06 +00:00
Laurent Rineau d256a634c3 Add src/CGAL/test_FPU_rounding_mode.cpp
That file creates a global (static const) object that:
  - at its creation (start of the program), it stores the FPU rounding mode,
  - at its destruction (end of the program), it emits a CGAL_warning is the
current rounding mode is different from the stored one.

That will permit to track if all CGAL kernel code restore the FPU rounding
mode correctly (needed for some CGAL user and GeometryFactory customers).
2008-10-15 12:53:41 +00:00
Andreas Fabri 4ffe6b9657 Add illustration 2008-10-15 07:43:06 +00:00
Andreas Fabri 6bdf362774 quit down VC++ warning 2008-10-14 07:22:04 +00:00