Need to remove leading zeros for floating point output
Jerry DeLisle
jvdelisle@verizon.net
Fri Oct 19 22:35:00 GMT 2007
Steve Kargl wrote:
> On Fri, Oct 19, 2007 at 10:13:24PM +0100, FX Coudert wrote:
>>> We could add an option to set that byte to ' ' to suppress it.
>>> That would not be available until gfortran version 4.4. It is
>>> straightforward to do though.
>> Totally straightforward, but how much do we need it? How many
>> compilers have it? I think neither Sun's nor Intel's do, and I
>> haven't found it for Portland either.
>>
>
> I'm in agreement with FX. Do we really need this option?
> The code I wrote (if I interpreted the original email
> correctly) took a minute or so to write. It would seem
> to be more portable to write a small function that uses
> an internal write.
>
I concur.
Jerry
More information about the Fortran
mailing list