Sylvain Pion
778d14af16
- Removed the line #include <CGAL/Interval_arithmetic.h>.
1999-03-08 09:40:03 +00:00
Sylvain Pion
29ee98b567
- STORAGE CHANGED: "inf" now stores the lower bound, not the opposite anymore.
...
- => lots of "-" removals around the code. Things are a LOT cleaner now,
though probably slightly (<5%) slower. Optimizing the compiler might be a
good idea now.
- Added #include <CGAL/config.h> for CGAL_BEGIN_NAMESPACE.
- Replaced the static member constants by #defines, because the link fails
otherwise (multiply defined symbols), and I _want_ constant propagation.
CGAL_IA_MIN_DOUBLE, CGAL_IA_MAX_DOUBLE, CGAL_IA_SMALLEST, CGAL_IA_LARGEST
1999-03-04 17:42:06 +00:00
Sylvain Pion
48e0e74899
- Replaced sqrt (double) by std::sqrt.
1999-03-04 17:32:59 +00:00
Sylvain Pion
69dff681ca
- Updated for 2.0-I-2: namespace issues.
1999-03-04 17:20:49 +00:00
Sylvain Pion
374430045a
- Reformating.
1999-03-04 14:50:21 +00:00
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
6eddec413a
- Added test for link: 2 .o files having the same #include<>.
1999-02-21 15:48:32 +00:00
Sylvain Pion
bd0b3147a8
- Added test-case tst-link.
...
- Changed the link rules to be all the same.
1999-02-21 15:47:43 +00:00
Sylvain Pion
b3d0538821
- Petite purge...
1999-02-21 15:47:02 +00:00
Sylvain Pion
7a48f78845
- Changed typedef "IA" to "IA_nt" to catch potential clashes with CGAL's code.
1999-02-21 15:38:15 +00:00
Sylvain Pion
29ceffad58
- Changed stuff to use "struct converter".
1999-02-21 15:14:52 +00:00
Sylvain Pion
cf2e212b44
- Added "using namespace CGAL;".
...
- Removed "CGAL::".
1999-02-19 17:34:27 +00:00
Sylvain Pion
6601da2073
- Introduced namespace CGAL.
1999-02-19 17:17:07 +00:00
Sylvain Pion
e42612c2d4
- Committed before going to namespace CGAL.
1999-02-19 15:18:12 +00:00
Sylvain Pion
b6125a17ca
- 1999 update.
1999-02-19 15:15:59 +00:00
Sylvain Pion
ac12dea473
- Authorized the first line of the body to not end just after the "{".
1999-02-19 15:15:26 +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
3547a40019
- Added ".C.s" rule to produce the assembly.
...
- Various modifs.
1999-02-19 14:39:18 +00:00
Sylvain Pion
267aaf6d72
- Preliminary tests for Quotient<> support.
1999-02-19 14:36:39 +00:00
Sylvain Pion
094ec0f8b0
- Replaced CGAL_NO_PRECONDITIONS by CGAL_NO_ASSERTIONS and commented out.
...
- Added benchs for the new operators having one double as parameter.
- Added CGAL_orientationC2 benchmark.
- Added test of alignment (bad alignment produces unreliable benchmark,
especially on x86).
1999-02-19 14:34:39 +00:00
Sylvain Pion
0364b88ec2
- Added a test "0.0 < IA(1)" to make a compilation test of the new comparison
...
operators between doubles and intervals.
1999-02-19 14:18:57 +00:00
Sylvain Pion
c0f20cbe02
- Integrated Remco's changes for release 1.2.
1999-02-12 10:20:31 +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
0df8403934
- Adapted to .exact() and .interval().
1999-01-29 16:48:13 +00:00
Sylvain Pion
9b40d74d77
- Removed comment and typedef in the output.
...
- Replaced the CGAL_convert_to() by .exact() and .interval().
1999-01-29 16:47:46 +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
474fa30986
- Bump for 2.7.
1998-12-22 14:41:13 +00:00
Sylvain Pion
0ff38d999c
- Updated for snapshot.
1998-12-22 14:34:44 +00:00
Sylvain Pion
75cd843bcc
- Remember to submit the URL from www-sop, and not www.
1998-12-22 14:33:57 +00:00
Sylvain Pion
d83ae852d6
- Bump for 2.7.
1998-12-22 14:32:30 +00:00
Sylvain Pion
e89e87b75a
- Bump for snapshot.
1998-12-22 14:32:11 +00:00
Sylvain Pion
99771e0853
- Typo.
1998-12-22 14:31:05 +00:00
Sylvain Pion
710c8c34a7
- Added commented options for CGAL_IA_DEBUG and CGAL_NO_{PRE|POST}CONDITIONS.
1998-12-22 14:26:29 +00:00
Sylvain Pion
fb4633c749
- Added CGAL_square bench.
1998-12-22 14:25:47 +00:00
Sylvain Pion
2dc447c6e0
- Bump for snapshot.
1998-12-22 14:07:43 +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
85fcd3f660
- Changes "Makefile" to "makefile" so that it gets in the tar archive.
1998-12-18 14:25: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
73a110c6ad
- Added CGAL_square() to the list of utility functions.
1998-12-17 17:40:43 +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
8a553c8d31
- Use the new interface CGAL_FPU_set_rounding_mode(CGAL_FPU_rounding_mode).
1998-12-13 18:29:58 +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
54cbdc306e
- Added tst0.C, which tests the rounding mode empirically.
1998-12-13 17:00:49 +00:00
Sylvain Pion
c5cd8e91c1
- New file: tests specificaly the current rounding mode.
1998-12-13 16:58:43 +00:00
Sylvain Pion
632645e683
- line too long fixed.
1998-12-11 11:47:01 +00:00
Sylvain Pion
f6802862a2
- Bump for 2.6.
1998-12-10 16:53:16 +00:00
Sylvain Pion
a65fcc4344
- Renaming Filter/.
1998-12-10 16:53:04 +00:00
Sylvain Pion
c03eda30e3
- Mips assembly re-enabled.
1998-12-10 16:51:32 +00:00
Sylvain Pion
6c20f53350
- Changes summary for 2.6.
1998-12-10 16:51:11 +00:00
Sylvain Pion
106c2940f1
- Updated for release 2.6.
1998-12-10 16:40:08 +00:00
Sylvain Pion
e00f5f6e40
- Last update before release 2.6.
1998-12-10 16:38:52 +00:00
Sylvain Pion
c3f907a149
- Updated for release.
1998-12-10 16:37:56 +00:00
Sylvain Pion
f82270de10
- #include <CGAL/misc.h> for CGAL_convert_to<>().
1998-12-10 16:06:12 +00:00
Sylvain Pion
1514f57b5c
Sample Makefile for the user's predicates.
1998-12-10 12:31:19 +00:00
Sylvain Pion
da73335005
Added a full example for the user to make his own predicates.
1998-12-10 12:30:55 +00:00
Sylvain Pion
7591d50f1b
Renaming
1998-12-08 17:56:01 +00:00
Sylvain Pion
fbbb6a8916
Renaming...
1998-12-08 17:55:16 +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
24ad7c382f
- Use "typedef CGAL_Interval_nt_advanced IA: inside the functions' bodies.
1998-12-08 17:21:20 +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
04f7fddf58
- Emit a warning when the return type is unknown (maybe I forgot some, so
...
please add).
1998-12-08 17:07:59 +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
05a854e639
- Big Renaming...
1998-12-08 13:47:56 +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
30949ff646
Big renaming...
1998-12-08 13:08:37 +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
Sylvain Pion
dfbe87c44a
- Add a separate "dvi" .PHONY target.
1998-12-07 17:37:56 +00:00
Sylvain Pion
102a570c4a
- Largely reworked, based on Mariette and Stefan's remarks.
...
- Added an "implementation" paragraph for CGAL_Filtering.
1998-12-07 17:37:08 +00:00
Sylvain Pion
0f401875df
- Added a simple bench() function.
1998-12-07 17:32:38 +00:00
Sylvain Pion
d69e74f2af
- Added support for RT.
...
- Fix when no CGAL_*_INLINE is here, and fix when "inline" is here.
1998-12-07 17:28:41 +00:00
Sylvain Pion
b9d343c117
New files.
1998-12-07 17:27:41 +00:00
Sylvain Pion
1c18283a42
- Added CGAL_compare_deltax_deltayC2()
...
- Fixed the "inline" bug.
1998-12-07 17:27:24 +00:00
Sylvain Pion
e391699415
- Changed the script location.
...
- Added ftC3 and rtH2.
- Fixed the generic make rule.
1998-12-07 15:02:22 +00:00
Sylvain Pion
cc1ad69903
- Added target "test" to .PHONY.
...
- Changed "script" to "examples" for the "tar" command.
1998-12-07 14:25:32 +00:00
Sylvain Pion
d02e363865
Moved to examples/Interval_arithmetic.
1998-12-07 14:22:30 +00:00
Sylvain Pion
7153190731
Just moved from script/.
1998-12-07 14:22:10 +00:00
Sylvain Pion
362ac66bc9
- On __i386, we don't want the test-suite to say "n" because of the
...
[under/over]flow bug.
1998-12-07 13:55:17 +00:00
Sylvain Pion
2ba0dea489
- Added member function bool overlap(const IA &d).
...
- Added flag CGAL_IA_NO_EXCEPTION, which prevents throwing.
1998-12-05 16:28:17 +00:00
Sylvain Pion
61cfdcc82e
- Added "#define CGAL_IA_NO_EXCEPTION"
1998-12-05 16:24:54 +00:00
Sylvain Pion
e8f4d603fa
- Added "#define CGAL_IA_NO_EXCEPTION"
...
- Which broke the spiral test: fixed using new overlap() member function.
- Changed "cout << tmp_flag" to "cout << (int) tmp_flag", so that Sun'CC works.
1998-12-05 16:24:30 +00:00
Sylvain Pion
dadd0d2470
- Default CGAL_to_exact_type<ET>(CT) based on ET(ct).
...
- Added operator=()
- Added constructor(CGAL_Filtering<>), to avoid recursive construction.
1998-12-05 14:55:43 +00:00
Sylvain Pion
65df7a8b81
- Added forgottent definition of CGAL_to_double(IA_nt).
...
- Added istream operator>>(IA) (via a double).
1998-12-01 16:39:56 +00:00
Sylvain Pion
c84a8911f3
Use a template member function (the constructor)... and pray that it's
...
supported by the commercial compilers...
1998-12-01 14:36:37 +00:00
Sylvain Pion
35b57efb0e
- Put back CGAL_DENY_INEXACT_OPERATIONS_ON_FILTER, since when deriving, the
...
specialized predicates are not used...
1998-12-01 14:08:24 +00:00
Sylvain Pion
d058b1adb6
- Changes "class" to "struct", and removed "public:".
...
- Added missing constructors for CGAL_Filter_allow_inexact.
1998-12-01 13:52:39 +00:00
Sylvain Pion
030e4fbfcd
- Introduced the class CGAL_Filtering_allow_inexact to replace
...
CGAL_DENY_INEXACT_OPERATIONS_ON_FILTER
- Added forwarding code (to the CT value) for the functions:
CGAL_is_valid, CGAL_is_finite, CGAL_to_double, CGAL_sign, CGAL_compare,
CGAL_abs, CGAL_min, CGAL_max, sqrt, CGAL_io_tag, CGAL_number_type_tag,
operator>>, operator<<
- Added conditional include directive for predicates_on_rtH2.h.
1998-12-01 13:37:23 +00:00
Sylvain Pion
861307904b
Cast function for Olivier's CGAL_Fixed_precision_nt.
1998-12-01 13:03:02 +00:00
Sylvain Pion
10afe69c95
Added conditionnal #include directive for IA/IA_Fixed.h.
1998-12-01 12:54:55 +00:00
Sylvain Pion
ffc2b7df51
Added CGAL_number_type_tag()
1998-12-01 12:51:38 +00:00
Sylvain Pion
4913337b50
CGAL_io_tag() added.
1998-11-30 16:03:59 +00:00
Sylvain Pion
e22af6cf31
Removed "multi-line // comment" warning.
1998-11-29 11:05:16 +00:00
Sylvain Pion
358ee282a1
Changed SETFPCW to CGAL_IA_SETFPCW, same for GETFPCW.
1998-11-29 11:03:22 +00:00
Sylvain Pion
5fddddc9be
Changed __USE_ASSEMBLY to CGAL_IA_USE_ASSEMBLY.
1998-11-29 11:00:42 +00:00
Sylvain Pion
dc5496fff1
Updated for CGAL_Filtering<ct,et>.
1998-11-26 16:51:55 +00:00
Sylvain Pion
e5ec61dc79
Bump for 2.5.
1998-11-26 16:51:40 +00:00
Sylvain Pion
e3c364c0ed
Updated to latest C2's predicates_on_ftC2.h.
1998-11-26 16:50:57 +00:00
Sylvain Pion
be9daecc65
Added a "filters" target to produce the specialization from $CGAL.
1998-11-26 16:46:49 +00:00
Sylvain Pion
d226144747
Things done, and others still not done...
1998-11-26 16:46:01 +00:00
Sylvain Pion
3ab6e97052
Bump for 2.5.
1998-11-26 16:45:31 +00:00
Sylvain Pion
4db541728c
Changed CGAL_to_interval_nt to CGAL_to_Interval_nt_advanced.
1998-11-26 16:45:15 +00:00
Sylvain Pion
7b842bb71a
A few comments added.
1998-11-26 16:42:43 +00:00
Sylvain Pion
7b9537c599
Nothing
1998-11-26 16:41:04 +00:00
Sylvain Pion
580c426850
- Use IA::is_same(), IA::largest, IA::smallest.
1998-11-26 16:40:43 +00:00
Sylvain Pion
575fc59be4
- Added CGAL_Filtering<CT,ET>
...
- Rewrote nearly all of the 2 other classes.
1998-11-26 16:38:32 +00:00
Sylvain Pion
83b8634348
- Added the flag CGAL_DENY_INEXACT_OPERATIONS_ON_FILTER
...
- Added sqrt() forwarding.
1998-11-25 16:51:17 +00:00
Sylvain Pion
a4c088ca00
- Changed again the semantic of sqrt() when negative.
...
- Made static const members for largest and smallest.
- Declared the values of {min,max}_double outside => CC accepts it now.
1998-11-25 16:38:40 +00:00
Sylvain Pion
5439295901
Replaced CGAL_Interval_smallest by CGAL_Interval_nt_advanced::smallest.
1998-11-25 16:28:19 +00:00
Sylvain Pion
756b56cc01
Updated after the script.
1998-11-23 15:23:37 +00:00
Sylvain Pion
e4b1b35ce4
- Added double member constants "min_double" and "max_double".
...
- Added global constants CGAL_Interval_smallest and CGAL_Interval_largest.
- Added a template for CGAL_to_Interval_nt() and a specialisation for doubles.
1998-11-23 15:19:19 +00:00
Sylvain Pion
d7e1b23f69
Replaced "CGAL_Interval_nt_advanced::min_double" with "CGAL_Interval_smallest".
1998-11-23 15:07:03 +00:00
Sylvain Pion
b1e465e8da
- Completely reworked, changed to CGAL_to_Interval_nt_advanced(), supposing
...
the rounding mode set to +infinity.
1998-11-19 12:52:57 +00:00
Sylvain Pion
1c9b971740
Use more "typedef CGAL_Interval_nt IA".
1998-11-18 16:39:59 +00:00
Sylvain Pion
d5273396c5
sqrt() semantic has changed.
1998-11-18 16:30:30 +00:00
Sylvain Pion
d7eaf1fd54
Comment modifs.
1998-11-18 16:28:53 +00:00
Sylvain Pion
42c4802f46
Makefile to generate the filtered predicates files from those in $CGAL.
1998-11-18 15:38:33 +00:00
Sylvain Pion
ede1f284e8
- Changed Copyright assignment to CGAL.
1998-11-17 15:40:01 +00:00
Sylvain Pion
8a22828087
- Adds #include <CGAL/Interval_arithmetic.h> automagically.
...
- Changes the protect #ifndef CGAL_..._H to #ifndef CGAL_FILTER_..._H.
- Changes the header fields "author(s)", "package", "source", "file", and
empties "release", "release_date", "revision_date".
- Now split the declaration line to avoid lines > 80 characters.
- Now comments the "CGAL_KERNEL_.*INLINE" since it's likely inlining won't
bring any efficiency (still has to be proved by bench).
1998-11-17 15:37:16 +00:00
Sylvain Pion
286607c0fc
Fixed bug for the empty ctor, revealed by goo'ol' g++.
1998-11-16 10:56:10 +00:00
Sylvain Pion
113263bfb3
Fixed typo.
1998-11-16 10:42:00 +00:00
Sylvain Pion
37bd9349e0
Commented assembly version for Mips.
1998-11-16 08:43:41 +00:00
Sylvain Pion
2bae6bfc58
Fixed line > 80char problem.
1998-11-12 16:40:01 +00:00
Sylvain Pion
6fce84c359
Bump for 2.4
1998-11-12 16:20:27 +00:00
Sylvain Pion
e559c95880
Bump for version 2.4 !
1998-11-12 16:17:29 +00:00
Sylvain Pion
2df15dd545
The goal of IA has changed, no GPC anymore, just filtered predicates.
...
More modifications have to come in the future (document CGAL/Filter).
1998-11-12 16:16:21 +00:00
Sylvain Pion
243c251ae5
Added "TODO" to the exclude list.
1998-11-12 16:14:18 +00:00
Sylvain Pion
d0922b1ed6
Well, always more things to do.
1998-11-12 16:13:26 +00:00
Sylvain Pion
c47e4572cb
Added conditionnal inclusion of <CGAL/Filter/predicates_on_ftC2.h>.
1998-11-12 16:11:33 +00:00
Sylvain Pion
2d75f4a70f
- Passing "double" instead of "double &" seems faster, so I changed all
...
concerned function prototypes.
- Moved ctor def CGAL_Interval_nt(const CGAL_Interval_nt_advanced &d) at the
beginning of the class body so that it can be inlined.
- Redefined (grrr) friends CGAL_{abs,sign, compare, min...} for
CGAL_Interval_nt.
- overlap_action() should maybe be redefined for CGAL_Interval_nt, but this
should use a virtual function, so the code is ready, but I need the first
benchmarks to activate it.
- New (undocumented for the moment) member function is_same() that does a
"deep compare" (test equality of both bounds of 2 intervals).
- commented out the friendlyness of operator* (const double, const IA &).
1998-11-12 16:10:42 +00:00
Sylvain Pion
bc05e04689
First release. Not entirely produced by the script, but mostly.
1998-11-12 16:05:45 +00:00
Sylvain Pion
0596e62707
Modified comment aout egcs not defining __i386 (it's fixed).
1998-11-12 16:04:43 +00:00
Sylvain Pion
2ab02387b6
Cleaned up for it's first test-suite !!!
1998-11-12 16:03:38 +00:00
Sylvain Pion
433fda0472
Added tst5
1998-11-12 16:03:04 +00:00
Sylvain Pion
11956789c7
Added utility_test().
1998-11-12 16:02:32 +00:00
Sylvain Pion
04810e2dc4
- Added "typedef CGAL_Interval_nt IA;", and done some substitutions.
1998-11-05 15:22:10 +00:00
Sylvain Pion
89fe4aa29b
- CGAL_to_interval_nt() now returns a CGAL_Interval_nt_advanced.
1998-11-05 14:32:22 +00:00
Sylvain Pion
bf02d922bc
- Added assembly support for Mips with GNU compilers.
...
- Removed C compatibility (inline, // comments).
1998-11-05 14:31:01 +00:00
Sylvain Pion
b1b92487d7
- Added specializations for the functions CGAL_{sign,compare,abs,min,max}.
...
- overlap_action() returns an int(0), to shut up compiler, and provide
a default answer, when we don't want the exception.
- The test operators now "return overlap_action();".
- One test less in operator==().
1998-11-05 14:28:18 +00:00
Sylvain Pion
da0ccca969
Try the exception stuff in the spiral_test().
1998-11-02 10:31:46 +00:00
Sylvain Pion
21b549faad
Fixed "for (int i...)" so that the test-suite is ok on SGI's CC.
1998-11-02 10:20:35 +00:00
Sylvain Pion
5164df2636
New test file for the filter stuff.
1998-10-30 17:18:04 +00:00
Sylvain Pion
9cdc072750
First release. The wrapper works at least on a few cases.
1998-10-30 16:51:45 +00:00
Sylvain Pion
85144a4942
First release. It parses correctly predicates_on_ftC2.h.
1998-10-30 16:50:55 +00:00
Sylvain Pion
872c4c7fe1
Changed member functions is_valid() and is_finite() to be non member functions
...
CGAL_is_valid(IA) and CGAL_is_finite(IA).
1998-10-30 12:22:37 +00:00
Sylvain Pion
fd6727c9a8
CGAL_to_interval_nt(double) now returns an IA_advanced.
1998-10-28 17:20:41 +00:00
Sylvain Pion
6256a74fa0
New empty member class unsafe_comparison.
...
New private function overlap_action(), that throws the above exception, when
comparing unsafely. CGAL_IA_DONT_THROW_EXCEPTION defines the behaviour at
compile time.
1998-10-26 13:41:00 +00:00
Sylvain Pion
d61d2559a1
Bump for 2.3
1998-10-23 08:55:16 +00:00
Sylvain Pion
1830cc73ae
Nothing important.
1998-10-23 08:54:04 +00:00
Sylvain Pion
f979f9578a
Bump for 2.3: small cleanup.
1998-10-23 08:53:48 +00:00
Sylvain Pion
e469e8f3c5
Bump for 2.3
1998-10-23 08:53:39 +00:00
Sylvain Pion
5a2090bde6
Changed "class" to "struct".
...
Put the cast "IA_advanved -> IA" private.
Put the 2 doubles at the top of the definition.
1998-10-22 13:23:12 +00:00
Sylvain Pion
fc47313e1e
Added bench for the copy constructor.
1998-10-22 13:01:21 +00:00
Sylvain Pion
3e74d8c6dd
Added test for the copy constructor when "j = j".
1998-10-22 13:00:56 +00:00
Sylvain Pion
7fa30708d0
Added for the 2 classes, the 2 operators: *(IA, double) and *(double, IA).
1998-10-21 16:51:40 +00:00
Sylvain Pion
4bb85f5341
Added code to bench the operator*(double, IA) and operator*(IA, double).
1998-10-21 16:47:02 +00:00
Sylvain Pion
e861e5bcc2
Added last test to test.
1998-10-21 15:28:16 +00:00
Sylvain Pion
814447927d
- operator<< doesn't need to be a friend function anymore.
...
- using the GNU extension optimization "Named return value".
- new protected function verify_overlap() (to clean up the comparison
functions codes).
- operator*() and operator/() are outside the class body, so they can be made
not inlined.
1998-10-20 13:42:32 +00:00
Sylvain Pion
b9a686f20c
Separate subtargets "test" and "bench".
1998-10-20 13:38:10 +00:00
Sylvain Pion
b513c7256a
Modified loop variables.
1998-10-20 13:29:56 +00:00
Sylvain Pion
72fc75dc85
Added per function result print.
1998-10-20 13:29:06 +00:00
Sylvain Pion
e670d76f46
Updated for tst[34], and optimization flags.
1998-10-19 16:37:34 +00:00
Sylvain Pion
7673295b36
Bench CGAL_Interval_nt_advanced
1998-10-19 16:32:48 +00:00
Sylvain Pion
b4755a3bd7
Bench CGAL_Interval_nt.
1998-10-19 16:32:37 +00:00
Sylvain Pion
33e0b3f8ba
Typos.
1998-10-19 15:57:29 +00:00
Sylvain Pion
b338218bf1
Benchmark program.
1998-10-19 15:55:25 +00:00
Sylvain Pion
18cd430b30
Bump for 2.2
1998-10-16 14:50:18 +00:00
Sylvain Pion
9e1827cf22
Remove "TODO" from the tar file.
1998-10-16 14:48:48 +00:00
Sylvain Pion
5fa409172a
Choses � faire.
1998-10-16 14:47:44 +00:00
Sylvain Pion
aa3cb0aa50
version 2.2 coming soon.
1998-10-16 14:45:46 +00:00
Sylvain Pion
a73a4ebdca
Renamed data/tst_generic.il to include/tst_generic.C.
1998-10-16 14:40:40 +00:00
Sylvain Pion
4f8701d25b
2 small comments added.
1998-10-16 14:30:50 +00:00
Sylvain Pion
2009ad0abb
First reasonnable test-suite. GCOV indicates 100% coverage (except casts).
1998-10-16 14:29:22 +00:00
Sylvain Pion
ca7b80d147
#define ADVANCED added.
...
GCOV options added in the Makefile.
1998-10-16 14:28:44 +00:00
Sylvain Pion
60476ef3cf
CGAL_Interval_nt operator-() needed to be defined...
1998-10-15 15:59:55 +00:00
Sylvain Pion
4fd875f2c2
Fixed (duplicate code...) the CGAL_interval_nt operator?=().
1998-10-15 15:36:31 +00:00
Sylvain Pion
bfc9ee9ef3
Put the operators' code outside the class body.
...
Made operator<<() a friend function, with const argument.
1998-10-15 11:58:32 +00:00
Sylvain Pion
6c112f0bf6
Changed typedef to #define.
1998-10-15 10:05:44 +00:00
Sylvain Pion
d8a916eb9b
Initial revision: use the old code tst1.C
1998-10-15 10:01:43 +00:00
Sylvain Pion
aa638832e8
Nearly emptied, includes data/tst_generic.il.
1998-10-15 10:00:27 +00:00
Sylvain Pion
7bd25e7203
- Changed the default constructor to empty, instead of initializing to 0.
...
- Corrected is_valid() when inf = sup.
1998-10-02 11:14:06 +00:00
Sylvain Pion
f798ba6488
Fixed sqrt() so that it passes the test-suite (it was correct though).
1998-10-02 11:06:25 +00:00
Sylvain Pion
e1ae98e6d2
target "test" added.
1998-10-02 10:55:09 +00:00
Sylvain Pion
61cd9b457b
Debuggued and improved the asm statements.
1998-09-25 12:01:38 +00:00
Sylvain Pion
3618f393e7
Speeded up a bit CGAL_Interval_nt, by removing spurious constructors.
1998-09-25 11:52:28 +00:00
Sylvain Pion
566b72d63e
Removed useless "inline"s in the class definition.
...
Removed old commented code.
1998-09-23 15:42:32 +00:00
Sylvain Pion
7c7d3ec3f3
Completed.
1998-09-11 18:08:32 +00:00
Sylvain Pion
0660c371fc
bump for 2.1.
1998-09-11 18:08:09 +00:00
Sylvain Pion
43e2ec71f1
Bump for v2_1.
1998-09-11 17:57:13 +00:00
Sylvain Pion
c8b319f9aa
Removed useless and time consuming copy constructors.
1998-09-11 17:55:48 +00:00
Sylvain Pion
20f43f0ced
New file
1998-09-04 14:30:10 +00:00
Sylvain Pion
7664ac412b
touched
1998-09-04 14:29:44 +00:00
Sylvain Pion
cdee05030f
updated
1998-09-04 14:29:33 +00:00
Sylvain Pion
d3189c9f27
"lines over 80 characters" problem fixed.
1998-08-18 07:20:47 +00:00
Sylvain Pion
e1204dc1b4
ChangeLog renamed changes.txt.
1998-08-18 07:20:21 +00:00
Sylvain Pion
95595d1fb7
Updated for CVS keywords.
1998-08-17 15:34:14 +00:00
Sylvain Pion
e2058f1837
Headers updated for CVS keywords.
1998-08-17 15:33:57 +00:00
Sylvain Pion
efc75b318b
Updated to 2.0.
1998-08-17 15:33:36 +00:00
Sylvain Pion
3db070da0d
Added CVS keywords.
1998-08-17 15:33:10 +00:00
Sylvain Pion
9a67a6b1e8
updated.
1998-08-17 15:31:59 +00:00
Sylvain Pion
120caa7e7e
bump to 2.0.
1998-08-17 15:31:41 +00:00
Sylvain Pion
941b0f6c7d
updated
1998-08-17 14:00:30 +00:00
Sylvain Pion
ef69b25cc3
Use keyword substitution in the headers.
1998-08-17 13:57:58 +00:00
Sylvain Pion
243f7f40fc
Changed subdirectory name IA -> Interval_arithmetic
1998-08-14 13:54:04 +00:00
Sylvain Pion
336cfd1a78
removed commented paragraph.
1998-08-14 13:53:27 +00:00
Sylvain Pion
911bf9f945
The e-mail of the coordinator changed from Herve to Mariette.
1998-08-14 13:29:37 +00:00
Sylvain Pion
757dbabe5e
Essais de CVS.
1998-08-14 13:10:42 +00:00
Sylvain Pion
028b67a7a1
Correction de l'essai.
1998-08-14 13:09:03 +00:00
Hervé Brönnimann
ce42ca4aaa
sacre herve...
1998-08-14 13:05:52 +00:00
Sylvain Pion
b482a785af
Removed old files from CVS
1998-08-14 11:59:41 +00:00
Sylvain Pion
d6180a756e
This commit was generated by cvs2svn to compensate for changes in r429,
...
which included commits to RCS files with non-trunk default branches.
1998-08-14 11:46:14 +00:00
Sylvain Pion
86236d5def
Initial revision
1998-08-14 11:46:12 +00:00
Sylvain Pion
abf8645805
This commit was generated by cvs2svn to compensate for changes in r425,
...
which included commits to RCS files with non-trunk default branches.
1998-08-14 11:46:12 +00:00
Sylvain Pion
b77af23941
This commit was generated by cvs2svn to compensate for changes in r423,
...
which included commits to RCS files with non-trunk default branches.
1998-08-14 11:33:46 +00:00
Sylvain Pion
f6e708c35f
This commit was generated by cvs2svn to compensate for changes in r421,
...
which included commits to RCS files with non-trunk default branches.
1998-08-14 11:33:29 +00:00
Sylvain Pion
ff2e669c3e
This commit was generated by cvs2svn to compensate for changes in r419,
...
which included commits to RCS files with non-trunk default branches.
1998-08-14 11:33:02 +00:00
Sylvain Pion
d76b1fdd02
This commit was generated by cvs2svn to compensate for changes in r417,
...
which included commits to RCS files with non-trunk default branches.
1998-08-14 11:32:48 +00:00
Sylvain Pion
fc9c84c747
This commit was generated by cvs2svn to compensate for changes in r415,
...
which included commits to RCS files with non-trunk default branches.
1998-08-14 11:32:31 +00:00
Sylvain Pion
929ec3f994
This commit was generated by cvs2svn to compensate for changes in r413,
...
which included commits to RCS files with non-trunk default branches.
1998-08-14 11:31:56 +00:00
Sylvain Pion
e761721edd
Initial revision
1998-08-14 11:31:15 +00:00