
30 Jan
2002
30 Jan
'02
9:49 a.m.
Dear Sirs,
first of all I would like to thank you for fi_lib++. I have just finished reading the documentation and it turns out that fi_lib++ has almost all the features of the library I was writing myself. I have a few questions:
1) What is the official web site for the library? 2) Is there a mailing list for fi_lib++ users and developers? 3) If not, to whom should I report bugs and improvements?
To start with, I am having namespace problems (in my application I need to define FILIB_NAMESPACES). The problems I have found so far are solved by the patch attached below. All the best
Roberto
--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:bagnara@cs.unipr.it
diff -rcp interval.orig/macro/include/Interval.h
interval/macro/include/Interval.h
*** interval.orig/macro/include/Interval.h Thu Nov 1 11:15:24 2001
--- interval/macro/include/Interval.h Fri Jan 25 18:52:55 2002
***************
*** 33,39 ****
#endif
#ifdef FILIB_NAMESPACES
! namesupersetace filib
{
#endif
--- 33,39 ----
#endif
#ifdef FILIB_NAMESPACES
! namespace filib
{
#endif
diff -rcp interval.orig/macro/include/rounding.h
interval/macro/include/rounding.h
*** interval.orig/macro/include/rounding.h Wed Apr 25 15:48:56 2001
--- interval/macro/include/rounding.h Fri Jan 25 18:54:40 2002
***************
*** 22,33 ****
#define ROUND_UP
#define ROUND_NEAR
static const double ZERO_SUCC=Double::succ(0.0);
static const double ZERO_PRED=Double::pred(0.0);
static const double ONE_SUCC=Double::succ(1.0);
! static const double
ONE_PRED=Double::pred(1.0);
!
#define low(a) ((a)>0)?((a)*ONE_PRED):((a)=0?ZERO_PRED:(a)*ONE_SUCC)
#define high(a)
((a)>0)?((a)*ONE_SUCC):((a)=0?ZERO_SUCC:(a)*ONE_PRED)
--- 22,40 ----
#define ROUND_UP
#define ROUND_NEAR
+ #ifndef FILIB_NAMESPACES
static const double ZERO_SUCC=Double::succ(0.0);
static const double ZERO_PRED=Double::pred(0.0);
static const double ONE_SUCC=Double::succ(1.0);
! static const double ONE_PRED=Double::pred(1.0);
! #else
! static const double ZERO_SUCC=filib::Double::succ(0.0);
! static const double ZERO_PRED=filib::Double::pred(0.0);
!
! static const double ONE_SUCC=filib::Double::succ(1.0);
! static const double ONE_PRED=filib::Double::pred(1.0);
! #endif
#define low(a) ((a)>0)?((a)*ONE_PRED):((a)=0?ZERO_PRED:(a)*ONE_SUCC)
#define high(a) ((a)>0)?((a)*ONE_SUCC):((a)=0?ZERO_SUCC:(a)*ONE_PRED)

30 Jan
30 Jan
12:55 p.m.
Dear Roberto Bagnara thanks for your interest in filib++ we'll discuss your suggestions next monday. best regards JWvG
--
__o
<,
()/ ()__________________
Prof. Dr. J. Wolff v. Gudenberg Lehrstuhl fuer Informatik II
wolff@informatik.uni-wuerzburg.de Universitaet Wuerzburg
Tel. 0931 / 888-6602 Am Hubland
Fax. 0931 / 888-6603 D-97074 Wuerzburg
URL http://www-info2.informatik.uni-wuerzburg.de/staff/wvg
---------------------------------------------
8497
Age (days ago)
8497
Last active (days ago)
1 comments
2 participants
participants (2)
-
J.Wolff v. Gudenberg
-
Roberto Bagnara