... months ago. I never got anysuggestions to beat what I...currently do: see attached. My code is desperately inefficient, mostly Fortran...padding implicit none integer ncol real*4 rr character*40 ccc...a character string containing a formattedreal number. ! e.g. '10...1e-30 goto 10 100 format(g14.7,2x,a11,2x...
... wrote: Ok then here's an off the wall idea. Given that your output is intended to be human-readable, it doesn't actually have to be computer-readable. You could design a format that is understandable to humans, is very compact, and would require minimal head scratching. <snip> Negative numbers would still require a digit to be sacrificed. Or you could use colour to ...
... output is intended to be human-readable, it doesn't actually have to be computer-readable. You could design a format that is understandable to humans, is very compact, and would require minimal head scratching. For example, display all values ... Email: my qname at domain Domain: qomputing dot demon dot co dot uk P.S. See also my earlier post that went missing... real working code.
... one might be a differential air pressure drop across some "narrow" hole (in the range of 10 Pa), the ... display, it would be expected that the values in any given column are of nearly the same magnitude for ... case, it would seem reasonable to find a specific format that covers the range of values for each transducer output and stick with that format for that column. I've worked on quite a ...
... width, how about 4/5 digits of otional sign and significance with a point in there somewhere, totalling 6 characters and the exponent under the mantissa in the line below? My own variabile width real-to-text routine expects no output exponent (human numbers), but writes the number to a work string as 20 characters and then takes the left-most (width) significant digits for the column ...
... values from different sensors. Each row has one signal, one might be a voltage, one a current (as low as mA or uA), one might be a differential air pressure drop across some "narrow" hole (in the range of 10 Pa), the next might be a peek pressure inside a combustion camber - quite some magnitudes larger). Horizontally, different samples (taken at different times) are displayed. I want to...
... I'd like to output a REAL*4 value into a column of ...the Bettis Labs-written nuclear design codes of ages gone by, there was...properly specified I,E, or F formatted values, but I gather only output...is about the most concise generic format possible once one selects a field width. Switching around between formats from entry to entry makes ... most if not all the codes have been ported to desktops, ...
... width field, yet it has never appeared in any fortran standard nor in any vendor extension that I know of. I think you have to do ... need to consider. *) switch between f and e formats as appropriate. *) for e formats, reduce the exponent field to one digit when possible. *) Replace the "E... is a valid floating point constant in formatted i/o, so you might as well ...
On Feb 14, 10:46�am, "n...@eta.chalmers.se" <n...@eta.chalmers.se> wrote: Dear reader, I'd be most grateful if somebody could send me suggestions for method/ code/... to help solving my problem. In writing F.77 (eg. VAX-Fortran), I'd like to output a REAL*4 value into a column of 6 characters width. I also
On Feb 15, 9:21�am, "n...@eta.chalmers.se" <n...@eta.chalmers.se> wrote: Thanks all that helped so far! As no "ready-made solution" to this problem that must have been there for all days of computing, evoked, I'll have to write it now. It will take some time, but I'll (eventually?) post my results for mutual use. As replacing the E / E- with +/- is a nice idea, I'll surely ...