⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 list_read_7.f90

📁 用于进行gcc测试
💻 F90
字号:
! { dg-do run }! PR33400 Formatted read fails if line ends without line break! Test case modified from that in PR by <jvdelisle@gcc.gnu.org>integer, parameter :: fgsl_strmax = 128character(len=fgsl_strmax) :: ieee_str1, ieee_str2open(unit=20, file='test.dat',form='FORMATTED', status="replace")write(20,'(a)',advance="no") ' 1.01010101010101010101010101010101&       &01010101010101010101*2^-2 1.01010101010101010101011*2^-2'rewind(20)read(20, fmt=*) ieee_str1, ieee_str2if (trim(ieee_str1) /= &    '1.0101010101010101010101010101010101010101010101010101*2^-2') &  call abortif (trim(ieee_str2) /= &     '1.01010101010101010101011*2^-2') &  call abortclose(20, status="delete")end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -