Software Archive
Read-only legacy content
공지
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 토론

E Format Descriptor and Leading Zeroes

Intel_C_Intel
직원
403 조회수
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 포인트
1 응답
Steven_L_Intel1
403 조회수
No, there is no such compiler option.

Steve
0 포인트
응답