Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!lll-winken!uunet!mcsun!ukc!dcl-cs!gdt!gdr!exspes From: exspes@gdr.bath.ac.uk (P E Smee) Newsgroups: comp.lang.c Subject: Re: ambiguous ? Message-ID: <1989Oct23.094426.4105@gdt.bath.ac.uk> Date: 23 Oct 89 09:44:26 GMT References: <1989Oct17.203733.23121@utzoo.uucp> <14091@lanl.gov> <6591@ficc.uu.net> Reply-To: exspes@gdr.bath.ac.uk (P E Smee) Organization: University of Bristol c/o University of Bath Lines: 14 In article <6591@ficc.uu.net> peter@ficc.uu.net (Peter da Silva) writes: > > I = RAND(very carefully designed seed) > CALL HOOPY(RAND(0), RAND(0), RAND(0)) > >Will this [FORTRAN] program produce the same output on different machines? >Is this guaranteed? NO. See section 6.6.2 of the Standard. Why isn't this in the FORTRAN group? -- Paul Smee | JANET: Smee@uk.ac.bristol Computer Centre | BITNET: Smee%uk.ac.bristol@ukacrl.bitnet University of Bristol | Internet: Smee%uk.ac.bristol@nsfnet-relay.ac.uk (Phone: +44 272 303132) | UUCP: ...!mcvax!ukc!gdr.bath.ac.uk!exspes