File: pure-function.f

package info (click to toggle)
ftnchek 3.1.2-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 6,436 kB
  • ctags: 5,393
  • sloc: ansic: 24,609; fortran: 5,565; yacc: 3,682; sh: 2,518; makefile: 772; lisp: 264; f90: 94; perl: 76
file content (9 lines) | stat: -rw-r--r-- 162 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
      real function notpure(a,b,c)
      real a,b,c
      common /shared/ x,y,z
      b = a + c
      z = x + y
      notpure = a*x + b*y + c*z
      end