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
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
edcc8519bd
- Changed overlap_action() to be static.
1999-08-05 17:13:43 +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
b4c82b2fc0
- Don't use the GNU extension of "Named return value" anymore.
1999-08-01 12:49:29 +00:00
Sylvain Pion
0190817cda
- Use FPU_get_and_set_cw().
1999-07-15 18:15:31 +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
1a25f67f07
- Use CGAL_IA_STOP_CPROP() in the ctors.
1999-07-13 13:35:33 +00:00
Sylvain Pion
e21bb0d4fd
- Removed obsolete member functions {lower|upper}_bound().
1999-06-27 15:55:24 +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
bed589241e
- sqrt(): moved CGAL_IA_FORCE_TO_DOUBLE() deeper.
1999-05-07 11:15:39 +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
308e05b1ec
- Added (currently disabled) code to stop constant propagation inside the
...
constructors.
1999-05-04 15:51:33 +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
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
815ee80905
- unsafe_comparison is a type, not an object.
1999-04-20 13:07:51 +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
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