Re: Formatted IO of huge/tiny values



In message <1hcardp.1w7jbpsaeuq6sN%nospam@xxxxxxxxxxxxx>, Richard E Maine <nospam@xxxxxxxxxxxxx> writes
I tend to think exactly the opposite - that list-directed is for
quick&dirty work. People shouldn't use it if they care about fine
details. And I tend to personally prefer that list-directed err in the
direction of legibility by not having overly high precision.

For what it's worth, I agree with Richard that list-directed should not be encouraged for serious use. But I can see that there may be situations where you really want to read a number previously written number without altering its value and where unformatted I/O won't work.

I'd like to suggest that maybe in a future standard that the Gw.d format should be defined to do this, given suitable values of w and d? G is rarely used (in my experience, anyway) and essentially means that you specify the field width and number of decimal places but leave the details to the Fortran run-time system.

--
Clive Page
.



Relevant Pages

  • Re: Installing osx 10.4 on imac g4
    ... nospam@xxxxxxxxxxxxx (Richard E Maine) wrote: ... Did you really intend to announce this to the world? ... (or much care). ...
    (comp.sys.mac.system)
  • Re: Code Review - is this code shit
    ... Some programmers care, and others don't. ... like you made yet another unjustified accusation. ... There are excellet introductory texts to the language availabe. ... Richard Heathfield ...
    (comp.lang.c)
  • Re: In Atlanta.. in America..
    ... >> take care of me, should I fall ill and require hospitalization. ... > cath. ... > Welcome Richard. ... Dr. Andrew B. Chung, MD/PhD ...
    (sci.med.cardiology)
  • Re: problems converting Fortran 77 code to Fortran 90
    ... Using f90 intrinsics isn't a magic bullet that ... > will automatically help computation time. ... I saw that a "Richard Maine" at Dryden was once an astronaut ...
    (comp.lang.fortran)
  • Re: DAMN IT BARRY YOU ARE BULLSHITTING AGAIN
    ... I care about WHO STARTED ALL THIS SHIT!!! ... 2003 Dave Ruff accussed me of Defending Richard ... Stop pointing fingers, stop crying, stop posting useless crap, stop pointing ...
    (misc.transport.trucking)