pr35662.f90
来自「用于进行gcc测试」· F90 代码 · 共 21 行
F90
21 行
! PR target/35662! { dg-do run }! { dg-options "-O1" }subroutine f(x, y, z) real, intent (in) :: x real, intent (out) :: y, z y = sin (x) z = cos (x)end subroutine fprogram pr35662 real :: x, y, z x = 3.1415926535897932384626433832795029 call f (x, y, z) if (abs (y) > 1.0e-5 .or. abs (z + 1.0) > 1.0e-5) call abort x = x / 2.0 call f (x, y, z) if (abs (y - 1.0) > 1.0e-5 .or. abs (z) > 1.0e-5) call abortend program pr35662
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?