You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@apache.org on 2001/05/11 15:59:19 UTC

cvs commit: xml-xalan/c/src/PlatformSupport DoubleSupport.cpp

dbertoni    01/05/11 06:59:19

  Modified:    c/src/PlatformSupport DoubleSupport.cpp
  Log:
  Fixed problem with conversion of large number.
  
  Revision  Changes    Path
  1.24      +1 -1      xml-xalan/c/src/PlatformSupport/DoubleSupport.cpp
  
  Index: DoubleSupport.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DoubleSupport.cpp,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- DoubleSupport.cpp	2001/04/11 13:45:15	1.23
  +++ DoubleSupport.cpp	2001/05/11 13:59:18	1.24
  @@ -579,7 +579,7 @@
   	// string is less than n characters, we'll convert
   	// it as a long and coerce that to a double.  This
   	// is _much_ cheaper...
  -	const unsigned int	theLongHackThreshold = 11;
  +	const unsigned int	theLongHackThreshold = 10;
   
   	const unsigned int	theLength = length(theString);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org