H
hamsya
Hello world 
I have some ASCII files with a number of float values inside. These
files are created by a Fortran code which I can not modify.
On the other hand, I am working on a C application which is supposed
to output the same data.
My dream is to run any diff program on these files to validate my C
application against the Fortran one, but for now it seems impossible.
Values issued from Fortran are stored as "0.1000000E+01".
The C printf("%14.7E", value) gives "1.0000000E+00".
Is there a way to control printf in order to have the same
representation in both cases?
Crea.
I have some ASCII files with a number of float values inside. These
files are created by a Fortran code which I can not modify.
On the other hand, I am working on a C application which is supposed
to output the same data.
My dream is to run any diff program on these files to validate my C
application against the Fortran one, but for now it seems impossible.
Values issued from Fortran are stored as "0.1000000E+01".
The C printf("%14.7E", value) gives "1.0000000E+00".
Is there a way to control printf in order to have the same
representation in both cases?
Crea.