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
Sylvain Pion
20a5fb5c95
Add some useful functions for Interval_nt:
...
- width()
- magnitude()
- compare_relative_precision(Interval, double)
And use the last one in to_double(Lazy_exact_nt).
2007-04-05 13:34:44 +00:00
Sylvain Pion
c25296b922
Remove empty spaces at end of lines.
2007-04-05 13:02:19 +00:00
Sylvain Pion
2991d6cbe2
- Minor change to fit_in_double(Interval_nt, double& r) so that it
...
changes r only if the result is true.
- Added is_singleton(Interval_nt) for mimicing Uncertain().
- Use these in Lazy_exact_nt.
2007-04-05 12:59:51 +00:00
Monique Teillaud
9e9810078b
precision
2007-04-04 09:35:16 +00:00
Monique Teillaud
d42bbaa614
fixes again
2007-04-04 09:30:55 +00:00
Monique Teillaud
abd7627e1a
regroup things logically
2007-04-04 07:45:55 +00:00
Monique Teillaud
bcc9654368
some more small improvements
2007-04-04 07:43:23 +00:00
Monique Teillaud
878e910a70
Trying to clean, but there is work left...
2007-04-03 16:13:19 +00:00
Monique Teillaud
f4bf455c8f
bug fix:
...
root of ax^2+bx+c, should not compute -b/2a without checking whether a==0
2007-04-03 12:34:40 +00:00
Andreas Meyer
d83d1a9299
added missing include for leda::interval
2007-04-02 18:15:07 +00:00
Sylvain Pion
7da39612c6
Soften comment to avoid frightening young naive developers.
2007-04-02 16:58:06 +00:00
Andreas Fabri
fcc16ec9d9
deice VC7
2007-03-30 09:29:08 +00:00
Sylvain Pion
61ade51847
Support for SunCC on Linux/x86.
2007-03-30 09:02:53 +00:00
Andreas Fabri
a6e1a78766
Is_valid is a class, not a struct
2007-03-30 08:50:48 +00:00
Sylvain Pion
d6fb8effeb
Remove traces of __KCC.
...
The Kai C++ compiler will not come back from the dead.
2007-03-30 08:10:59 +00:00
Andreas Fabri
067ca451ee
Generate random numbers different from 0 in order to avoid division by 0
2007-03-29 13:48:39 +00:00
Andreas Fabri
4c33380c83
min/max fix
2007-03-29 13:21:55 +00:00
Sylvain Pion
0075a6fb87
CGAL also has its own NTs
2007-03-29 11:42:32 +00:00
Andreas Fabri
7a7848ae5d
Added package description, renamed chapter, removed Olivier
2007-03-29 11:27:57 +00:00
Sylvain Pion
d33791826e
Fix "unused argument" warnings.
2007-03-28 21:57:18 +00:00
Michael Hemmer
e9013df2ff
added CGAL::Needs_parens_as_product<Gmpz>
2007-03-28 11:10:09 +00:00
Sylvain Pion
7ca020f653
formatting
2007-03-28 10:24:13 +00:00
Sylvain Pion
1bc7f17af6
towards a happier g++-3.3
2007-03-28 10:23:32 +00:00