Commit Graph

465 Commits

Author SHA1 Message Date
Sylvain Pion a46b55bf71 The files "changes.txt", "description.txt", "long_description.txt" and "maintainer"
are now under /trunk/$Package/package_info/$Package/ .
2007-12-02 15:06:42 +00:00
Michael Kerber 44e462a895 decompose uses Coercion_traits for Numerator and Denominator 2007-11-28 10:33:14 +00:00
Andreas Meyer c1d1609af1 replaced CGAL_assertion( false* and CGAL_assertion( 0*
with CGAL_error/CGAL_error_msg
2007-11-08 00:27:20 +00:00
Sylvain Pion df81bb3e54 Use anonymous namespaces. 2007-11-07 22:48:10 +00:00
Andreas Meyer 6623d525eb * replaced assert in */test/*/*.{cpp,h} with CGAL_test_assertion
* replaced #include <assert.h> with the according CGAL/Testsuite/assert.h
2007-11-07 21:35:42 +00:00
Andreas Meyer fdeedcf8b0 some low level code cleanup. renamed
* CGAL_error to CGAL_error_msg
* introduced a macro CGAL_error()
* added some words about CGAL_error to the developers manual
* renamed most of assert(x) into CGAL_assertion(x)
* renamed exit(x) with x != 0 , CGAL_assertion(false) and assert(false) into CGAL_error
* CORE left untouched, OpenNL changed
2007-11-07 16:51:18 +00:00
Sebastian Limbach 32b0041c55 Removed some more unnecessary semicolons. 2007-10-25 14:18:35 +00:00
Sebastian Limbach 492710ec77 Added missing include directive. 2007-10-25 14:07:40 +00:00
Sebastian Limbach 41c39d857e Removed some unnecessary semicolons. 2007-10-25 09:11:15 +00:00
Sebastian Limbach 76bd82ecfa output_benchmark function and Benchmark_rep specialization added to produce the correct output, as expected by the Benchmark parser. 2007-09-27 08:13:05 +00:00
Sebastian Limbach 4f8e6e7c29 Benchmark_rep specialization added because get_benchmark_name has to be implemented. 2007-09-27 08:11:52 +00:00
Sylvain Pion 24a2064592 Shut up VC++ warning (reported by Peter Schroeder). 2007-09-11 21:25:39 +00:00
Sebastian Limbach b9e29f7cbe Moved Scalar_factor_traits specialization for Sqrt_extension number type from Algebraic_foundations package to the Sqrt_extension-SFT file in the Number_types package. 2007-09-03 13:45:21 +00:00
Sylvain Pion a0f9754bbe Add radius(Interval_nt).
Replace compare_relative_precision() by has_smaller_relative_precision()
fixing the case of [-Inf,+Inf].
2007-08-22 15:41:11 +00:00
Sylvain Pion 4da7713aa8 Remove obsolete config flag CGAL_CFG_NO_STDC_NAMESPACE and rename
its dependant macro CGAL_CLIB_STD to "std".
2007-08-08 15:59:25 +00:00
Sylvain Pion d76beea6ad Remove obsolete config flag CGAL_CFG_NO_LOCALE. 2007-08-08 15:30:58 +00:00
Sebastian Limbach e81057cfad Moved Arithmetic_kernel from test to include/CGAL dir. 2007-08-02 11:47:02 +00:00
Sebastian Limbach c1aadfd606 Moved Modular_traits specializations out of Modular_arithmetic package to the respective Number_types. 2007-08-02 09:36:48 +00:00
Sebastian Limbach 4346f96583 check_root function added 2007-08-01 13:05:24 +00:00
Sebastian Limbach 748d79b3fb Bug fixed which lead to wrong results when calling the operator-= (added one minus sign).
Casts from Root type to NT are performed using the coercion traits now.
Output_maple-function added temporarily because it is currently needed in EXACUS.
2007-07-31 14:28:19 +00:00
Sebastian Limbach be7c5f72b8 Intern core_interval_support.h moved from Algebraic_kernel_d to Number_types package because it is needed for some fixes of the AST/RET of CORE_BigFloat. 2007-07-23 15:03:32 +00:00
Sylvain Pion 7fc6805ca4 Fix bug reported by Stefan Uhrig.
v.push_back(my_nearbyint(d)) can cause a problem when my_nearbyint(d)==-32769.
2007-07-20 17:19:15 +00:00
Joachim Reichel 35dbad809c Remove non-working rounding mode macros for alpha 2007-07-04 20:16:28 +00:00
Sylvain Pion 6d8066fccd Remove new g++ 4.3 warning. 2007-06-08 18:23:01 +00:00
Sylvain Pion a9419ee49d Add <cstring> otherwise <gmpxx.h> from GMP-4.1.4 does not work with g++ 4.3. 2007-06-08 13:49:17 +00:00
Andreas Fabri 21e20e4d42 3.3 branch -> trunk 2007-06-04 14:28:57 +00:00
Andreas Fabri 3fc7e21b15 3.3 branch -> trunk 2007-06-04 14:10:45 +00:00
Michael Hemmer 02b3b64a58 restructured Sqrt_extension into several files due to the
complexity of the type.
2007-05-16 11:46:27 +00:00
Michael Hemmer c158e6486f added Algebraic_extension_traits
added Scalar_factor_traits
2007-05-16 11:44:03 +00:00
Andreas Meyer f26244caa9 moved leftover io helper function to proper place 2007-05-15 17:00:30 +00:00
Michael Hemmer 86403a403d incorporated changes by Ron Wein (from One_root_number)
- improved interoperability with NT
 - added functor Compare to RET 
 - added functor Sign to RET

 - added internal filter using Interval_nt 
   define: SQRT_EXT_USE_FILTER to enable filter
2007-05-15 14:39:12 +00:00
Sylvain Pion f5df4664e1 Introduce a Split_double<NT> functor so that Quotient's constructor from double
is exact even for Gmpz, leda_integer and mpz_class.
2007-04-26 11:52:14 +00:00
Sylvain Pion 0607fd0e3c Add std::pair<double, double> split_numerator_denominator(double d)
to be able to properly construct a rational from a double.
2007-04-23 08:24:09 +00:00
Sylvain Pion 6a192faff4 Rewrite is_integer(double d) in terms of std::ceil instead of depending on MP_Float. 2007-04-23 08:08:03 +00:00
Sylvain Pion 9c65e58ebd Rename is_integral to is_integer. 2007-04-21 08:36:56 +00:00
Sylvain Pion fbff6b2945 Gmpz constructor from double now emits a warning for non-integral values. 2007-04-21 07:46:15 +00:00
Sylvain Pion a50b5877ba Add is_integral(MP_Float) and is_integral(double) (which calls the former for simplicity). 2007-04-21 07:28:40 +00:00
Sylvain Pion 3b2173bbc4 Hum... 2007-04-20 21:01:23 +00:00
Bernd Gärtner 589a2d6a37 - to_double(Quotient) fix 2007-04-20 09:08:30 +00:00
Bernd Gärtner bfeb222683 to_double() fix for Gmpzf to avoid unnecessary exponent overflow 2007-04-20 08:08:32 +00:00
Andreas Meyer c1e9765ff4 manual fix: moved labels inside sectioning command 2007-04-18 14:20:12 +00:00
Sylvain Pion 038414b440 Complete the interoperability of Quotient<RT> with double
(depending on RT's interoperability of course).
2007-04-18 11:58:09 +00:00
Sylvain Pion 893134bcbf - Add mixed comparisons with double.
- Add relative_precision(Interval_nt) (still beta).
2007-04-18 11:26:40 +00:00
Sylvain Pion 39d0b8b137 Rename local variable to avoid shadowing warning. 2007-04-17 20:35:04 +00:00
Sylvain Pion 5f740a572a A class with only private members is not that useful... 2007-04-17 20:27:41 +00:00
Sylvain Pion 0eea68f3cf Spell check. 2007-04-17 16:00:30 +00:00
Andreas Meyer e651032cec worked around another LEDA bug (mod vs. negative numbers) 2007-04-16 12:42:11 +00:00
Michael Hemmer d8b0038520 changed includes, such that the support files for
all included types are always included
2007-04-16 08:57:45 +00:00
Andreas Fabri 284081de7d typo 2007-04-11 19:00:45 +00:00
Michael Hemmer ea08d610f5 dont_submit Algebraic_foundations/../Scalar_factor_traits.h
dont_submit Algebraic_foundations/../Algebraic_extension_traits.h
moved specs for Sqrt_extension of traits into *traits.h, 
since Sqrt_extension is in release.
2007-04-10 13:54:59 +00:00