source:
CIVL/mods/dev.civl.abc/examples/fortran/argonne/LOOPS/a.f90
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 178 bytes | |
| Line | |
|---|---|
| 1 | subroutine f(n, a, b) |
| 2 | integer :: n, i |
| 3 | double precision :: a, b |
| 4 | do i=0,n-1 |
| 5 | a = a+a*b + a*b*b |
| 6 | if(mod(i,2) .eq. 0) cycle |
| 7 | a = a+b*a*a + b*a; |
| 8 | end do |
| 9 | end subroutine |
Note:
See TracBrowser
for help on using the repository browser.
