Commit Graph

137 Commits

Author SHA1 Message Date
Sylvain Pion 181613cbaf - Add normal field back. 2001-03-19 18:20:30 +00:00
Sylvain Pion cbf4c4a060 - Try $Name: $ 2001-03-19 18:19:07 +00:00
Sylvain Pion 72b90b4d16 - Try $RCSfile: $ 2001-03-19 18:04:54 +00:00
Sylvain Pion 2b6c4095e7 - Try $Source: $ 2001-03-19 18:03:47 +00:00
Sylvain Pion 0760aed69d - Use $Id: $ in the file field. 2001-03-19 18:00:32 +00:00
Sylvain Pion 6c1ab654b5 - to_interval() for the built-in types are now defined here because of a
circular dependency with the #include otherwise.
2001-01-24 10:00:37 +00:00
Sylvain Pion 78860591fe - Removed obsolete #includes for conversion functions. 2000-11-17 15:48:12 +00:00
Sylvain Pion 5e9a09a0c1 - Use CGAL/FPU.h. 2000-10-16 12:50:41 +00:00
Sylvain Pion 0e1025db13 - #if 0'd out code to act as a remainder for is_zero() and stuff. 2000-09-20 13:36:10 +00:00
Sylvain Pion f337f5d370 - For M$VC++, call min(double) instead of std::min(double). 2000-09-13 14:38:18 +00:00
Sylvain Pion 32f42114e8 - Workaround for min/man with VC++. 2000-09-10 22:03:34 +00:00
Sylvain Pion 5f933114c5 - Shorten 80 characters lines. 2000-09-07 11:39:38 +00:00
Sylvain Pion 0d54c73b68 - Renamed ._inf and ._sup to .inf_ and .sup_. 2000-09-06 17:39:58 +00:00
Sylvain Pion f7e665d2ac - Added commented out to_interval() for long long and long double.
- Use CGAL_IA_ADD, SUB, MUL, DIV, SQUARE.
- Removed copy and assignment ctors.
2000-09-01 16:50:10 +00:00
Sylvain Pion d06a8a4007 - Use the "IA" typedef to shorten the code a bit. 2000-08-20 15:40:18 +00:00
Sylvain Pion dbb0048116 - Interval_base moved to Interval_base.h .
- Protect_FPU_rounding<> moved to Interval_arithmetic/_FPU.h .
- min and max std:: qualified for doubles.
- M$VC++ workaround for sign, compare, abs, square.
- Header cleanups.
2000-06-25 18:52:14 +00:00
Sylvain Pion 1bb23ded7e - Big rewrite... 2000-06-21 15:12:20 +00:00
Sylvain Pion dfea45953c - Protect_FPU_rounding object who's ctor/dtor do the rounding stuff. 2000-06-15 13:29:11 +00:00
Sylvain Pion 1baf6fc4a9 - Fixed Copyrigth dates, and re-added coordinator fields. 2000-06-13 15:01:03 +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 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 332711b503 - Replaced enums FPU_cw_near... by macros CGAL_FE_TONEAREST... 1999-11-07 17:56:16 +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 69f1a3ae1d - Borland can't get IEEE comparisons working too... 1999-10-27 09:18:50 +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 5d0622bd04 - Temporary hack for Lazy_exact_nt<>.
- Workaround for VC++ sqrt().
1999-10-19 11:34:23 +00:00
Sylvain Pion 75ee25d7cf - Formatting issues (moved some code around). 1999-10-14 16:08:29 +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 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 ca9404e8cb - Moved definition of an inline function before its call. 1999-10-12 18:06:42 +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 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 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 bbad316a7d - Removed useless parenthesis. 1999-10-10 16:33:50 +00:00
Sylvain Pion 96d1bac173 - Back out last change. 1999-10-10 13:45:48 +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 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 380ab517f0 - Removed the "want_exceptions" stuff completely. 1999-08-23 12:51:41 +00:00