You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add descriptor to dispay format complex data
(1) format(CF10.4) <-format("(",F10.4,",",F10.4,")")
(2) format(CES12.5) <-format("(",ES12.5,",",ES12.5,")")
(3) Experimental , add python like format format(ZF10.4) <- format(F10.4,"+",F10.4,"j") format(ZES12.5) <-format(ES12.5,"+",ES12.5,"j")
The text was updated successfully, but these errors were encountered:
Examples (1) and (2) are surprising omissions in Fortran; implementing them would be straightforward and valuable. List-directed and NAMELIST output of COMPLEX already exist in the language in this parenthesized form, with an adjustable comma character too.
Example (3) is more dubious. The FORMAT edit descriptor "Z" is already taken for another purpose, and emitting a form of complex output that differs from those used in Fortran source code is less compelling.
add descriptor to dispay format complex data
(1)
format(CF10.4)
<-format("(",F10.4,",",F10.4,")")
(2)
format(CES12.5)
<-format("(",ES12.5,",",ES12.5,")")
(3) Experimental , add python like format
format(ZF10.4)
<-format(F10.4,"+",F10.4,"j")
format(ZES12.5)
<-format(ES12.5,"+",ES12.5,"j")
The text was updated successfully, but these errors were encountered: