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
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