Commit Graph

363 Commits

Author SHA1 Message Date
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 d23f348503 - Bump for 3.6. 1999-04-15 11:34:40 +00:00
Sylvain Pion c5ab61fa90 - Added a variable of type Filtered_exact< Quotient<Gmpz>, Quotient<Gmpz> >,
since g++ probably doesn't work with it.  Needs some more testing.
1999-04-15 11:30:39 +00:00
Sylvain Pion db08e73eba - Added a few (non-called) function, to test the optimization by egcs for
constants (1*x, 0+x,...).
- In case the rounding mode is buggy, prints the detected rounding mode.
1999-04-15 11:29:51 +00:00
Sylvain Pion 0e790c0677 - Changed "sign" to "CGAL::sign". 1999-04-15 11:21:41 +00:00
Sylvain Pion ef907d8e97 - Workaround for several IRIX problems. 1999-04-15 11:03:54 +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 e0a9cbc87d - changed lower_bound and upper_dounb to inf and sup. 1999-04-01 12:17:26 +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 7b9c165f09 - Bump for 3.4. 1999-03-26 17:41:11 +00:00
Sylvain Pion bcf1e1c19b - Fix headers. 1999-03-26 17:35:32 +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 476e2aa755 - Some small typos. 1999-03-24 10:20:18 +00:00
Sylvain Pion 89624350c1 - Bump for 3.3: forgot src/ in the package. 1999-03-19 20:18:47 +00:00
Sylvain Pion ce960bc1cb - Updated for 2.0-I-5. 1999-03-19 20:07:31 +00:00
Sylvain Pion 63e391e595 - Bump for 3.2. 1999-03-19 20:05:57 +00:00
Sylvain Pion 496f9e4b57 - Replaced call of max<double>() to std::max. 1999-03-19 20:00:31 +00:00
Sylvain Pion 40f235872f - Compresses the PS on the web server. 1999-03-12 18:01:46 +00:00
Sylvain Pion 9f4b6d5edf - Removed "submit-mail" from the excludes of the tar command. 1999-03-12 17:53:35 +00:00
Sylvain Pion 182cc79fd8 - Removed the need of a file "submit-mail", use a temporary file instead. 1999-03-12 17:44:22 +00:00
Sylvain Pion a6331556b9 - Removed, the Makefile now uses a temporary file. 1999-03-12 17:43:20 +00:00
Sylvain Pion 87a294f4a5 - Fixed bug in target "submit". 1999-03-12 17:31:00 +00:00
Sylvain Pion 3dbb518ba6 - Fixed bug in target "rtag". 1999-03-12 17:29:08 +00:00
Sylvain Pion 60c25cf627 - Updated to the 3.1 changes. 1999-03-12 17:26:05 +00:00
Sylvain Pion 53e2b2bd6c - Removed useless "for CGAL" comment. 1999-03-12 17:24:54 +00:00
Sylvain Pion 0777ed8877 - Bump for 3.1. 1999-03-12 17:24:32 +00:00
Sylvain Pion 167af57186 - Initial version: contains the static data member "number_of_failures". 1999-03-12 17:16:47 +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 773109e621 - Removed the ugly workaround that made x86 pass the test-suite. 1999-03-12 16:21:21 +00:00
Sylvain Pion 04287aeaaa - New targets "version", "rtag", "submit". 1999-03-12 16:20:13 +00:00
Sylvain Pion d7d8d359d0 - Added "ps" target. 1999-03-12 16:02:57 +00:00
Sylvain Pion 3e917c0085 - Added Quotient<> to the supported NTs list.
- Added is_point, is_same, overlap, ||, &&.
- Updated the roundingn mode functions FPU_get_cw() and FPU_set_cw().
- Removed the Homogeneous things from the supported list...
1999-03-12 16:02:00 +00:00
Sylvain Pion bc690ec63c - Use and test the new FPU_get_cw() and FPU_set_cw() functions. 1999-03-12 14:58:44 +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 b9957e56a0 - New target: submit 1999-03-11 17:59:32 +00:00
Sylvain Pion 4a9ce12538 - Helper file for submission. 1999-03-11 17:56:05 +00:00
Sylvain Pion c951d95382 - Bump for 3.0. 1999-03-11 15:36:13 +00:00
Sylvain Pion 0a83d87125 - 3.0. 1999-03-11 15:31:35 +00:00
Sylvain Pion 752cd68924 - Changed names. 1999-03-11 15:28:34 +00:00
Sylvain Pion dc3931aead - Bump for snapshot. 1999-03-11 15:27:28 +00:00
Sylvain Pion b4006d08d1 - Quotient<> shoud work, now !!! 1999-03-11 15:27:06 +00:00
Sylvain Pion 521643480e - Replaced IA::smallest and other static objects by the macros. 1999-03-11 15:26:16 +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 fa9beb844d - Remove the line #include <CGAL/Interval_arithmetic.h> in the output. 1999-03-08 09:40:30 +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 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