Commit Graph

272 Commits

Author SHA1 Message Date
Marc Glisse c9e3fee437 More of the same, removing extra ;. 2006-12-28 01:14:13 +00:00
Marc Glisse 2a73e68adf Removed extra ; (same as previous patch)
Note: newer versions of sunCC are more tolerant of wandering ; so I can't
test the whole thing at home and rely on the testsuite.
2006-12-28 01:07:56 +00:00
Marc Glisse 0e69218611 Removed ; after definition of member function (useless and seems to
confuse sunCC)
2006-12-27 00:08:06 +00:00
Sébastien Loriot 7013ca3965 -fix is valid Lazy_exact_nt
-make Lazy_exact_nt and root_of_2 play better together
-update root_of_2 and root_of_traits testsuite
2006-12-21 15:24:20 +00:00
Sébastien Loriot f5cf472eb5 specification of Root_of_traits for Gmpz 2006-12-20 15:30:31 +00:00
Laurent Saboret 9d0d302a87 Fixed svn properties of whole trunk 2006-12-18 09:37:55 +00:00
Michael Hemmer 8e112fd0ea added tag Is_numerical_sensitive to AST 2006-12-15 14:39:17 +00:00
Michael Hemmer e8a393dcd2 rm function make_root_of_2(const NT &a, int b_, const NT &c)
use: make_root_of_2(const NT &a, const NT& b_, const NT &c)
2006-12-15 12:31:11 +00:00
Michael Hemmer 8fc7f3038d added missing operator()(NT a,b,c, bool s)
in default Root_of_traits_helper
added test
2006-12-14 07:41:50 +00:00
Sébastien Loriot cc20c0773b Add interface for make_root_of_2(a,b,c,bool) 2006-12-13 17:06:26 +00:00
Michael Hemmer 3fd1691e33 added test for
Salar_factor_traits
	Algebraic_extension_traits
2006-12-11 11:04:42 +00:00
Michael Hemmer 91fd271b1a fix for GMP-4.2:
remove explicit use of gmpz_value / gmpq_value
2006-12-11 10:51:54 +00:00
Michael Hemmer 709d528b67 added support for
Scalar_factor_traits
Algebraic_extension_traits
2006-12-11 10:49:13 +00:00
Michael Hemmer b9ed5e4b59 added include of
Scalar_factor_traits.h
	Algebraic_extension_traits.h
