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
Andreas Fabri
f6ebf5e5f7
Suppress VC warning
2008-10-13 13:46:35 +00:00
Michael Hemmer
8a1b24a1f4
added test for implicit interoperablity
2008-10-13 12:34:31 +00:00
Michael Hemmer
f43c6746a0
rm ifdef CGAL_USE_GMP its a precond anyway
2008-10-13 12:31:45 +00:00
Sylvain Pion
4aa1cb057a
Remove my email adress from header files.
2008-10-11 20:21:08 +00:00
Michael Hemmer
2c8cd4f7b3
added precond d!=0 for constructor
2008-10-06 11:48:52 +00:00
Michael Hemmer
2b76291e2a
fix in interoperablity with int and NT
2008-10-06 10:07:29 +00:00
Michael Hemmer
a6d338af47
improved simplify funciton: sets is_extended flag
2008-10-06 08:32:59 +00:00
Pedro Machado Manhaes de Castro
5dfed6f7f2
More accuracy on the to_double of Root_of_2
2008-09-29 18:20:02 +00:00
Michael Hemmer
88848c145b
moved Modular_traits for int and long from Modular_traits.h
2008-09-25 13:41:17 +00:00
Michael Hemmer
54ea4a46a9
types that have a demonintor are not Modularizable
...
denominator could become zero mod prime
2008-09-25 09:13:21 +00:00
Michael Hemmer
c78b05b739
rename Real_embeddable_traits::Sign Sgn
...
added RET::Boolean, RET::Sign, RET::Comparison_result
2008-09-18 15:35:55 +00:00
Michael Hemmer
cf6fe3a5ec
added public type Boolean to Algebraic_structure_traits
2008-09-18 13:53:47 +00:00
Sylvain Pion
d9595d3b94
Add CGAL_assertion(is_finite(d)) in some number types constructors from double.
2008-09-17 15:53:27 +00:00
Sylvain Pion
0f03fe4677
Remove useless is_valid() test, as it's redundant with is_finite().
2008-09-17 15:24:57 +00:00
Michael Hemmer
5e015a95b2
added test for convert to bfi
2008-09-11 08:54:30 +00:00
Michael Hemmer
655514b33c
added a special cache for efficient conversion of
...
Sqrt_extension to Bigfloat_interval, disabled by default
2008-09-11 08:54:12 +00:00
Andreas Fabri
1721268112
VC++ doesn't like template parameters which are at the same time a typename in a derived class
2008-09-10 20:48:51 +00:00
Michael Hemmer
cf7e170ec8
Modular_traits::Modular_image_inv -> Modular_image_representative
2008-09-09 12:54:08 +00:00
Michael Hemmer
3d75f7fea6
added Modular_traits for several types
2008-09-09 11:57:05 +00:00
Michael Hemmer
235ca346ed
added missing include
2008-09-09 11:52:52 +00:00
Michael Hemmer
09a0e17c4b
use CORE to test NT_checker, since LEDA is currently not in testsuite
2008-09-09 11:51:41 +00:00
Michael Hemmer
bfea282784
fixed cut&paste bug in Is_finite
2008-09-09 11:47:53 +00:00
Sylvain Pion
a0be560caa
New profiling tool : Profile_branch_counter, that improves the display
...
of failure/calls ratios. With the corresponding macro CGAL_BRANCH_PROFILER().
2008-09-08 09:52:37 +00:00
Sylvain Pion
419f46f919
Remove CGAL_CFG_COMMA_BUG and its workaronds, as we don't support g++ 3.3 anymore.
2008-09-08 09:33:02 +00:00
Sylvain Pion
15c7353407
Pick Gmpq if available, instead of Quotient<MP_Float>, as the corresponding
...
"exact number type" for built-in types.
2008-09-07 13:46:20 +00:00