Skip to content

Commit 9487007

Browse files
committed
pseudo
1 parent 8a9a7ad commit 9487007

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paper.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ \subsection{Bool}
168168
QQ.txt.sprintf
169169
"Coin toss: %s"
170170
if.
171-
random.gte 0.5
171+
QQ.math.random.pseudo.gte 0.5
172172
"heads"
173173
"tail"
174174
\end{ffcode}
@@ -177,7 +177,7 @@ \subsection{Bool}
177177

178178
\begin{ffcode}
179179
while.
180-
random.gte 0.1
180+
QQ.math.random.pseudo.gte 0.1
181181
[i]
182182
QQ.io.stdout > @
183183
QQ.txt.sprintf
@@ -387,7 +387,7 @@ \section{Math}\label{sec:math}
387387
Here we define objects that represent math functions and algorithms.
388388
All objects in this Section belong to \ff{QQ.math} package.
389389

390-
The object \adeff{random} is a abstraction of a random \ff{float} between zero and one inclusively.
390+
The object \deff{random} is a abstraction of a random \ff{float} between zero and one inclusively. It has an additional attribute \adeff{pseudo} that makes \ff{random} with a pseudorandom seed.
391391

392392
The object \deff{angle} is a decorator of \ff{float}. It assumes that the angle is in radians and has the following attributes for trigonometric functions:
393393
\deff{sine}, \deff{cosine}, and \deff{tangent}. There are attributes \deff{as-degrees} and \deff{as-radians} for switching from radians to degrees and backwards.

0 commit comments

Comments
 (0)