P. 1
Draft ANSI C Rationale

Draft ANSI C Rationale

|Views: 5,344|Likes:
Published by inExcelsisDeo
Rationale for Draft Proposed National Standard for Information Systems - Programming Language C (ANSI X3J11/88-151) (Nov 18, 1988)
Rationale for Draft Proposed National Standard for Information Systems - Programming Language C (ANSI X3J11/88-151) (Nov 18, 1988)

More info:

Published by: inExcelsisDeo on Jun 11, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF or read online from Scribd
See more
See less

12/17/2012

pdf

4.10.2.1 The rand function

The Committee decided that an implementation should be allowed to provide a rand
function which generates the best random sequence possible in that implementation,
and therefore mandated no standard algorithm. It recognized the value, however,
of being able to generate the same pseudo-random sequence in different implemen-
tations, and so it has published as an example in the Standard an algorithm that
generates the same pseudo-random sequence in any conforming implementation,
given the same seed.

4.10.2.2 The srand function

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->