aboutsummaryrefslogtreecommitdiff
path: root/manual.tex
diff options
context:
space:
mode:
Diffstat (limited to 'manual.tex')
-rw-r--r--manual.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/manual.tex b/manual.tex
index 19f4e34a..fb6a2c00 100644
--- a/manual.tex
+++ b/manual.tex
@@ -1,4 +1,4 @@
1% $Id: manual.tex,v 2.10 1997/07/02 17:09:48 roberto Exp roberto $ 1% $Id: manual.tex,v 2.11 1997/07/04 22:35:38 roberto Exp roberto $
2 2
3\documentstyle[fullpage,11pt,bnf]{article} 3\documentstyle[fullpage,11pt,bnf]{article}
4 4
@@ -38,7 +38,7 @@ Waldemar Celes
38\tecgraf\ --- Computer Science Department --- PUC-Rio 38\tecgraf\ --- Computer Science Department --- PUC-Rio
39} 39}
40 40
41\date{\small \verb$Date: 1997/07/02 17:09:48 $} 41\date{\small \verb$Date: 1997/07/04 22:35:38 $}
42 42
43\maketitle 43\maketitle
44 44
@@ -2085,8 +2085,10 @@ Both can be used with an unlimited number of arguments.
2085The functions \verb|random| and \verb|randomseed| are interfaces to 2085The functions \verb|random| and \verb|randomseed| are interfaces to
2086the simple random generator functions \verb|rand| and \verb|srand|, 2086the simple random generator functions \verb|rand| and \verb|srand|,
2087provided by ANSI C. 2087provided by ANSI C.
2088The function \verb|random| returns pseudo-random numbers in the 2088The function \verb|random|, when called without arguments,
2089range \Math{[0,1)}. 2089returns a pseudo-random real number in the range \Math{[0,1)}.
2090When called with a number \Math{n},
2091returns a pseudo-random integer in the range \Math{[1,n]}.
2090 2092
2091 2093
2092\subsection{I/O Facilities} \label{libio} 2094\subsection{I/O Facilities} \label{libio}