Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

E Format Descriptor and Leading Zeroes

Intel_C_Intel
Employee
400 Views
My program prints a large amount of data to various output files using the E format descriptor for real values (e.g., E13.8). The output contains leading zeroes in front of each number (0.12345E+00). I wish to suppress the printing of the leading zeroes. Is there some compiler option or run time option that will do this ? I do not want to change the format statement itself.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
400 Views
No, there is no such compiler option.

Steve
0 Kudos
Reply