e_d_fmt.f90
来自「linux下编程用 编译软件」· F90 代码 · 共 14 行
F90
14 行
! { dg-do run }! Verify that the D format uses 'D' as the exponent character.! " " " E " " 'E' " " " " CHARACTER*10 c1, c2REAL(kind=8) rr = 1.0write(c1,"(e9.2)") rwrite(c2,"(d9.2)") rif (trim(adjustl(c1)) .ne. "0.10E+01") call abort()if (trim(adjustl(c2)) .ne. "0.10D+01") call abort()END
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?