file name: ftoa.cpp
classification: simulation, evaluation
contents: function ftoa()
use: implementation of ftoa()
The file is needed both for SimUTC (debug output in some of the algorithm files) and for the dummy evaluation in evalsys.cpp. The big-endian simulation in the subdirectory BigEndian also uses it to print the contents of messages.
char *ftoa
(double f, int width, char *string): Converts the value f
into the string string with at least width characters
in %e format. A pointer to the string is returned.
The precision (number of digits behind the comma) is set to 8, and
if f has to be truncated for that, then it is always rounded down.