summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-20 20:14:51 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-07-20 20:14:51 +0000
commit4cfde2c0ced4317d3daf76bc626229b899c301bd (patch)
tree8df44570195edcabbd3ff9f1f915e7d90874fcda
parent72d2afdd1ccaa6d53f34a6f3dd23eec3ae98e570 (diff)
downloadATCD-4cfde2c0ced4317d3daf76bc626229b899c301bd.tar.gz
Changed format of double literal output to use scientific notation
if necesssary. Thanks to Dwayne Burns <dburns@isrglobal.com> for sending in the IDL file that called for this.
-rw-r--r--TAO/TAO_IDL/be/be_sunsoft.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_sunsoft.cpp b/TAO/TAO_IDL/be/be_sunsoft.cpp
index d083179e647..2f41b2e0a11 100644
--- a/TAO/TAO_IDL/be/be_sunsoft.cpp
+++ b/TAO/TAO_IDL/be/be_sunsoft.cpp
@@ -87,7 +87,7 @@ TAO_SunSoft_OutStream::print (AST_Expression *expr)
this->TAO_OutStream::print ("%f%c", ev->u.fval, 'F');
break;
case AST_Expression::EV_double:
- this->TAO_OutStream::print ("%f", ev->u.dval);
+ this->TAO_OutStream::print ("%16.16G", ev->u.dval);
break;
case AST_Expression::EV_longdouble:
break;