ambiguous ?

P E Smee exspes at gdr.bath.ac.uk
Mon Oct 23 19:44:26 AEST 1989


In article <6591 at ficc.uu.net> peter at 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 at uk.ac.bristol
 Computer Centre         |   BITNET: Smee%uk.ac.bristol at ukacrl.bitnet
 University of Bristol   | Internet: Smee%uk.ac.bristol at nsfnet-relay.ac.uk
 (Phone: +44 272 303132) |     UUCP: ...!mcvax!ukc!gdr.bath.ac.uk!exspes



More information about the Comp.lang.c mailing list