| Alternative 1 |
|---|
| Error | 1.3 |
|---|
| Cost | 16676 |
|---|
\[\begin{array}{l}
t_0 := \cos \left(u2 \cdot \left(2 \cdot \pi\right)\right)\\
\mathbf{if}\;t_0 \leq 0.9999998211860657:\\
\;\;\;\;t_0 \cdot \sqrt{u1 + \left(u1 \cdot u1\right) \cdot \left(0.5 + u1 \cdot 0.3333333333333333\right)}\\
\mathbf{else}:\\
\;\;\;\;\sqrt{-\mathsf{log1p}\left(-u1\right)}\\
\end{array}
\]
| Alternative 2 |
|---|
| Error | 1.8 |
|---|
| Cost | 13348 |
|---|
\[\begin{array}{l}
t_0 := u2 \cdot \left(2 \cdot \pi\right)\\
\mathbf{if}\;t_0 \leq 0.004000000189989805:\\
\;\;\;\;\sqrt{-\mathsf{log1p}\left(-u1\right)}\\
\mathbf{else}:\\
\;\;\;\;\cos t_0 \cdot \sqrt{u1 - u1 \cdot \left(u1 \cdot -0.5\right)}\\
\end{array}
\]
| Alternative 3 |
|---|
| Error | 3.0 |
|---|
| Cost | 13156 |
|---|
\[\begin{array}{l}
\mathbf{if}\;u2 \cdot \left(2 \cdot \pi\right) \leq 0.007499999832361937:\\
\;\;\;\;\sqrt{-\mathsf{log1p}\left(-u1\right)}\\
\mathbf{else}:\\
\;\;\;\;\cos \left(2 \cdot \left(u2 \cdot \pi\right)\right) \cdot \sqrt{u1}\\
\end{array}
\]
| Alternative 4 |
|---|
| Error | 0.3 |
|---|
| Cost | 13056 |
|---|
\[\cos \left(2 \cdot \left(u2 \cdot \pi\right)\right) \cdot \sqrt{-\mathsf{log1p}\left(-u1\right)}
\]
| Alternative 5 |
|---|
| Error | 6.3 |
|---|
| Cost | 6496 |
|---|
\[\sqrt{-\mathsf{log1p}\left(-u1\right)}
\]
| Alternative 6 |
|---|
| Error | 7.4 |
|---|
| Cost | 3680 |
|---|
\[\sqrt{u1 - \left(u1 \cdot u1\right) \cdot \left(-0.5 + u1 \cdot \left(-0.3333333333333333 - u1 \cdot 0.25\right)\right)}
\]
| Alternative 7 |
|---|
| Error | 7.8 |
|---|
| Cost | 3552 |
|---|
\[\sqrt{u1 + u1 \cdot \left(u1 \cdot \left(0.5 + u1 \cdot 0.3333333333333333\right)\right)}
\]
| Alternative 8 |
|---|
| Error | 8.7 |
|---|
| Cost | 3424 |
|---|
\[\sqrt{u1 - \left(u1 \cdot u1\right) \cdot -0.5}
\]