Sylvain Pion
d24e34bf46
- New member function .is_point() {return (inf == sup);}.
1999-03-03 09:46:43 +00:00
Sylvain Pion
f69b19e8ea
- Some reformating
...
- Added operators || (union) and && (intersection).
1999-03-03 09:43:34 +00:00
Sylvain Pion
29ceffad58
- Changed stuff to use "struct converter".
1999-02-21 15:14:52 +00:00
Sylvain Pion
6601da2073
- Introduced namespace CGAL.
1999-02-19 17:17:07 +00:00
Sylvain Pion
c1c83f6993
- Temporary version (waiting for "struct converter").
...
They will all need some re-writing.
1999-02-19 15:13:41 +00:00
Sylvain Pion
200626696b
- New flag CGAL_IA_DONT_USE_ASSEMBLY that disables assembly for all platforms
...
(usefull for Irix 5.3 only at the moment).
- Fixed the asm constraint "g" to "m" in the x86 assembly version (egcs-1.2
discovered it).
- Introduced a "typedef CGAL_FPU_CW_t" and use it (type storing the FPcw).
- Added CGAL_IA_GETFPCW() for Sparc and Alpha.
- Simplified Mips's assembly versions.
- Global static variable CGAL_FPU_CW to store the FPCW.
- Added CGAL_FPU_save_control_word() and CGAL_FPU_restore_control_word()
(only assembly versions are working now).
They are not used nor tested for the moment.
1999-02-19 15:11:51 +00:00
Sylvain Pion
5942656090
- Standard header <iostream>.
...
- Removed a few useless #include, since now I #include <IA.h>.
- Added a (forwarding) ctor with 2 parameters for Quotient<>(num,den).
- Added preliminary support for caching the converted value.
1999-02-19 15:06:45 +00:00
Sylvain Pion
20f1a15273
- Standard header <iostream>.
...
- Added operators (double, IA) for +,-,*,/,<,>...
- Changed PRECONDITION to ASSERTION.
- Default constructor is the buggy interval [1;-1] to detect use before
definition in the user's code.
- Fine-tuned the multiplication (once again :).
- Same for division.
- Various code looking clean up.
- Removed a useless test in CGAL_sign()'s equality case.
- About the same for CGAL_compare().
1999-02-19 15:04:17 +00:00
Sylvain Pion
eb271e36dd
- += and -= rely on + and -, no redefinition (it was for speed, but...).
...
- Added conditional include for Quotient<>.
1999-02-04 13:25:13 +00:00
Sylvain Pion
8fb164ffcc
- First version for CGAL_convert_to(Quotient<RT>).
1999-02-02 14:00:37 +00:00
Sylvain Pion
9b6d7b2acd
- get_rounding_mode simplified (2 cases are enough).
1999-02-02 13:47:40 +00:00
Sylvain Pion
b8721294f2
- Added a 2 parameter constructor, because Quotient has one.
...
- Added interval() and exact() member functions.
1999-02-01 16:29:35 +00:00
Sylvain Pion
91714be61f
- Adapted to the .interval() and so changes to the script.
1999-01-29 17:03:20 +00:00
Sylvain Pion
f4213551e7
- moved conditionnal include lines at the beginning.
1999-01-19 16:17:36 +00:00
Sylvain Pion
8ac8cdf045
- Use CGAL_square<double>(), it's here now.
1999-01-05 19:14:32 +00:00
Sylvain Pion
5464c1b10d
- Fixed bug in CGAL_square(): -a*a -> a*-a.
1998-12-23 12:18:50 +00:00
Sylvain Pion
99771e0853
- Typo.
1998-12-22 14:31:05 +00:00
Sylvain Pion
c87231fc7a
- Move template ctor before the specialised one.
1998-12-22 13:58:33 +00:00
Sylvain Pion
6c2d539e37
- New predicates for rtH2. It doesn't seem complete for 1.2 yet, though.
1998-12-22 13:57:20 +00:00
Sylvain Pion
f5719011e0
- Write specialisations as they should be:
...
template <> ... convert_to <IA> ().
1998-12-22 13:48:42 +00:00
Sylvain Pion
6f0cf1d2f7
- CGAL_square(double) doesn't exist yet.
1998-12-22 12:51:17 +00:00
Sylvain Pion
263f481f20
- Replace the expensive by a condition on CGAL_IA_DEBUG, so that they are not
...
enabled by default.
1998-12-22 12:43:02 +00:00
Sylvain Pion
34f5af32c1
- Replace the expensive checks by the flag CGAL_IA_DEBUG.
1998-12-22 12:40:01 +00:00
Sylvain Pion
674de45cf9
- Added "const" for tags operators.
...
- Splitted function headers.
1998-12-21 14:17:02 +00:00
Sylvain Pion
6bc091291e
- Added [expensive] post conditions to check the interval is really containing
...
the initial value. It might be removed one day because it's slow.
1998-12-17 17:46:11 +00:00
Sylvain Pion
ed1367a87e
- Added CGAL_square forwarding.
1998-12-17 17:39:26 +00:00
Sylvain Pion
8924234ce8
- Added CGAL_square() for both types.
...
- Rewrote the header of each function in a new style.
1998-12-17 17:37:54 +00:00
Sylvain Pion
5b413a0fc6
- Assembly for Mips disabled again.
1998-12-16 16:49:15 +00:00
Sylvain Pion
bd450f0bbe
- removed "const" from istream().
1998-12-15 17:42:02 +00:00
Sylvain Pion
6a0e233bf3
- It apppears that most CGAL_to_double() functions tend to depend on the
...
rounding mode to be set to the nearest. So I have to do it. This is done
for GMP and LEDA.
- For leda_rational, I use .to_double(), which is less error prone to
overflows (but even slower), but I add 3 ulps, because it's the result of a
FP division.
1998-12-15 11:38:11 +00:00
Sylvain Pion
9b5f96f84f
- New function CGAL_FPU_set_rounding_mode(). Currently based on a switch on
...
the old functions.
1998-12-13 18:33:32 +00:00
Sylvain Pion
3b7473d48a
- Made only "epsilon" volatile, it should be faster.
1998-12-13 18:19:51 +00:00
Sylvain Pion
3443c802fa
- Added lots of preconditions on the rounding mode.
1998-12-13 17:38:37 +00:00
Sylvain Pion
7a6195de19
- Added preconditions on the rounding mode, where necessary.
1998-12-13 17:38:05 +00:00
Sylvain Pion
e8e91971c2
- Added enum CGAL_FPU_rounding_mode, and function
...
CGAL_FPU_get_rounding_mode(), that tests empirically the current rounding
mode. To be used in the test-suite, and in some pre-conditions.
1998-12-13 17:23:43 +00:00
Sylvain Pion
632645e683
- line too long fixed.
1998-12-11 11:47:01 +00:00
Sylvain Pion
c03eda30e3
- Mips assembly re-enabled.
1998-12-10 16:51:32 +00:00
Sylvain Pion
f82270de10
- #include <CGAL/misc.h> for CGAL_convert_to<>().
1998-12-10 16:06:12 +00:00
Sylvain Pion
55b70d5e94
- Checks that CGAL_IA_NO_EXCEPTION is not defined !
...
- Conditionnal inclusions not made if already made.
1998-12-08 17:48:25 +00:00
Sylvain Pion
e6980cac88
- Big renaming...
...
- Use typedef for IA.
1998-12-08 17:23:07 +00:00
Sylvain Pion
1539586454
- Removed <IA> in declaration of CGAL_convert_to<IA>().
1998-12-08 17:20:15 +00:00
Sylvain Pion
d1bb64cb4a
- Moved the CGAL_convert_to<>() general template here.
...
(will be in kernel_basic.h normally).
1998-12-08 17:16:34 +00:00
Sylvain Pion
49efafed43
- Commented out the CGAL_convert_to<>() definitions, that really should not be
...
here. Currently moved to Interval_arithmetic.h, but should be in
number_utils.h, or in separate conversion files.
1998-12-08 13:50:30 +00:00
Sylvain Pion
3ede82ecd2
- Renaming: CGAL_to_Interval_nt_advanced() to
...
CGAL_convert_to<CGAL_Interval_nt_advanced>.
1998-12-08 13:16:52 +00:00
Sylvain Pion
6e8540613c
- Renamed CGAL_to_Interval_nt*() to CGAL_convert_to<CGAL_Interval_nt*>().
1998-12-08 13:13:42 +00:00
Sylvain Pion
4b2bce06b4
- Big renaming:
...
- /Filter/ -> /Arithmetic_filter/
- Filter.h -> Arithmetic_filter.h
- CGAL_to_exact_type -> CGAL_convert_to
- CGAL_FILTER_H -> CGAL_ARITHMETIC_FILTER_H
- CGAL_Filtering -> CGAL_Filtered_exact
1998-12-08 13:03:30 +00:00
Sylvain Pion
62fd519627
Filter.h renamed Arithmetic_filter.h.
1998-12-08 12:55:09 +00:00
Sylvain Pion
67e14022cd
Moved to Arithmetic_filter/.
1998-12-08 12:53:48 +00:00
Sylvain Pion
4f3b42af42
Moved from Filter/.
1998-12-08 12:53:19 +00:00
Sylvain Pion
6f6f508da2
- Added conditional include for ftC3 and rtH3.
1998-12-08 12:32:42 +00:00