[rkward-cvs] rkward/rkward/core rkvariable.cpp,1.31,1.32

Thomas Friedrichsmeier tfry at users.sourceforge.net
Thu Apr 20 10:46:36 UTC 2006


Update of /cvsroot/rkward/rkward/rkward/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28866/rkward/core

Modified Files:
	rkvariable.cpp 
Log Message:
Fix rounding bug in RKVariable

Index: rkvariable.cpp
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/core/rkvariable.cpp,v
retrieving revision 1.31
retrieving revision 1.32
diff -C2 -d -r1.31 -r1.32
*** rkvariable.cpp	16 Mar 2006 22:31:07 -0000	1.31
--- rkvariable.cpp	20 Apr 2006 10:46:33 -0000	1.32
***************
*** 18,21 ****
--- 18,22 ----
  
  #include <qstringlist.h>
+ #include "float.h"
  
  #include "rcontainerobject.h"
***************
*** 33,37 ****
  #define GET_FACTOR_LEVELS_COMMAND 12
  
! #define MAX_PRECISION 16
  
  #include "../debug.h"
--- 34,38 ----
  #define GET_FACTOR_LEVELS_COMMAND 12
  
! #define MAX_PRECISION DBL_DIG
  
  #include "../debug.h"





More information about the rkward-tracker mailing list