from package Algebraic_foundations
2006-12-11 10:48:06 +00:00
Michael Hemmer 1304f12218 added missing
public: ..Type
2006-12-11 10:45:58 +00:00
Sylvain Pion 3bad4df6e5 depth() is only accurate in -DCGAL_PROFILE mode. 2006-12-04 18:07:32 +00:00
Sylvain Pion 13e01b0ae1 more formatting for histogram profiler 2006-12-03 17:29:46 +00:00
Sylvain Pion 6952b2567b Re-implement depth() by storing the depth in the nodes
instead of recomputing it on demand through virtual functions.
The advantage is that it is much faster (no quadratic behavior),
and moreover, pruning used to set the depth to 0, while it is
not doing so anymore (can be an advantage or not, but...).
2006-12-03 01:57:56 +00:00
Sylvain Pion 096f1ffb9a formatting 2006-12-03 01:03:34 +00:00
Sylvain Pion f05894b01a Move non-NT-related lazy stuff from Lazy_exact_nt.h to Lazy.h.
MAke Lazy_exact_nt<> derive from Lazy<>.
2006-12-02 23:38:12 +00:00
Sylvain Pion 6dd7d78ee8 Add/fix the depth() function to get the DAG depth.
Some formatting improvements.
2006-12-02 21:53:17 +00:00
Sylvain Pion e35739664e add an histogram profiler in Gmpq's destructor to measure their sizes 2006-12-02 20:40:35 +00:00
Sylvain Pion 788dc2061b But why did they make the division different from the multiplication in the first place... 2006-12-02 17:47:25 +00:00
Sylvain Pion d58a2b842a Add a size() member function to get the memory size in bytes. 2006-12-01 14:34:59 +00:00
Sylvain Pion fab82067fc typo 2006-12-01 14:29:16 +00:00
Michael Hemmer 65f9fb86c1 rm CGAL::test_algebraic_structure_without_exactness_check (not needed) 2006-11-28 10:56:16 +00:00
Michael Hemmer 2f4958dd1d restored macroname XX_TypeDEF -> XX_TYPEDEF 2006-11-28 09:13:53 +00:00
Michael Hemmer 67a346406b rename AST::Algebraic_structure_tag -> AST::Algebraic_category 2006-11-28 07:45:49 +00:00
Michael Hemmer d931482ce2 rename:
FractionTraits::Numerator -> Numerator_type
FractionTraits::Denominator -> Denominator_type
2006-11-24 11:26:22 +00:00
Michael Hemmer f002c6fd13 renaming:
AlgebraicStructureTraits::Algebraic_structure -> ..::Type
RealEmbeddableTraits::Real_emebddable -> ..::Type
CoercionTraits::Coercion_type -> ..::Type
FractionTraits::Fraction -> ..::Type
2006-11-24 10:47:04 +00:00
Michael Hemmer be5db537cf added test file for Root_of_traits
added missing spec. for Root_of_traits_helper<T,Field_with_kth_root_tag>
2006-11-23 17:52:37 +00:00
Michael Hemmer 95f5c3a026 use test for MP_Float and mpz_class again. 2006-11-23 17:50:37 +00:00
Michael Hemmer ffb6bd6709 rm io mode BENCHMARK 2006-11-23 10:20:38 +00:00
Michael Hemmer 20a1f27d45 added support for Fraction traits 2006-11-22 15:16:50 +00:00
Michael Hemmer e00d501ec8 added assert in Root_of_traits for Field:
- Field must be a Fraction
2006-11-22 15:14:59 +00:00
Michael Hemmer 22ade8f487 added missing support for Fraction_traits 2006-11-22 15:02:22 +00:00
Michael Hemmer e2d5d314d7 included CORE types into test 2006-11-21 10:12:18 +00:00
Michael Hemmer 8f1af39ed0 separated test for i/oformat support
from NT utilities test
2006-11-21 10:11:27 +00:00
Michael Hemmer 0eef4cdd98 extended test of Div/Mod, rounding of div is fixed to: 'to zero' 2006-11-20 18:26:28 +00:00
Michael Hemmer 019788f0c6 rm global function is_exact() 2006-11-17 13:55:36 +00:00
Michael Hemmer 9c07e8f845 rm public typedefs Has_gcd, etc. 2006-11-17 13:53:39 +00:00
Michael Hemmer 33147ab3c4 formating 2006-11-17 13:41:42 +00:00
Sylvain Pion cb3eef5fee Add Exact_type and Approximate_type nested within Lazy_exact_nt (documented). 2006-11-16 21:11:08 +00:00
Michael Hemmer ca5200a713 mv basic NTS files into package Algebraic_foundations 2006-11-16 15:47:43 +00:00
Michael Hemmer 7d947bed40 rm Ring_tag
rm Sqrt_field_tag
2006-11-16 14:19:00 +00:00
Michael Hemmer 452eb6ee8e consistent use of sturct/class 2006-11-16 13:54:20 +00:00
Michael Hemmer d600061327 separated test for exact/inexact version of MP_Float 2006-11-16 12:04:48 +00:00
Michael Hemmer c497a00069 added missing interoperability operator in Integral_division 2006-11-16 12:02:20 +00:00
Michael Hemmer 67a49fd3b5 split files to test both variants 2006-11-16 10:33:13 +00:00
Sylvain Pion 178a03d99e pass by const ref instead of copy (spotted by Sebastien) 2006-11-16 10:05:11 +00:00