| Alternative 1 |
|---|
| Error | 4.51% |
|---|
| Cost | 13476 |
|---|
\[\begin{array}{l}
t_0 := u2 \cdot \left(2 \cdot \pi\right)\\
\mathbf{if}\;t_0 \leq 0.0005499999970197678:\\
\;\;\;\;\sqrt{-\mathsf{log1p}\left(-u1\right)} \cdot \left(2 \cdot \left(\pi \cdot u2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\sqrt{u1 - \left(u1 \cdot u1\right) \cdot \left(-0.5 + u1 \cdot -0.3333333333333333\right)} \cdot \sin t_0\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 5.73% |
|---|
| Cost | 13348 |
|---|
\[\begin{array}{l}
t_0 := u2 \cdot \left(2 \cdot \pi\right)\\
\mathbf{if}\;t_0 \leq 0.0013150000013411045:\\
\;\;\;\;\sqrt{-\mathsf{log1p}\left(-u1\right)} \cdot \left(2 \cdot \left(\pi \cdot u2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\sin t_0 \cdot \sqrt{u1 - u1 \cdot \left(u1 \cdot -0.5\right)}\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 9.35% |
|---|
| Cost | 13220 |
|---|
\[\begin{array}{l}
t_0 := u2 \cdot \left(2 \cdot \pi\right)\\
\mathbf{if}\;t_0 \leq 0.005799999926239252:\\
\;\;\;\;\sqrt{-\mathsf{log1p}\left(-u1\right)} \cdot \left(2 \cdot \left(\pi \cdot u2\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\sin t_0 \cdot \sqrt{u1}\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 1.64% |
|---|
| Cost | 13056 |
|---|
\[\sqrt{-\mathsf{log1p}\left(-u1\right)} \cdot \sin \left(2 \cdot \left(\pi \cdot u2\right)\right)
\]
| Alternative 5 |
|---|
| Error | 18.22% |
|---|
| Cost | 9856 |
|---|
\[\sqrt{-\mathsf{log1p}\left(-u1\right)} \cdot \left(2 \cdot \left(\pi \cdot u2\right)\right)
\]
| Alternative 6 |
|---|
| Error | 25.38% |
|---|
| Cost | 6784 |
|---|
\[\left(2 \cdot \left(\pi \cdot u2\right)\right) \cdot \sqrt{u1 - u1 \cdot \left(u1 \cdot -0.5\right)}
\]
| Alternative 7 |
|---|
| Error | 33.49% |
|---|
| Cost | 6592 |
|---|
\[2 \cdot \left(u2 \cdot \left(\pi \cdot \sqrt{u1}\right)\right)
\]