Commit Graph

124 Commits

Author SHA1 Message Date
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