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
Sylvain Pion
8865f7ea4f
Use C++0x rvalue references in Object, Handle_for, MP_Float and Quotient.
2008-08-27 14:19:18 +00:00
Sylvain Pion
e7dd28125f
Add explicit static_cast to fix error with gcc-4.4 in -std=c++0x mode.
2008-08-26 14:24:07 +00:00
Sylvain Pion
81c0e4510b
Some updates (and test for the commit mails).
2008-08-25 18:36:42 +00:00
Sylvain Pion
85e80686d4
Fix "unused variable" warnings in CGAL_NDEBUG mode.
2008-08-20 09:06:34 +00:00
Sylvain Pion
4606422089
Capitalize protect macro names.
2008-08-20 08:52:46 +00:00
Sylvain Pion
b7cfe82eb9
Add parens to remove GCC warnings
2008-08-19 09:46:56 +00:00
Sylvain Pion
1df108c0d7
Replace some CGAL_assertion(A && B) by CGAL_assertion(A & B).
...
In general this is safe: B would not be evaluated only if A would be false,
that is, when the assertion would be raised anyway. So what worse can happen
in evaluating B than an assertion failure. Not much I guess.
And for Uncertain<> conditions, it is preferable to use & instead of &&.
So I change some of these to see if it might become a global rule.
2008-08-12 14:59:20 +00:00
Sylvain Pion
5aae6c851a
Rename CGAL_kernel_precondition to CGAL_precondition.
2008-08-12 13:56:33 +00:00
Sylvain Pion
9d989cfc46
Shuffle macro tests to avoid unreadable code duplication.
2008-08-12 13:09:51 +00:00
Sylvain Pion
bf0491f96e
CGAL_assertion now already includes possibly(), so no need to add it manually anymore.
2008-08-12 08:35:42 +00:00
Sylvain Pion
43144bb78f
Rename CGAL_NUMBER_Type_BASIC_H to CGAL_NUMBER_TYPE_BASIC_H.
2008-08-11 12:31:35 +00:00
Sylvain Pion
aff1bf74aa
Replace CGAL::Interval_nt<>::number_of_failures() by a CGAL_PROFILER() counter.
2008-08-06 13:16:04 +00:00
Michael Hemmer
182c550580
warp up RealEbeddable_traits, i.e., mv RET_base into internal namespace
2008-08-05 13:42:15 +00:00
Michael Hemmer
cff191916d
changed name: CGAL::Modular -> CGAL::Residue
...
chnaged filenames accordingly
changed: Modular_traits::Modular_NT -> Modular_traits::Residue_type
2008-08-04 15:09:13 +00:00
Michael Hemmer
d2ee3a1eb3
added test of double interoperability in arithmetic operators.
2008-08-01 12:42:01 +00:00
Michael Hemmer
f4f2d820a4
use split double in operator +=, etc.
2008-07-31 14:07:29 +00:00
Sylvain Pion
d2fdfddb05
minor rewording
2008-07-31 13:46:10 +00:00
Sylvain Pion
a8e8ecfdcf
Replace Interval_nt_advanced::unsafe_comparison by Uncertain_conversion_exception.
...
(it was alrady the same type, but now the filtering code can be independent on Interval_nt_advanced
(think other interval types, or other types of filters).
2008-07-31 13:31:26 +00:00
Sylvain Pion
265ce473b4
Rename extract_singleton(Uncertain<T>) to get_certain()
2008-07-30 12:03:07 +00:00
Sylvain Pion
f70c3779c7
Rename Uncertain::is_singleton() to is_certain()
2008-07-30 08:29:37 +00:00
Sylvain Pion
dc3bf72707
Remove changes.txt files.
2008-07-24 17:47:16 +00:00
Michael Hoffmann
74ba7047c3
Another two Binary_functions...
2008-07-24 05:46:41 +00:00
Michael Hoffmann
4931e163ea
Remove dependency on CGAL/functional -> replace Unary_function
...
and Binary_function by std:: counterparts.
2008-07-23 14:36:49 +00:00
Sylvain Pion
8c78a202b8
Remove obsolete functor arity tests.
2008-07-23 06:28:52 +00:00
Sylvain Pion
79864c0c8e
Remove Arity_tag.
2008-07-22 12:29:01 +00:00
Sylvain Pion
173ef7c590
Allow propagation of Uncertain-ty in more places, to reduce the number of exceptions.
...
- Use K::Bool_type, K::Orientation... instead of bool, CGAL::Orientation...
- More functions around Uncertain<> : make_certain(), extract_singleton(),
possible conversions tightenning.
Many conversions still remain, e.g. for switch and if statements, &&, ||...
2008-07-16 13:45:13 +00:00
Michael Hemmer
2e90fee8ea
added functor divides, required by IntegralDomain
2008-07-16 09:40:46 +00:00
Michael Kerber
5395f847a4
replaced absolute preecision of 1024 to LONG_MAX
2008-07-10 09:40:30 +00:00
Sylvain Pion
08d1f279b0
- Stop g++ 4.3.1 -O2 constant propagation using CGAL_IA_STOP_CPROP().
...
- Remove unused function FPU_empiric_test_mul().
2008-06-15 18:31:52 +00:00
Sylvain Pion
be98f10bc3
Disable CGAL_DISABLE_ROUNDING_MATH_CHECK on Intel/Linux as it is
...
too aggressive with constant propagation.
2008-06-15 18:01:13 +00:00
Sylvain Pion
2748d953e2
Add a flag CGAL_DISABLE_ROUNDING_MATH_CHECK to do what it says, since the
...
check is problematic in some cases (e.g. valgrind).
2008-06-02 18:08:35 +00:00
Michael Kerber
3f83eb92e1
Removed debug printout
2008-05-20 11:28:22 +00:00