Kaydet (Commit) 05417784 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS geordi2q11 (1.3.106); FILE MERGED

2003/12/16 14:01:54 hr 1.3.106.1: #111934#: join CWS ooo111fix1
üst b68f9e21
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: strhelper.cxx,v $ * $RCSfile: strhelper.cxx,v $
* *
* $Revision: 1.3 $ * $Revision: 1.4 $
* *
* last change: $Author: pl $ $Date: 2002-05-21 16:44:50 $ * last change: $Author: vg $ $Date: 2003-12-17 20:21:56 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
* *
************************************************************************/ ************************************************************************/
#include <psprint/strhelper.hxx> #include <psprint/strhelper.hxx>
#ifdef SOLARIS #if defined(SOLARIS) || defined(IRIX)
#include <ieeefp.h> // finite #include <ieeefp.h> // finite
#include <alloca.h> #include <alloca.h>
#endif #endif
...@@ -667,7 +667,7 @@ int getValueOfDouble( char* pBuffer, double f, int nPrecision ) ...@@ -667,7 +667,7 @@ int getValueOfDouble( char* pBuffer, double f, int nPrecision )
int exponent = log10( f ); int exponent = log10( f );
if( exponent < 4 && exponent > -4 ) if( exponent < 4 && exponent > -4 )
exponent = 0; exponent = 0;
f /= pow( 10, exponent ); f /= pow( 10, (double) exponent );
int nInt = f; int nInt = f;
f -= nInt; f -= nInt;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment