diff options
Diffstat (limited to 'manual.tex')
-rw-r--r-- | manual.tex | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,4 +1,4 @@ | |||
1 | % $Id: manual.tex,v 1.6 1996/02/05 21:32:19 roberto Exp roberto $ | 1 | % $Id: manual.tex,v 1.7 1996/02/09 16:37:58 roberto Exp roberto $ |
2 | 2 | ||
3 | \documentstyle[A4,11pt,bnf]{article} | 3 | \documentstyle[A4,11pt,bnf]{article} |
4 | 4 | ||
@@ -32,7 +32,7 @@ Waldemar Celes Filho | |||
32 | Departamento de Inform\'atica --- PUC-Rio | 32 | Departamento de Inform\'atica --- PUC-Rio |
33 | } | 33 | } |
34 | 34 | ||
35 | \date{\small \verb$Date: 1996/02/05 21:32:19 $} | 35 | \date{\small \verb$Date: 1996/02/09 16:37:58 $} |
36 | 36 | ||
37 | \maketitle | 37 | \maketitle |
38 | 38 | ||
@@ -1293,9 +1293,10 @@ The library provides the following functions: | |||
1293 | \Deffunc{atan2}\Deffunc{ceil}\Deffunc{cos}\Deffunc{floor} | 1293 | \Deffunc{atan2}\Deffunc{ceil}\Deffunc{cos}\Deffunc{floor} |
1294 | \Deffunc{log}\Deffunc{log10}\Deffunc{max}\Deffunc{min} | 1294 | \Deffunc{log}\Deffunc{log10}\Deffunc{max}\Deffunc{min} |
1295 | \Deffunc{mod}\Deffunc{sin}\Deffunc{sqrt}\Deffunc{tan} | 1295 | \Deffunc{mod}\Deffunc{sin}\Deffunc{sqrt}\Deffunc{tan} |
1296 | \Deffunc{random}\Deffunc{randomseed} | ||
1296 | \begin{verbatim} | 1297 | \begin{verbatim} |
1297 | abs acos asin atan atan2 ceil cos floor | 1298 | abs acos asin atan atan2 ceil cos floor log log10 |
1298 | log log10 max min mod sin sqrt tan | 1299 | max min mod sin sqrt tan random randomseed |
1299 | \end{verbatim} | 1300 | \end{verbatim} |
1300 | Most of them | 1301 | Most of them |
1301 | are only interfaces to the homonymous functions in the C library, | 1302 | are only interfaces to the homonymous functions in the C library, |
@@ -1309,6 +1310,12 @@ Both can be used with an unlimited number of arguments. | |||
1309 | 1310 | ||
1310 | The function \verb'mod' is equivalent to the \verb'%' operator in C. | 1311 | The function \verb'mod' is equivalent to the \verb'%' operator in C. |
1311 | 1312 | ||
1313 | The functions \verb'random' and \verb'randomseed' are interfaces to | ||
1314 | the simple random generator functions \verb'rand' and \verb'srand', | ||
1315 | provided by ANSI C. | ||
1316 | The function \verb'random' returns pseudo-random numbers in the range | ||
1317 | $[0,1)$. | ||
1318 | |||
1312 | 1319 | ||
1313 | \subsection{I/O Facilities} \label{libio} | 1320 | \subsection{I/O Facilities} \label{libio} |
1314 | 1321 | ||