Math FPCore C Julia Wolfram TeX \[\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}
\]
↓
\[\begin{array}{l}
\mathbf{if}\;t \leq 1.18 \cdot 10^{-197}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(\sqrt{t + a}, \frac{z}{t}, \left(c - b\right) \cdot \left(a - \left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right)\right)\right)\right)}, x\right)}\\
\end{array}
\]
(FPCore (x y z t a b c)
:precision binary64
(/
x
(+
x
(*
y
(exp
(*
2.0
(-
(/ (* z (sqrt (+ t a))) t)
(* (- b c) (- (+ a (/ 5.0 6.0)) (/ 2.0 (* t 3.0))))))))))) ↓
(FPCore (x y z t a b c)
:precision binary64
(if (<= t 1.18e-197)
(/
x
(+
x
(*
y
(exp (* 2.0 (/ (+ (* z (sqrt a)) (* -0.6666666666666666 (- c b))) t))))))
(/
x
(fma
y
(pow
(exp 2.0)
(fma
(sqrt (+ t a))
(/ z t)
(* (- c b) (- a (+ (/ 0.6666666666666666 t) -0.8333333333333334)))))
x)))) double code(double x, double y, double z, double t, double a, double b, double c) {
return x / (x + (y * exp((2.0 * (((z * sqrt((t + a))) / t) - ((b - c) * ((a + (5.0 / 6.0)) - (2.0 / (t * 3.0)))))))));
}
↓
double code(double x, double y, double z, double t, double a, double b, double c) {
double tmp;
if (t <= 1.18e-197) {
tmp = x / (x + (y * exp((2.0 * (((z * sqrt(a)) + (-0.6666666666666666 * (c - b))) / t)))));
} else {
tmp = x / fma(y, pow(exp(2.0), fma(sqrt((t + a)), (z / t), ((c - b) * (a - ((0.6666666666666666 / t) + -0.8333333333333334))))), x);
}
return tmp;
}
function code(x, y, z, t, a, b, c)
return Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(Float64(t + a))) / t) - Float64(Float64(b - c) * Float64(Float64(a + Float64(5.0 / 6.0)) - Float64(2.0 / Float64(t * 3.0))))))))))
end
↓
function code(x, y, z, t, a, b, c)
tmp = 0.0
if (t <= 1.18e-197)
tmp = Float64(x / Float64(x + Float64(y * exp(Float64(2.0 * Float64(Float64(Float64(z * sqrt(a)) + Float64(-0.6666666666666666 * Float64(c - b))) / t))))));
else
tmp = Float64(x / fma(y, (exp(2.0) ^ fma(sqrt(Float64(t + a)), Float64(z / t), Float64(Float64(c - b) * Float64(a - Float64(Float64(0.6666666666666666 / t) + -0.8333333333333334))))), x));
end
return tmp
end
code[x_, y_, z_, t_, a_, b_, c_] := N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision] - N[(N[(b - c), $MachinePrecision] * N[(N[(a + N[(5.0 / 6.0), $MachinePrecision]), $MachinePrecision] - N[(2.0 / N[(t * 3.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
↓
code[x_, y_, z_, t_, a_, b_, c_] := If[LessEqual[t, 1.18e-197], N[(x / N[(x + N[(y * N[Exp[N[(2.0 * N[(N[(N[(z * N[Sqrt[a], $MachinePrecision]), $MachinePrecision] + N[(-0.6666666666666666 * N[(c - b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(y * N[Power[N[Exp[2.0], $MachinePrecision], N[(N[Sqrt[N[(t + a), $MachinePrecision]], $MachinePrecision] * N[(z / t), $MachinePrecision] + N[(N[(c - b), $MachinePrecision] * N[(a - N[(N[(0.6666666666666666 / t), $MachinePrecision] + -0.8333333333333334), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]], $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision]]
\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z \cdot \sqrt{t + a}}{t} - \left(b - c\right) \cdot \left(\left(a + \frac{5}{6}\right) - \frac{2}{t \cdot 3}\right)\right)}}
↓
\begin{array}{l}
\mathbf{if}\;t \leq 1.18 \cdot 10^{-197}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(\sqrt{t + a}, \frac{z}{t}, \left(c - b\right) \cdot \left(a - \left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right)\right)\right)\right)}, x\right)}\\
\end{array}
Alternatives Alternative 1 Accuracy 95.8% Cost 33540
\[\begin{array}{l}
\mathbf{if}\;t \leq 1.18 \cdot 10^{-197}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(\sqrt{t + a}, \frac{z}{t}, \left(c - b\right) \cdot \left(a - \left(\frac{0.6666666666666666}{t} + -0.8333333333333334\right)\right)\right)\right)}, x\right)}\\
\end{array}
\]
Alternative 2 Accuracy 97.3% Cost 33408
\[\frac{x}{\mathsf{fma}\left(y, {\left(e^{2}\right)}^{\left(\mathsf{fma}\left(b - c, \frac{0.6666666666666666}{t} + \left(-0.8333333333333334 - a\right), \sqrt{t + a} \cdot \frac{z}{t}\right)\right)}, x\right)}
\]
Alternative 3 Accuracy 97.6% Cost 22468
\[\begin{array}{l}
t_1 := \frac{\sqrt{t + a} \cdot z}{t} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 0.8333333333333334\right)\right)\\
\mathbf{if}\;t_1 \leq \infty:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot t_1}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\end{array}
\]
Alternative 4 Accuracy 95.7% Cost 21124
\[\begin{array}{l}
\mathbf{if}\;t \leq 1.1 \cdot 10^{-197}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot {\left(e^{2}\right)}^{\left(\frac{z}{\frac{t}{\sqrt{t + a}}} + \left(b - c\right) \cdot \left(\frac{2}{t \cdot 3} - \left(a + 0.8333333333333334\right)\right)\right)}}\\
\end{array}
\]
Alternative 5 Accuracy 89.1% Cost 14536
\[\begin{array}{l}
\mathbf{if}\;t \leq 1.18 \cdot 10^{-197}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\mathbf{elif}\;t \leq 1.35 \cdot 10^{+108}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(z \cdot \sqrt{\frac{1}{t}} + \left(b - c\right) \cdot \left(\frac{0.6666666666666666}{t} - 0.8333333333333334\right)\right)}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(c - b\right) \cdot \left(a - -0.8333333333333334\right)\right)}}\\
\end{array}
\]
Alternative 6 Accuracy 85.3% Cost 14148
\[\begin{array}{l}
\mathbf{if}\;t \leq 4.5 \cdot 10^{-260}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \frac{z \cdot \sqrt{a} + -0.6666666666666666 \cdot \left(c - b\right)}{t}}}\\
\mathbf{elif}\;t \leq 0.000235:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(c - b\right) \cdot \left(a - -0.8333333333333334\right)\right)}}\\
\end{array}
\]
Alternative 7 Accuracy 81.2% Cost 13896
\[\begin{array}{l}
\mathbf{if}\;t \leq -1.22 \cdot 10^{-105}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c - b\right)\right)}}\\
\mathbf{elif}\;t \leq 10^{-299}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\frac{z}{t} \cdot \sqrt{a}\right)}}\\
\mathbf{elif}\;t \leq 0.008:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(c - b\right) \cdot \left(a - -0.8333333333333334\right)\right)}}\\
\end{array}
\]
Alternative 8 Accuracy 81.1% Cost 8136
\[\begin{array}{l}
\mathbf{if}\;t \leq -1.85 \cdot 10^{-116}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(a \cdot \left(c - b\right)\right)}}\\
\mathbf{elif}\;t \leq 5 \cdot 10^{-304}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(b \cdot \frac{\frac{0.4444444444444444}{t \cdot t}}{\frac{0.6666666666666666}{t} + \left(a + 0.8333333333333334\right)}\right)}}\\
\mathbf{elif}\;t \leq 0.034:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(c - b\right) \cdot \left(a - -0.8333333333333334\right)\right)}}\\
\end{array}
\]
Alternative 9 Accuracy 82.1% Cost 8008
\[\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{2 \cdot \left(\left(c - b\right) \cdot \left(a - -0.8333333333333334\right)\right)}}\\
\mathbf{if}\;t \leq -4.4 \cdot 10^{-287}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 8.8 \cdot 10^{-290}:\\
\;\;\;\;\frac{x}{x + \left(y - 2 \cdot \frac{y \cdot \left(\left(b - c\right) \cdot -0.6666666666666666 - z \cdot \sqrt{a}\right)}{t}\right)}\\
\mathbf{elif}\;t \leq 0.75:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
Alternative 10 Accuracy 58.0% Cost 7632
\[\begin{array}{l}
\mathbf{if}\;c \leq -6.2 \cdot 10^{+151}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq -9.5 \cdot 10^{+91}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{-2 \cdot \left(b \cdot a\right)}}\\
\mathbf{elif}\;c \leq -2.25 \cdot 10^{-115}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 9 \cdot 10^{-59}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{a \cdot \left(2 \cdot c\right)}}\\
\end{array}
\]
Alternative 11 Accuracy 71.4% Cost 7632
\[\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{-1.3333333333333333 \cdot \frac{c}{t}}}\\
t_2 := \frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\
\mathbf{if}\;t \leq -1.85 \cdot 10^{-301}:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t \leq 4.4 \cdot 10^{-67}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 9 \cdot 10^{-33}:\\
\;\;\;\;\frac{x}{x - \left(2 \cdot \left(a \cdot \left(y \cdot \left(b - c\right)\right)\right) - y\right)}\\
\mathbf{elif}\;t \leq 1.38 \cdot 10^{-5}:\\
\;\;\;\;t_1\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\]
Alternative 12 Accuracy 67.5% Cost 7500
\[\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\
\mathbf{if}\;t \leq -1.85 \cdot 10^{-301}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 2.8 \cdot 10^{-60}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 6.2 \cdot 10^{+28}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 + 2 \cdot \left(b \cdot \left(\left(a + 0.8333333333333334\right) + 0.6666666666666666 \cdot \frac{-1}{t}\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
Alternative 13 Accuracy 82.0% Cost 7492
\[\begin{array}{l}
\mathbf{if}\;t \leq 5 \cdot 10^{-7}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{2 \cdot \left(\left(c - b\right) \cdot \left(a - -0.8333333333333334\right)\right)}}\\
\end{array}
\]
Alternative 14 Accuracy 56.5% Cost 7372
\[\begin{array}{l}
t_1 := \frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{if}\;t \leq -3.6 \cdot 10^{-301}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;t \leq 3.5 \cdot 10^{-60}:\\
\;\;\;\;1\\
\mathbf{elif}\;t \leq 6.2 \cdot 10^{+28}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 + 2 \cdot \left(b \cdot \left(\left(a + 0.8333333333333334\right) + 0.6666666666666666 \cdot \frac{-1}{t}\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\]
Alternative 15 Accuracy 58.6% Cost 7368
\[\begin{array}{l}
\mathbf{if}\;c \leq -1.2 \cdot 10^{-114}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 5.6 \cdot 10^{-58}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{b \cdot -1.6666666666666667}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{a \cdot \left(2 \cdot c\right)}}\\
\end{array}
\]
Alternative 16 Accuracy 76.2% Cost 7364
\[\begin{array}{l}
\mathbf{if}\;t \leq 1.35 \cdot 10^{-5}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{1.3333333333333333 \cdot \frac{b - c}{t}}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x + y \cdot e^{\left(b - c\right) \cdot -1.6666666666666667}}\\
\end{array}
\]
Alternative 17 Accuracy 49.4% Cost 1608
\[\begin{array}{l}
\mathbf{if}\;c \leq -3.1 \cdot 10^{-206}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 4.7 \cdot 10^{+123}:\\
\;\;\;\;\frac{x}{x - y \cdot \left(-1 + 2 \cdot \left(b \cdot \left(\left(a + 0.8333333333333334\right) + 0.6666666666666666 \cdot \frac{-1}{t}\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
Alternative 18 Accuracy 48.3% Cost 1096
\[\begin{array}{l}
\mathbf{if}\;c \leq -4.7 \cdot 10^{-210}:\\
\;\;\;\;1\\
\mathbf{elif}\;c \leq 10^{+147}:\\
\;\;\;\;\frac{x}{x + y \cdot \left(-2 \cdot \left(b \cdot a\right) + 1\right)}\\
\mathbf{elif}\;c \leq 7.5 \cdot 10^{+277}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;0.5 \cdot \frac{x}{c \cdot \left(y \cdot a\right)}\\
\end{array}
\]
Alternative 19 Accuracy 50.4% Cost 1092
\[\begin{array}{l}
\mathbf{if}\;c \leq -2.65 \cdot 10^{-213}:\\
\;\;\;\;1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{x - \left(2 \cdot \left(a \cdot \left(y \cdot \left(b - c\right)\right)\right) - y\right)}\\
\end{array}
\]
Alternative 20 Accuracy 51.3% Cost 964
\[\begin{array}{l}
\mathbf{if}\;y \leq -3.25 \cdot 10^{+146}:\\
\;\;\;\;\frac{x}{x + 2 \cdot \left(a \cdot \left(y \cdot \left(c - b\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
Alternative 21 Accuracy 50.9% Cost 964
\[\begin{array}{l}
\mathbf{if}\;y \leq -4.6 \cdot 10^{+146}:\\
\;\;\;\;\frac{x}{x + \left(y + -1.3333333333333333 \cdot \frac{c}{\frac{t}{y}}\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
Alternative 22 Accuracy 52.0% Cost 836
\[\begin{array}{l}
\mathbf{if}\;b \leq -1.8 \cdot 10^{+113}:\\
\;\;\;\;0.5 \cdot \frac{x}{y \cdot \left(a \cdot \left(c - b\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
Alternative 23 Accuracy 50.7% Cost 836
\[\begin{array}{l}
\mathbf{if}\;y \leq -4.3 \cdot 10^{+146}:\\
\;\;\;\;\frac{x}{x + -1.3333333333333333 \cdot \frac{c}{\frac{t}{y}}}\\
\mathbf{else}:\\
\;\;\;\;1\\
\end{array}
\]
Alternative 24 Accuracy 51.6% Cost 64
\[1
\]