Topic: Control of exponent width in iostreams
Author: bkline@cortex.nlm.nih.gov (Bob Kline Phoenix Contract)
Date: 1995/06/23 Raw View
Can anyone think of any obstacles or drawbacks to adding to the iostreams
package the ability to control the number of digits written for the
exponent of a floating-point value using scientific notation? This
would round out the formatting control and bring C++ output formatting
control in line with that offered by some of the other commonly used
programming languages. It seems as if it should be easy to implement,
would probably have no impact on existing code, and should be easy to
document and explain.
--
/*----------------------------------------------------------------------*/
/* Bob Kline Stream International */
/* bob_kline@stream.com formerly Corporate Software, Inc. */
/* voice: (703) 522-0820 x-311 fax: (703) 522-5407 */
/*----------------------------------------------------------------------*/