| Alternative 1 |
|---|
| Accuracy | 94.8% |
|---|
| Cost | 16548 |
|---|
\[\begin{array}{l}
t_0 := \cos \left(\left(2 \cdot \pi\right) \cdot u2\right)\\
\mathbf{if}\;t_0 \leq 0.999997615814209:\\
\;\;\;\;t_0 \cdot \sqrt{u1 + \left(u1 \cdot u1\right) \cdot 0.5}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{-\mathsf{log1p}\left(-u1\right)}\\
\end{array}
\]
| Alternative 2 |
|---|
| Accuracy | 90.7% |
|---|
| Cost | 16356 |
|---|
\[\begin{array}{l}
\mathbf{if}\;\cos \left(\left(2 \cdot \pi\right) \cdot u2\right) \leq 0.999966025352478:\\
\;\;\;\;\cos \left(2 \cdot \left(\pi \cdot u2\right)\right) \cdot \sqrt{u1}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{-\mathsf{log1p}\left(-u1\right)}\\
\end{array}
\]
| Alternative 3 |
|---|
| Accuracy | 98.9% |
|---|
| Cost | 16352 |
|---|
\[\cos \left(\left(2 \cdot \pi\right) \cdot u2\right) \cdot \sqrt{\mathsf{log1p}\left(u1\right) - \mathsf{log1p}\left(u1 \cdot \left(-u1\right)\right)}
\]
| Alternative 4 |
|---|
| Accuracy | 96.1% |
|---|
| Cost | 13476 |
|---|
\[\begin{array}{l}
t_0 := \left(2 \cdot \pi\right) \cdot u2\\
\mathbf{if}\;t_0 \leq 0.002199999988079071:\\
\;\;\;\;\sqrt{-\mathsf{log1p}\left(-u1\right)}\\
\mathbf{else}:\\
\;\;\;\;\cos t_0 \cdot \sqrt{u1 - \left(u1 \cdot u1\right) \cdot \left(-0.5 + u1 \cdot -0.3333333333333333\right)}\\
\end{array}
\]
| Alternative 5 |
|---|
| Accuracy | 99.0% |
|---|
| Cost | 13056 |
|---|
\[\sqrt{-\mathsf{log1p}\left(-u1\right)} \cdot \cos \left(2 \cdot \left(\pi \cdot u2\right)\right)
\]
| Alternative 6 |
|---|
| Accuracy | 79.9% |
|---|
| Cost | 6496 |
|---|
\[\sqrt{-\mathsf{log1p}\left(-u1\right)}
\]
| Alternative 7 |
|---|
| Accuracy | 76.5% |
|---|
| Cost | 3680 |
|---|
\[\sqrt{u1 - \left(u1 \cdot u1\right) \cdot \left(-0.5 - u1 \cdot \left(u1 \cdot 0.25 + 0.3333333333333333\right)\right)}
\]
| Alternative 8 |
|---|
| Accuracy | 75.3% |
|---|
| Cost | 3552 |
|---|
\[\sqrt{u1 - u1 \cdot \left(u1 \cdot \left(-0.5 + u1 \cdot -0.3333333333333333\right)\right)}
\]
| Alternative 9 |
|---|
| Accuracy | 72.8% |
|---|
| Cost | 3424 |
|---|
\[\sqrt{u1 + \left(u1 \cdot u1\right) \cdot 0.5}
\]