summaryrefslogtreecommitdiff
path: root/sal/rtl/source/math.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sb@openoffice.org>2002-11-05 10:01:37 +0000
committerStephan Bergmann <sb@openoffice.org>2002-11-05 10:01:37 +0000
commita8603338071b983db762aa81f53c8e41df0ff14b (patch)
tree0758a029f9e8224ae57b282ff160a8220d90ba26 /sal/rtl/source/math.cxx
parentb8a17af8773c7fb01fe9f70140890162795a9001 (diff)
#103888# Fixed/clarified printing of exponent.
Diffstat (limited to 'sal/rtl/source/math.cxx')
-rw-r--r--sal/rtl/source/math.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sal/rtl/source/math.cxx b/sal/rtl/source/math.cxx
index 8a32dc774ae2..b4f90436eb48 100644
--- a/sal/rtl/source/math.cxx
+++ b/sal/rtl/source/math.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: math.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: sb $ $Date: 2002-11-05 10:47:49 $
+ * last change: $Author: sb $ $Date: 2002-11-05 11:01:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -486,7 +486,9 @@ inline void doubleToString(StringT ** pResult,
p--;
}
- // print the exponent (dreistellig)
+ // Print the exponent ('E', followed by '+' or '-', followed by exactly
+ // three digits). The code in rtl_[u]str_valueOf{Float|Double} relies on
+ // this format.
if( eFormat == rtl_math_StringFormat_E )
{
if ( p == pBuf )