Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Fortran bug?
@ 1989-11-28 16:10 Thomas Epperly
  1989-12-01  7:39 ` Keith Bierman - SPD Advanced Languages
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Thomas Epperly @ 1989-11-28 16:10 UTC (permalink / raw)


The following short fortran program gives a
Fatal error in: /usr/lib/fcom1.31 Segmentation fault
Nice error message!  I really don't know fortran, so I am not sure if this
is a bug in the compiler or not.  Line seven is the line which causes the
compiler to die(the one with the MOD).

	PROGRAM test
	IMPLICIT none
	INTEGER level, igr
	igr = 1
	level = 2
	igr = MOD(level,INT(10.0))
	END

Lastly, I am posting this for one of the users on our system; and I don't know
why he wrote the MOD that way.

Tom Epperly


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1989-12-07  4:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1989-11-28 16:10 Fortran bug? Thomas Epperly
1989-12-01  7:39 ` Keith Bierman - SPD Advanced Languages
1989-12-05 17:16   ` Michael Carter 1639503
1989-12-05  2:09 ` Carl Burch
1989-12-07  4:11 ` Lilian Leung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox