Sylvain Pion
ba8b110094
- coordinator field re-added.
2000-06-13 15:07:38 +00:00
Sylvain Pion
31adf050ed
- Bump for 4.47.
2000-06-13 15:02:54 +00:00
Sylvain Pion
1baf6fc4a9
- Fixed Copyrigth dates, and re-added coordinator fields.
2000-06-13 15:01:03 +00:00
Sylvain Pion
d16aed673a
- Removed useless "template <>".
2000-06-13 14:51:32 +00:00
Sylvain Pion
ee54db404b
- Bug fixes update.
2000-06-12 15:46:27 +00:00
Sylvain Pion
d463fc543f
- Various updates.
2000-06-12 14:14:27 +00:00
Sylvain Pion
19fbccda50
- Updated. Filtered predicates work.
2000-06-12 12:39:00 +00:00
Sylvain Pion
6aba0f76fc
- Fix CGAL_NTS issues.
2000-06-11 14:48:50 +00:00
Sylvain Pion
1089a61201
- CGAL_NTS and namespace stuff.
2000-06-10 23:48:00 +00:00
Sylvain Pion
ef15580c0d
- Complete rewrite to use Handle_for<> and more.
2000-06-10 23:42:55 +00:00
Sylvain Pion
50113faa0b
- Removed is_integral() since it's now in double.h.
2000-06-08 15:19:26 +00:00
Sylvain Pion
df461d9f67
- Removed the coordinator field, and updated some Copyright years.
2000-05-19 15:28:42 +00:00
Sylvain Pion
ce95b5ea17
- Use the relational operators provided by STL's <utility>.
...
- Removed coordinator field.
- Copyright 2000 added.
- Cleanup the CGAL_ms_sqrt workaround.
2000-05-19 15:15:44 +00:00
Sylvain Pion
621ec3e7a8
- Updated for CGAL-2.2-I-15.
2000-05-04 13:30:09 +00:00
Sylvain Pion
a6210d12e1
- Updated to 2.2-I-8.
2000-03-13 10:03:33 +00:00
Sylvain Pion
c80b4bfa94
- Updated to 2.2-I-8
2000-03-13 09:37:23 +00:00
Sylvain Pion
b4e9daf75f
- Added KCC/Sun support.
2000-02-17 10:02:05 +00:00
Sylvain Pion
0d7576a487
- Typos.
1999-11-07 17:59:42 +00:00
Sylvain Pion
332711b503
- Replaced enums FPU_cw_near... by macros CGAL_FE_TONEAREST...
1999-11-07 17:56:16 +00:00
Sylvain Pion
8d649f2559
- Added C9X compliant routines.
1999-11-07 16:32:43 +00:00
Sylvain Pion
6f91651165
- Replaced CGAL_IA_SMALLEST by Interval_nt_advanced::Smallest.
1999-11-07 16:00:35 +00:00
Sylvain Pion
3b546cf703
- Replaced the macros CGAL_IA_SMALLEST and CGAL_IA_LARGEST by static data
...
members Smallest and Largest.
- Some formatting.
1999-11-07 15:58:32 +00:00
Sylvain Pion
e1c8bd2322
- Some predicates removed.
1999-11-03 12:57:06 +00:00
Sylvain Pion
135e1c5d4f
- has_integral_value() renamed is_integral().
1999-10-30 13:18:10 +00:00
Sylvain Pion
b3571c1a80
- Lines too long splitted.
1999-10-29 15:16:56 +00:00
Sylvain Pion
2ce2172c7f
- Added a converter from double to Quotient<Gmpz>.
1999-10-29 15:13:13 +00:00
Sylvain Pion
63c33038e7
- Updated to I-32: the degenerate power_testH3() are removed.
1999-10-28 11:02:40 +00:00
Sylvain Pion
b553313dcd
- Added CGAL_IA_CHECK_RESTRICT. When not defined, Restricted_double = double.
...
- Added to_double().
1999-10-27 09:28:26 +00:00
Sylvain Pion
69f1a3ae1d
- Borland can't get IEEE comparisons working too...
1999-10-27 09:18:50 +00:00
Sylvain Pion
5b8f093aae
- Various optimizations.
1999-10-26 16:24:31 +00:00
Sylvain Pion
3a65f3ac51
- New flag CGAL_IA_NO_INLINE which switches operator* and operator/
...
from inline to static.
1999-10-22 16:16:57 +00:00
Sylvain Pion
4886003473
- Enable the sqrt workaround for __CYGWIN__ too.
1999-10-21 14:41:38 +00:00
Sylvain Pion
4c92954c66
- Protect new filters with "#ifdef CGAL_IA_NEW_FILTERS".
1999-10-19 15:44:15 +00:00
Sylvain Pion
5d0622bd04
- Temporary hack for Lazy_exact_nt<>.
...
- Workaround for VC++ sqrt().
1999-10-19 11:34:23 +00:00
Sylvain Pion
1539848132
- .interval() -> .interval_advanced().
1999-10-19 11:32:06 +00:00
Sylvain Pion
fc0f803ec6
- Interval is now member of the base class.
1999-10-19 11:31:30 +00:00
Sylvain Pion
37bb6a4c73
- Initial version.
1999-10-16 15:53:33 +00:00
Sylvain Pion
ac9204b197
- Some fixes. It actually seems to work now.
1999-10-16 13:39:58 +00:00
Sylvain Pion
816d013cd2
- Many changes.
...
- First version that is supposed to work.
1999-10-15 19:08:56 +00:00
Sylvain Pion
21f9e3686f
- Comment updates.
1999-10-15 14:29:00 +00:00
Sylvain Pion
75ee25d7cf
- Formatting issues (moved some code around).
1999-10-14 16:08:29 +00:00
Sylvain Pion
257d8bb73a
- Finally, I think it's useless.
1999-10-14 15:57:45 +00:00
Sylvain Pion
d500aa4702
- Got rid of bound_t. I finally think it's useless.
1999-10-14 15:57:00 +00:00
Sylvain Pion
d221d636aa
- Same thing with operator|| and operator&&.
...
- Added a special version of them for Interval_nt.
1999-10-14 15:52:07 +00:00
Sylvain Pion
dcc5d3f8c2
- Same thing with the comparison operators.
1999-10-14 15:45:11 +00:00
Sylvain Pion
badaaee857
- Put all operators as friends instead of members, this allows to get rid of
...
a particular version for (double, IA).
1999-10-14 15:36:30 +00:00
Sylvain Pion
000f868297
- New flag CGAL_IA_NO_X86_OVER_UNDER_FLOW_PROTECT which allows to stop the
...
workaround for Intel processor, when there's no underlow nor overflow risk.
- CGAL_IA_STOP_CONSTANT_PROPAGATION enabled by default, i.e. renamed
CGAL_IA_DONT_STOP_CONSTANT_PROPAGATION. New zero-cost implementation for
GCC using __builtin_constant_p().
1999-10-14 13:13:07 +00:00
Sylvain Pion
2e44d20d7c
- Fixed header.
1999-10-14 08:50:39 +00:00
Sylvain Pion
0ab1e765fe
- Add header.
1999-10-13 17:54:13 +00:00
Sylvain Pion
b0c7521f60
- Add headers.
1999-10-13 17:46:08 +00:00
Sylvain Pion
aef4205441
- Change the name of the script.
1999-10-13 17:43:18 +00:00
Sylvain Pion
ea189bdcdb
- Define CGAL_IA_STOP_COMPILER_OPT() for all compilers.
1999-10-13 17:30:18 +00:00
Sylvain Pion
3ecc8807d3
- Removed qualifier "throw(...)" of overlap_action().
...
It speeds things up on GCC.
1999-10-13 15:20:32 +00:00
Sylvain Pion
3bd062ef7f
- is_valid() workaround for MipsPro.
1999-10-13 13:16:19 +00:00
Sylvain Pion
0a7b894180
- Removed convert_to<Interval_nt>(). This was useless, and it broke MipsPro.
1999-10-13 13:07:31 +00:00
Sylvain Pion
77d7716255
- Added parenthesis around double computation to prevent MipsPro from changing
...
expression computation order...
1999-10-13 12:13:10 +00:00
Sylvain Pion
1f82112c11
- Added #include<float.h> for Borland.
1999-10-12 21:33:48 +00:00
Sylvain Pion
ca9404e8cb
- Moved definition of an inline function before its call.
1999-10-12 18:06:42 +00:00
Sylvain Pion
97fd0cf338
- Compactify line > 80 chars.
1999-10-12 17:53:21 +00:00
Sylvain Pion
215145a0ee
- break line > 80 chars.
1999-10-12 17:51:32 +00:00
Sylvain Pion
8fd9efdc92
- Declare the friends inline, as they are (VC++ crashes at link).
1999-10-12 16:37:34 +00:00
Sylvain Pion
4684c82ac0
- M$ also uses the "volatile" trick to flush to memory.
1999-10-12 16:11:46 +00:00
Sylvain Pion
e3f9f6d62d
- Special version of is_vali() for M$, because this "compiler" is not able to
...
produce correct fp comparisons.
1999-10-12 16:10:50 +00:00
Sylvain Pion
0e4c84e04a
- Put overlap_action() private.
1999-10-11 18:29:09 +00:00
Sylvain Pion
904d142715
- Added sqrt().
...
- Put function friend, and removed member .d() -> ._d.
1999-10-11 18:23:38 +00:00
Sylvain Pion
8ec0009198
- CGAL_IA_SMALLEST and CGAL_IA_LARGEST are now macros to static consts.
...
It's cleaner. Macros will be definitely replaced once it's tested.
1999-10-11 18:21:28 +00:00
Sylvain Pion
fab9eca9d9
- Removed operator*(IA, double) and operator/(IA, double). They made a lot of
...
code for something not really worth it, IMHO.
1999-10-11 17:55:49 +00:00
Sylvain Pion
2071706d22
- Introduce typedef bound_t, and use it instead of double where appropriate.
1999-10-11 17:33:15 +00:00
Sylvain Pion
e852335b70
- Made lots of functions friend, so that we don't have to call .inf() and
...
.sup(), but instead directly access ._inf and ._sup.
- Changed all "0" to "0.0".
1999-10-11 17:28:17 +00:00
Sylvain Pion
9d3d2d3720
- Removed passing by reference.
...
- Adding IO operators.
- Fixed operator==().
- Some formatting cleanups.
- Removed the copy constructors/assignment, they are indeed slower...
1999-10-11 15:11:10 +00:00
Sylvain Pion
b4380ae7e3
- Use an internal typedef "Self".
...
- Rename "de" to "d".
1999-10-11 11:19:02 +00:00
Sylvain Pion
8f162d8784
- Wrapper around a double, with appropriate workarounds so that it's IEEE 754
...
compliant.
1999-10-11 11:11:34 +00:00
Sylvain Pion
bbad316a7d
- Removed useless parenthesis.
1999-10-10 16:33:50 +00:00
Sylvain Pion
4409028854
- Borland version of the rounding mode macros.
1999-10-10 14:58:06 +00:00
Sylvain Pion
c5370e41ec
- In case of crappy compiler, the workaround needs to specify with
...
"template <>" that it's a (total) specialization.
1999-10-10 13:49:02 +00:00
Sylvain Pion
233e4771a9
- Revert last change.
1999-10-10 13:47:45 +00:00
Sylvain Pion
2f06b32d55
- Define convert_to<> only if
...
CGAL_CFG_NO_PARTIAL_CLASS_TEMPLATE_SPECIALISATION is also defined.
1999-10-10 13:47:34 +00:00
Sylvain Pion
ba13d30c97
- Revert last change.
...
- Use convert_to if CGAL_CFG_NO_PARTIAL_CLASS_TEMPLATE_SPECIALISATION is not
defined either.
1999-10-10 13:46:44 +00:00
Sylvain Pion
96d1bac173
- Back out last change.
1999-10-10 13:45:48 +00:00
Sylvain Pion
74f9494032
- Replaced CGAL_CFG_NO_EXPLICIT_TEMPLATE_FUNCTION_ARGUMENT_SPECIFICATION
...
by CGAL_CFG_MATCHING_BUG_2.
1999-10-10 12:28:21 +00:00
Sylvain Pion
df5f80f4e9
- Comments added.
1999-10-10 11:51:36 +00:00
Sylvain Pion
b2699fbf47
- Changed CGAL_CFG_NO_EXPLICIT_TEMPLATE_FUNCTION_ARGUMENT_SPECIFICATION to
...
CGAL_CFG_NO_PARTIAL_TEMPLATE_FUNCTION_ARGUMENT_SPECIFICATION.
1999-10-10 11:49:27 +00:00
Sylvain Pion
b91cc4d811
- More comment cleanups.
1999-10-08 09:16:46 +00:00
Sylvain Pion
b5f12e14d2
- Translate the comments in english.
...
- Removed the last rep_counter "fixes", they were wrong.
1999-10-08 08:55:21 +00:00
Sylvain Pion
96d1f339f7
- Fix rep counting when self copying.
1999-10-07 20:04:00 +00:00
Sylvain Pion
c89c277e74
- Comment modifications.
1999-10-07 19:58:00 +00:00
Sylvain Pion
c97d119a36
- Added -, *, /, min, max, abs, square, sqrt.
1999-10-07 19:55:19 +00:00
Sylvain Pion
7f7cb1b0f3
- comments.
1999-10-07 19:35:44 +00:00
Sylvain Pion
1e2483062b
- New number type Lazy_exact_nt<>.
1999-10-07 19:25:14 +00:00
Sylvain Pion
89f0fb5533
- Add "CGAL::" in the macros CGAL_IA_SMALLEST and CGAL_IA_LARGEST.
...
- Precise an error message.
- Optimize is_valid().
1999-10-07 18:12:05 +00:00
Sylvain Pion
77de81d78d
- Moved script.
1999-10-07 13:33:24 +00:00
Sylvain Pion
630e215dc7
- Renaming of kernel_ftC[23].h.
...
- Updated after 2 months, where I couldn't follow the flow...
1999-10-07 12:51:01 +00:00
Sylvain Pion
a47b56b3dd
- predicates_on_ftC[23].h -> kernel_ftC[23].h.
1999-10-05 13:15:50 +00:00
Sylvain Pion
f0d3d71608
- predicates_on_ftC[23].h -> kernel_ftC[23].h
1999-10-05 13:14:39 +00:00
Sylvain Pion
94320ca728
- Replaced lots of:
...
#ifdef ...
by
#elif defined ...
1999-08-29 16:11:56 +00:00
Sylvain Pion
8e8160b71c
- Moved some functions, so that they are inlined.
1999-08-23 13:17:52 +00:00
Sylvain Pion
380ab517f0
- Removed the "want_exceptions" stuff completely.
1999-08-23 12:51:41 +00:00
Sylvain Pion
1cc2786d03
- Fixed default Type = Dynamic.
...
- Added some comments.
1999-08-23 12:51:11 +00:00
Sylvain Pion
674344774d
- Compactified the output.
1999-08-12 09:00:13 +00:00
Sylvain Pion
28e0e9a1dc
- Removed checks on want_exceptions, it doesn't exist anymore.
1999-08-09 11:48:26 +00:00
Sylvain Pion
3887cd8cb1
- Added the advanced variants.
1999-08-07 14:40:49 +00:00
Sylvain Pion
e07b43fb2a
- Removed names of unused arguments.
1999-08-06 18:04:28 +00:00
Sylvain Pion
50cc68369c
- Moved geometric assertions up inthe Cartesian predicates.
1999-08-06 14:09:41 +00:00
Sylvain Pion
3604ee3526
- Implemented new finter scheme.
...
- New types: Static, Dynamic, Protected, Advanced.
- New template parameters "Type" and "Protection".
- New member function .dbl(), and .to_double().
1999-08-06 13:02:35 +00:00
Sylvain Pion
e305a63219
- Removed the _SAF functions.
...
- Commented operator/ and /=.
- Made ulp() static member.
- Added empty ctor.
1999-08-06 12:59:39 +00:00
Sylvain Pion
98916cb7d5
- Removed the _SAF functions.
...
- Added an empty ctor.
1999-08-06 12:57:52 +00:00
Sylvain Pion
a379c702eb
- Updated to something that works !
1999-08-06 12:57:20 +00:00
Sylvain Pion
d9e730a8a3
- Added "builtin.h" to both Arithmetic_filter/predicates, and
...
static_infos/predicates, as well as both dispatch.h
1999-08-06 12:41:42 +00:00
Sylvain Pion
b1d7f9fe99
- Fixed prototype error for new_bound().
1999-08-06 11:49:54 +00:00
Sylvain Pion
a37e58669e
- Changed .value() -> .to_double(), and .to_double() -> .dbl().
1999-08-06 11:45:17 +00:00
Sylvain Pion
8e15655d50
- Old wrapper fused into Filtered_exact<>.
1999-08-06 11:39:08 +00:00
Sylvain Pion
d9a61c42a6
- New file: includes all static_infos files.
1999-08-06 11:17:12 +00:00
Sylvain Pion
e135b826ca
- Split lines.
1999-08-06 11:09:46 +00:00
Sylvain Pion
0519a7ef6d
- Split lines.
1999-08-06 11:06:28 +00:00
Sylvain Pion
bdcbf1bec2
- Added a line splitting.
1999-08-06 10:33:50 +00:00
Sylvain Pion
5cc95e0995
- Updated to the new "map" stuff.
1999-08-06 10:30:35 +00:00
Sylvain Pion
0dbe38f090
- New version using one class per predicate.
1999-08-06 10:08:50 +00:00
Sylvain Pion
53f6b783b5
- Split the overloaded code with a subdirectory static_infos/ that contains
...
the static stuff that needs to be in CGAL.
1999-08-06 08:25:16 +00:00
Sylvain Pion
9aafce5945
- Merged in Arithmetic_filter/ files.
1999-08-05 18:33:07 +00:00
Sylvain Pion
a62601a0e4
- Merged in the Arithmetic_filter/ files.
1999-08-05 18:31:44 +00:00
Sylvain Pion
8f77b04a95
- Merge with the static filters.
...
- Added CGAL_assertion(Interval_nt_advanced::want_exceptions) for the dynamic.
1999-08-05 18:29:01 +00:00
Sylvain Pion
ad1bb0b0bd
- Merged with the Static_filter.
...
- Added -l option.
1999-08-05 18:27:52 +00:00
Sylvain Pion
3ced384c6e
- Added the 3D Regular Triangulation files.
1999-08-05 17:43:41 +00:00
Sylvain Pion
72d58961c7
- Initial revision.
1999-08-05 17:41:21 +00:00
Sylvain Pion
e9553717f0
- Added "static bool Interval_nt_advanced::want_exceptions = true".
...
- Updated overlap_action() to use it.
- Removed the ugly macros CGAL_IA_NO_EXCEPTION and CGAL_IA_NO_WARNING.
1999-08-05 17:29:58 +00:00
Sylvain Pion
2cfbba41c6
- Removed the check about CGAL_IA_NO_EXCEPTION.
1999-08-05 17:28:28 +00:00
Sylvain Pion
edcc8519bd
- Changed overlap_action() to be static.
1999-08-05 17:13:43 +00:00
Sylvain Pion
30792ea969
- Added "revision" and "revision_date" fields in the header.
1999-08-05 17:09:23 +00:00
Sylvain Pion
2e7717a22d
- Replaced the list of includes by a single file Arithmetic_filter/dispatch.h.
1999-08-05 17:01:48 +00:00
Sylvain Pion
d085f8e435
- Updated to new format.
1999-08-04 09:49:57 +00:00
Sylvain Pion
67c182646d
- Recommit (error with CGAL != .modified).
1999-08-03 14:57:32 +00:00
Sylvain Pion
b5d0216282
- Split the lines to avoid "line too long" warnings.
1999-08-03 14:49:01 +00:00
Sylvain Pion
2505877520
- Baked out the previous change.
1999-08-03 14:46:27 +00:00
Sylvain Pion
970b956092
- Removed.
1999-08-02 14:14:32 +00:00
Sylvain Pion
3714df3da0
- It's a preliminary version, but I don't plan to improve it, so I put it in
...
CVS, and will remove it just after.
1999-08-02 14:14:09 +00:00
Sylvain Pion
5e51170335
- Temporary file: new filter scheme.
1999-08-02 09:44:02 +00:00
Sylvain Pion
a80bc979e5
- New class Restricted_double, just a double, with limited functionality.
1999-08-02 09:43:14 +00:00
Sylvain Pion
3dea9182ce
- Bump for 4.22.
1999-08-02 09:37:16 +00:00
Sylvain Pion
66527a142e
- Added ctor(int).
...
- sqrt -> std::sqrt().
- fixed ulp() declaration.
- Added lexicographical_sign_SAF().
1999-08-02 09:35:09 +00:00
Sylvain Pion
af6a1a6b9b
- Replaced CGAL_IA_DEBUG by CGAL_expensive_assertion().
1999-08-02 09:32:47 +00:00
Sylvain Pion
e35c3d7889
- Replaced:
...
#ifdef CGAL_IA_DEBUG
CGAL_assertion(FPU_get_cw() == FPU_cw_up);
#endif
by:
CGAL_expensive_assertion(FPU_empiric_test() == FPU_cw_up);
1999-08-01 13:20:53 +00:00
Sylvain Pion
8bfb64cc16
- Moved FPU_empiric_test() in Interval_arithmetic.C instead of tst0.C.
1999-08-01 13:20:00 +00:00
Sylvain Pion
b4c82b2fc0
- Don't use the GNU extension of "Named return value" anymore.
1999-08-01 12:49:29 +00:00
Sylvain Pion
5ca0fa7715
- Replaced " "x8 by \t in $bound_checks.
1999-08-01 12:22:38 +00:00
Sylvain Pion
71447473b2
- The original template type is not replaced anymore, we use a typedef instead.
1999-08-01 11:34:02 +00:00
Sylvain Pion
dfb9966ff4
- Added missing "template <>" to keep MipsPro 7.3 happy.
1999-07-30 18:10:40 +00:00
Sylvain Pion
ed5f470e03
- Do not replace anymore "FT0" by "Restricted_double0" and such.
1999-07-30 16:43:30 +00:00
Sylvain Pion
7a11782180
- Prefixed _bound and _epsilon* by "_SAF".
1999-07-30 16:24:05 +00:00
Sylvain Pion
5ec69b48e9
- No need for "}" at beginning of line => take original code.
1999-07-30 16:11:50 +00:00
Sylvain Pion
f232450d0a
- New parsing: empty lines removed, "Static_adaptif" replaced by
...
"Arithmetic_filter".
1999-07-30 15:37:48 +00:00
Sylvain Pion
2a5564b8cb
- Filter_epsilon_... renamed _epsilon_#, and not initialized.
1999-07-30 13:00:02 +00:00
Sylvain Pion
bd633efd55
- Moved the epsilons as static function variables.
1999-07-30 12:48:53 +00:00
Sylvain Pion
fb09b53c4c
- Updated.
1999-07-29 18:33:22 +00:00
Sylvain Pion
1e20aa9d36
- Fixed alignment for $const.
1999-07-29 14:27:34 +00:00
Sylvain Pion
3e98edc021
- New output scheme using template string -> " $" fixed.
1999-07-29 14:15:25 +00:00
Sylvain Pion
518c561f89
- New files for the new filtering scheme.
...
- These might be replaced one day, but it's for convenience with "cvs diff".
1999-07-28 18:26:21 +00:00
Sylvain Pion
d2a86e7f40
- New output: "/* */" where there was no inline directive.
1999-07-28 18:13:02 +00:00
Sylvain Pion
d96f851660
- Renamed sign() and compare() with _SAF.
1999-07-28 15:22:28 +00:00
Sylvain Pion
03184d4420
- Removed (via NO_FILTER section):
...
compare_lexicographically_xyzC3
collinear_are_ordered_along_lineC3
collinear_are_strictly_ordered_along_lineC3
has_larger_dist_to_pointC3
has_smaller_dist_to_pointC3
has_larger_signed_dist_to_planeC3
has_smaller_signed_dist_to_planeC3
has_larger_signed_dist_to_planeC3
has_smaller_signed_dist_to_planeC3
1999-07-28 14:30:19 +00:00
Sylvain Pion
8a7c2b691a
- Removed (via FILTER_SECTION):
...
compare_lexicographically_xyC2
collinear_are_ordered_along_lineC2
collinear_are_strictly_ordered_along_lineC2
has_larger_dist_to_pointC2
has_smaller_dist_to_pointC2
has_larger_signed_dist_to_lineC2
has_smaller_signed_dist_to_lineC2
has_larger_signed_dist_to_lineC2
has_smaller_signed_dist_to_lineC2
1999-07-28 14:29:42 +00:00
Sylvain Pion
5e7df4525f
- Added predicates/sign_of_determinant.h to the list.
1999-07-28 14:17:36 +00:00
Sylvain Pion
0e2573c52e
- Initial revision. The original files needed some trickery.
1999-07-28 14:13:20 +00:00
Sylvain Pion
f0e2f24940
- Added comparison operators, and +=, -=, *=, /=.
1999-07-26 15:25:48 +00:00
Sylvain Pion
72d3ddb3ef
- New class Static_filter_error, used to compute error bounds for static
...
filters.
1999-07-26 15:13:54 +00:00
Sylvain Pion
d03c8b44a5
- Added a blank line before CGAL_BEGIN_NAMESPACE.
1999-07-23 15:49:47 +00:00
Sylvain Pion
e9320b68b0
- Updated after all last change: no unparsed line in the input is output.
1999-07-23 15:33:04 +00:00
Sylvain Pion
db07129bed
- Added "-p" option to the script.
1999-07-23 11:07:02 +00:00
Sylvain Pion
9315c6e3a3
- Updated to the namespace change (removed CGAL:: while in namespace CGAL).
1999-07-23 11:02:58 +00:00
Sylvain Pion
cf87dd947c
- I finally add it, because "cvs diff" is really cool to check for changes.
1999-07-21 12:32:23 +00:00
Sylvain Pion
2871ac09ca
- Updated, the functions declarations are now completely rewritten.
1999-07-20 20:05:54 +00:00
Sylvain Pion
116eb8ac59
- Updated: the inline stuff is commented with /* ... */ instead of //.
1999-07-20 19:27:53 +00:00
Sylvain Pion
b7e8b3c4fb
- Updated: new headers.
1999-07-20 18:38:00 +00:00
Sylvain Pion
10b815d31c
- Updated after the CGAL_DONT_NEED_FILTER change.
1999-07-20 16:55:39 +00:00
Sylvain Pion
0597a9e350
- Updated because of the "get_and_set" changes.
1999-07-20 16:05:19 +00:00
Sylvain Pion
897b92fe9c
- Added a "predicates/%" rule, which was missing.
1999-07-20 16:04:39 +00:00
Sylvain Pion
0190817cda
- Use FPU_get_and_set_cw().
1999-07-15 18:15:31 +00:00
Sylvain Pion
bc8a64d4dc
- New FPU_get_and_set_cw() function.
1999-07-15 18:11:59 +00:00
Sylvain Pion
65853b8d3d
- Remade unsafe_comparison a proper struct{}, no need for a typedef.
...
(undo the change from 1999/04/20)
1999-07-13 16:23:54 +00:00
Sylvain Pion
e3b1de2358
- New macro CGAL_IA_STOP_CPROP() depending on the user definition of
...
CGAL_IA_STOP_CONSTANT_PROPAGATION.
- "Supported architecture" check done at the end.
- CGAL_IA_GETFPCW() on ia32 now uses fnstcw instead of fstcw.
1999-07-13 13:37:40 +00:00
Sylvain Pion
1a25f67f07
- Use CGAL_IA_STOP_CPROP() in the ctors.
1999-07-13 13:35:33 +00:00
Sylvain Pion
99068cecf1
- Changed back __asm__ to asm. It's mentionned by the standard, so no risk
...
of interaction with user code, but risk of interaction with compiler...
1999-07-07 13:26:48 +00:00
Sylvain Pion
23e3c203cd
- Bump for 4.19.
1999-07-06 16:03:31 +00:00
Sylvain Pion
f58a4caf0d
- Added predicates/in_smallest_orthogonalcircle_ftC2.h from the Reconstruction
...
package.
1999-07-06 16:02:48 +00:00
Sylvain Pion
f701767fe8
- Makes CygWin works: replaced the macros _FPU_RC_NEAREST... by their values.
1999-07-05 17:11:27 +00:00
Sylvain Pion
49889451d3
- Fixed an #ifdef for MipsPro.
1999-07-05 14:05:38 +00:00
Sylvain Pion
c3e767fc1f
- Bump for 4.18.
1999-06-30 12:26:49 +00:00
Sylvain Pion
f2573ab32b
- Removed useless comments.
...
- Replaced the macros _FPU_RC_* by their values for M$.
1999-06-28 09:58:47 +00:00
Sylvain Pion
f4c70a8803
- Removed the template ctor, and replaced it by ctor from CT only.
1999-06-28 09:53:58 +00:00
Sylvain Pion
1232d12b75
- Formatting stuff.
1999-06-28 09:52:57 +00:00
Sylvain Pion
a6df82e691
- Forgot to remove the old CGAL_IA_FORCE_TO_DOUBLE definition.
1999-06-27 16:41:40 +00:00
Sylvain Pion
90915097b3
- Slightly optimized CGAL_IA_FORCE_TO_DOUBLE() after observing the assembly
...
output of egcs.
- Some formatting stuff.
1999-06-27 16:37:46 +00:00
Sylvain Pion
e21bb0d4fd
- Removed obsolete member functions {lower|upper}_bound().
1999-06-27 15:55:24 +00:00
Sylvain Pion
7f18171889
- Changed asm to __asm__, to prevent interaction with user macros.
...
- Provide an implementation for M$ VC++ found on the web, but needs testing.
1999-06-27 15:46:24 +00:00
Sylvain Pion
e001c0ae04
- Big clean up.
...
- No more *ASSEMBLY* macros.
- FPU_[sg]et_cw only use the CGAL_IA_[SG]ETCW() macros.
1999-06-27 15:06:52 +00:00
Sylvain Pion
a44d1cd0c8
- Missing CGAL_ to IA_QUOTIENT_H.
1999-06-25 13:40:07 +00:00
Sylvain Pion
a9d62e33ed
- Updated because of the changes in rtH2.h.
1999-06-24 15:06:49 +00:00
Sylvain Pion
c18429f2a7
- Fixed the headers.
...
- Updated because of the changes in ftC2.h.
1999-06-24 15:06:29 +00:00
Sylvain Pion
fa1c04c837
- Removed predicates_on_rtH2.h.
1999-06-24 15:05:57 +00:00
Sylvain Pion
286241176c
- Removed until it's useful.
1999-06-24 14:56:39 +00:00
Sylvain Pion
e740b74050
- Intermediate modifs for PPC.
1999-06-24 14:44:37 +00:00
Sylvain Pion
14943fe0e2
- Removed the obsolete functions FPU_set_rounding_to_{zero|nearest|...}.
1999-06-24 12:00:32 +00:00
Sylvain Pion
1981c712fa
- PowerPC port contributed by Pierre Angelier.
1999-06-24 11:59:36 +00:00
Sylvain Pion
508a98e471
- Previous patch removed since it doesn't work. Just kept here for history.
1999-06-24 11:52:37 +00:00
Sylvain Pion
bef05d6d19
- CGAL_IA_FORCE_TO_DOUBLE() for MipsPro using an inline function, since the
...
previous fix uses a GNU extension ({...}).
- However it appears to not work, so I'll remove it in the next patch.
1999-06-24 11:51:22 +00:00
Sylvain Pion
ad2a5f5bc4
- Make number_type_tag() take a const & as argument.
1999-06-23 14:48:20 +00:00
Sylvain Pion
b3a2ef6ed9
- Moved operator<< and operator>> to libCGAL, no inline anymore.
1999-06-23 11:22:11 +00:00
Sylvain Pion
8745f74904
- Added "CGAL::".
1999-06-18 13:20:23 +00:00
Sylvain Pion
8856006f9a
- Added the conditional #include for the Regular Triangulation predicates.
1999-06-18 12:47:52 +00:00
Sylvain Pion
b0c82bafbf
- Initial revision for the predicates of regular triangulation.
1999-06-18 12:44:34 +00:00
Sylvain Pion
96d60ec4f8
- Added the regular triangulation predicates.
1999-06-18 12:36:22 +00:00
Sylvain Pion
bed589241e
- sqrt(): moved CGAL_IA_FORCE_TO_DOUBLE() deeper.
1999-05-07 11:15:39 +00:00
Sylvain Pion
b64ed5996d
- Removed a useless (MipsPro thinks that) CGAL_assertion(false).
1999-05-07 11:14:57 +00:00
Sylvain Pion
612544cb07
- Fixed a bug in std::istream & operator>> (now that _value is private).
1999-05-07 08:59:43 +00:00
Sylvain Pion
f8791c28ed
- Changed all CGAL_assertion() used inside CGAL_IA_DEBUG to CGAL_warning().
...
- Changed lower_bound()/upper_bound() to inf()/sup().
1999-05-04 16:30:15 +00:00
Sylvain Pion
b7e176e429
- Bump for version 4.11.
1999-05-04 16:08:27 +00:00
Sylvain Pion
60588365dc
- Moved operator/ (double, Interval_nt), because could not be inlined.
1999-05-04 16:03:55 +00:00
Sylvain Pion
6c27739955
- indenting.
1999-05-04 15:52:14 +00:00
Sylvain Pion
308e05b1ec
- Added (currently disabled) code to stop constant propagation inside the
...
constructors.
1999-05-04 15:51:33 +00:00
Sylvain Pion
f45ba11b4e
- Fix for MipsPro.
1999-05-04 12:14:06 +00:00
Sylvain Pion
b08fa90fda
- Removed operator+ (double) and operator- (double).
...
- Added some rounding mode check (when CGAL_IA_DEBUG) where needed.
- Added some operator?? (double, Interval_nt) so that the rounding mode is ok.
1999-05-04 12:08:33 +00:00
Sylvain Pion
0bb931e489
- Changed CGAL_assertion to CGAL_warning (when CGAL_IA_DEBUG is defined).
1999-05-04 09:53:34 +00:00
Sylvain Pion
947f394b1c
- Fixed a bug in the division code !!!???!!!
...
- Added operator/ (const double d, const Interval_nt & t).
- Removed useless () around boolean tests.
1999-05-04 09:38:11 +00:00
Sylvain Pion
7edafed41a
- Introduced the macro CGAL_IA_FORCE_TO_DOUBLE() to work around a Intel
...
processor "feature" that breaks the interval computation when there is
underflow or overflow (the exponent of the FP registers a larger than those
of doubles).
1999-05-03 16:07:14 +00:00
Sylvain Pion
134132c41a
- Fix a typo breaking MipsPro.
...
- First sketch for M$VC++.
1999-04-30 09:53:25 +00:00
Sylvain Pion
bf45af9c35
- Fixed a typo preventing use of assembly...
1999-04-22 14:05:07 +00:00
Sylvain Pion
28cedd7dd9
- Added 2 comments.
1999-04-20 16:46:55 +00:00
Sylvain Pion
ebfc0541b7
- Replaced data members value/cache by _value/_cache, and added a public
...
member function .value() instead.
1999-04-20 16:41:57 +00:00
Sylvain Pion
82208c27f7
- Removed commented #includes.
...
- The caching functionnality is now private inthe class rather than global
scope, and is much cleaner now.
- Removed the copy operator, because it's useless.
1999-04-20 16:31:09 +00:00
Sylvain Pion
688dfd4709
- Updated to remove a warning.
1999-04-20 13:10:24 +00:00
Sylvain Pion
aa074c5ef0
- Cleanup of the caching functions.
1999-04-20 13:08:41 +00:00
Sylvain Pion
815ee80905
- unsafe_comparison is a type, not an object.
1999-04-20 13:07:51 +00:00
Sylvain Pion
11926a84a1
- Changed "__i386" to "__i386__" and similar.
1999-04-20 12:36:07 +00:00
Sylvain Pion
859c96feed
- Simplify setting of CGAL_IA_USE_ASSEMBLY: all supported CPUs + GCC => ok.
1999-04-19 15:59:08 +00:00
Sylvain Pion
60f9cf8c08
- Implemented the new caching features. Still needs some testing and
...
benchmarking.
1999-04-16 15:34:04 +00:00
Sylvain Pion
46caccb005
- Workaround for lack of partial specialization, conditionned by
...
CGAL_CFG_NO_EXPLICIT_TEMPLATE_FUNCTION_ARGUMENT_SPECIFICATION.
1999-04-15 13:25:37 +00:00
Sylvain Pion
0e790c0677
- Changed "sign" to "CGAL::sign".
1999-04-15 11:21:41 +00:00
Sylvain Pion
c5b8853cd1
- Changed compare to CGAL::compare (thanks LEDA).
1999-04-13 15:52:50 +00:00
Sylvain Pion
bf7781caa0
- Updated to 2.0-I-8.
1999-04-13 15:50:10 +00:00
Sylvain Pion
09829b6da4
- Tried workaround for MipsPro based on convert_from_to() and
...
CGAL_CFG_NO_EXPLICIT_TEMPLATE_FUNCTION_ARGUMENT_SPECIFICATION.
1999-04-13 15:49:17 +00:00
Sylvain Pion
5cf818b3c6
- Tried a workaround for MipsPro based on:
...
- convert_from_to(target, source)
- CGAL_CFG_NO_EXPLICIT_TEMPLATE_FUNCTION_ARGUMENT_SPECIFICATION
1999-04-13 15:48:17 +00:00
Sylvain Pion
6bd5bd6a71
- Removed cruft for the IRIX platform. Just kept the good workaround.
1999-04-13 14:03:22 +00:00
Sylvain Pion
f5ca461671
- Several test possibilities for IRIX (all C versions fail on IRIX 6 !!!).
...
Only kept for the future, will be cleaned up in the next commit.
1999-04-13 13:53:43 +00:00
Sylvain Pion
aef5b2afb5
- Bump for 3.5.
1999-04-01 15:50:47 +00:00
Sylvain Pion
a7cd3afe15
- Removed commented include headers.
...
- Made overlap_action return void, and modify the calling functions
accordingly.
- Removed all friend functions, and replaced them using .inf() and .sup(), so
that they don't need to be friend anymore (this should even make SunPro 5.0
happy).
1999-04-01 14:10:22 +00:00
Sylvain Pion
21b93bb834
- to_double, is_valid, is_finite, sign, compare do not need to be friend
...
functions anymore, and they are not defined twice for the 2 classes.
- they use .inf() and .sup() to access the data members.
- overlap_action is now public.
1999-04-01 10:15:12 +00:00
Sylvain Pion
fec6af0b1c
- Changed .inf to ._inf, same for sup.
...
- Added .inf() and .sup().
1999-04-01 08:58:51 +00:00
Sylvain Pion
e036bf3979
- Include files changes.
1999-04-01 08:43:16 +00:00
Sylvain Pion
5298fc3390
- Use CGAL::to_double() for the LEDA NTs.
1999-03-30 14:07:43 +00:00
Sylvain Pion
2e51f92d39
- Added std:: for the iostream functions.
1999-03-26 17:33:13 +00:00
Sylvain Pion
f7eb5d551c
- Added std:: for the iostrem functions.
1999-03-26 17:32:36 +00:00
Sylvain Pion
effc18ebf0
- Fix for IRIX.
1999-03-26 17:31:35 +00:00
Sylvain Pion
ce960bc1cb
- Updated for 2.0-I-5.
1999-03-19 20:07:31 +00:00
Sylvain Pion
496f9e4b57
- Replaced call of max<double>() to std::max.
1999-03-19 20:00:31 +00:00
Sylvain Pion
2aa2e5c7ae
- Added a static data member "number_of_failures".
1999-03-12 16:52:58 +00:00
Sylvain Pion
62d24cdb20
- Fixed a Sign() vs sign() bug.
...
- Re-formatting.
1999-03-12 16:33:11 +00:00
Sylvain Pion
eba314e01f
- Use the new functions FPU_set_cw()/FPU_get_cw().
1999-03-12 14:56:21 +00:00
Sylvain Pion
47f208026c
- Shorten the names:
...
FPU_get_control_word => FPU_get_cw
FPU_set_control_word => FPU_set_cw
1999-03-12 14:55:47 +00:00
Sylvain Pion
0bd1826da5
- Moved a few #define in _FPU.h.
...
- Introduced the new FPU_get_cw() and FPU_set_cw().
1999-03-12 14:54:37 +00:00
Sylvain Pion
d34c5c0cd4
- Use the new get/set rounding mode functions.
1999-03-12 14:48:39 +00:00
Sylvain Pion
9731f06a82
- Replaced the static consts by enums.
1999-03-12 14:21:11 +00:00
Sylvain Pion
814d128d15
- Nearly complete rewrite, the get/set functions are working.
1999-03-12 14:00:58 +00:00
Sylvain Pion
5e9d7ec2e4
- Comments.
1999-03-11 15:19:05 +00:00
Sylvain Pion
04c28cf0db
- Fixed template param.
1999-03-11 15:17:09 +00:00
Sylvain Pion
c9c1ae46dc
- Fixed template declaration problems.
...
- Replaced Interval_nt::smallest by CGAL_IA_SMALLEST.
1999-03-11 13:04:43 +00:00
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
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