File: pure-function.f

package info (click to toggle)
ftnchek 3.3.1-7
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,684 kB
  • sloc: ansic: 21,908; fortran: 5,748; yacc: 4,071; sh: 3,035; makefile: 895; lisp: 322; f90: 118; 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