Math FPCore C Julia Wolfram TeX \[x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}
\]
↓
\[\begin{array}{l}
t_1 := \frac{t}{z \cdot z}\\
t_2 := \frac{457.9610022158428}{z \cdot z}\\
\mathbf{if}\;z \leq -3.1 \cdot 10^{+49}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \left(t_2 + \left(\left(t_1 + \frac{a + \left(-5864.8025282699045 + t \cdot -15.234687407\right)}{{z}^{3}}\right) + \frac{-36.52704169880642}{z}\right)\right), x\right)\\
\mathbf{elif}\;z \leq 7.4 \cdot 10^{+39}:\\
\;\;\;\;x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \left(\left(t_2 + t_1\right) + \frac{-36.52704169880642}{z}\right), x\right)\\
\end{array}
\]
(FPCore (x y z t a b)
:precision binary64
(+
x
(/
(*
y
(+ (* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z) b))
(+
(* (+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721) z)
0.607771387771)))) ↓
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (/ t (* z z))) (t_2 (/ 457.9610022158428 (* z z))))
(if (<= z -3.1e+49)
(fma
y
(+
3.13060547623
(+
t_2
(+
(+
t_1
(/ (+ a (+ -5864.8025282699045 (* t -15.234687407))) (pow z 3.0)))
(/ -36.52704169880642 z))))
x)
(if (<= z 7.4e+39)
(+
x
(/
y
(/
(fma
(fma (fma (+ z 15.234687407) z 31.4690115749) z 11.9400905721)
z
0.607771387771)
(fma (fma (fma (fma z 3.13060547623 11.1667541262) z t) z a) z b))))
(fma y (+ 3.13060547623 (+ (+ t_2 t_1) (/ -36.52704169880642 z))) x))))) double code(double x, double y, double z, double t, double a, double b) {
return x + ((y * ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771));
}
↓
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = t / (z * z);
double t_2 = 457.9610022158428 / (z * z);
double tmp;
if (z <= -3.1e+49) {
tmp = fma(y, (3.13060547623 + (t_2 + ((t_1 + ((a + (-5864.8025282699045 + (t * -15.234687407))) / pow(z, 3.0))) + (-36.52704169880642 / z)))), x);
} else if (z <= 7.4e+39) {
tmp = x + (y / (fma(fma(fma((z + 15.234687407), z, 31.4690115749), z, 11.9400905721), z, 0.607771387771) / fma(fma(fma(fma(z, 3.13060547623, 11.1667541262), z, t), z, a), z, b)));
} else {
tmp = fma(y, (3.13060547623 + ((t_2 + t_1) + (-36.52704169880642 / z))), x);
}
return tmp;
}
function code(x, y, z, t, a, b)
return Float64(x + Float64(Float64(y * Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771)))
end
↓
function code(x, y, z, t, a, b)
t_1 = Float64(t / Float64(z * z))
t_2 = Float64(457.9610022158428 / Float64(z * z))
tmp = 0.0
if (z <= -3.1e+49)
tmp = fma(y, Float64(3.13060547623 + Float64(t_2 + Float64(Float64(t_1 + Float64(Float64(a + Float64(-5864.8025282699045 + Float64(t * -15.234687407))) / (z ^ 3.0))) + Float64(-36.52704169880642 / z)))), x);
elseif (z <= 7.4e+39)
tmp = Float64(x + Float64(y / Float64(fma(fma(fma(Float64(z + 15.234687407), z, 31.4690115749), z, 11.9400905721), z, 0.607771387771) / fma(fma(fma(fma(z, 3.13060547623, 11.1667541262), z, t), z, a), z, b))));
else
tmp = fma(y, Float64(3.13060547623 + Float64(Float64(t_2 + t_1) + Float64(-36.52704169880642 / z))), x);
end
return tmp
end
code[x_, y_, z_, t_, a_, b_] := N[(x + N[(N[(y * N[(N[(N[(N[(N[(N[(N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision] * z), $MachinePrecision] + t), $MachinePrecision] * z), $MachinePrecision] + a), $MachinePrecision] * z), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z), $MachinePrecision] + 31.4690115749), $MachinePrecision] * z), $MachinePrecision] + 11.9400905721), $MachinePrecision] * z), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
↓
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(t / N[(z * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(457.9610022158428 / N[(z * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -3.1e+49], N[(y * N[(3.13060547623 + N[(t$95$2 + N[(N[(t$95$1 + N[(N[(a + N[(-5864.8025282699045 + N[(t * -15.234687407), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[Power[z, 3.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(-36.52704169880642 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], If[LessEqual[z, 7.4e+39], N[(x + N[(y / N[(N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z + 31.4690115749), $MachinePrecision] * z + 11.9400905721), $MachinePrecision] * z + 0.607771387771), $MachinePrecision] / N[(N[(N[(N[(z * 3.13060547623 + 11.1667541262), $MachinePrecision] * z + t), $MachinePrecision] * z + a), $MachinePrecision] * z + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * N[(3.13060547623 + N[(N[(t$95$2 + t$95$1), $MachinePrecision] + N[(-36.52704169880642 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]]]]
x + \frac{y \cdot \left(\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b\right)}{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}
↓
\begin{array}{l}
t_1 := \frac{t}{z \cdot z}\\
t_2 := \frac{457.9610022158428}{z \cdot z}\\
\mathbf{if}\;z \leq -3.1 \cdot 10^{+49}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \left(t_2 + \left(\left(t_1 + \frac{a + \left(-5864.8025282699045 + t \cdot -15.234687407\right)}{{z}^{3}}\right) + \frac{-36.52704169880642}{z}\right)\right), x\right)\\
\mathbf{elif}\;z \leq 7.4 \cdot 10^{+39}:\\
\;\;\;\;x + \frac{y}{\frac{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), z, t\right), z, a\right), z, b\right)}}\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \left(\left(t_2 + t_1\right) + \frac{-36.52704169880642}{z}\right), x\right)\\
\end{array}
Alternatives Alternative 1 Error 1.1 Cost 14985
\[\begin{array}{l}
\mathbf{if}\;z \leq -3.1 \cdot 10^{+49} \lor \neg \left(z \leq 5 \cdot 10^{+16}\right):\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \left(\frac{457.9610022158428}{z \cdot z} + \left(\left(\frac{t}{z \cdot z} + \frac{a + \left(-5864.8025282699045 + t \cdot -15.234687407\right)}{{z}^{3}}\right) + \frac{-36.52704169880642}{z}\right)\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + \left(z \cdot \left(z \cdot \mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)\right) + z \cdot 11.9400905721\right)}\\
\end{array}
\]
Alternative 2 Error 1.5 Cost 9033
\[\begin{array}{l}
\mathbf{if}\;z \leq -3.4 \cdot 10^{+49} \lor \neg \left(z \leq 3.6 \cdot 10^{+17}\right):\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{t}{z \cdot z}\right) + \frac{-36.52704169880642}{z}\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + \left(z \cdot \left(z \cdot \mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right)\right) + z \cdot 11.9400905721\right)}\\
\end{array}
\]
Alternative 3 Error 1.5 Cost 7881
\[\begin{array}{l}
\mathbf{if}\;z \leq -3.1 \cdot 10^{+49} \lor \neg \left(z \leq 3.8 \cdot 10^{+17}\right):\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \left(\left(\frac{457.9610022158428}{z \cdot z} + \frac{t}{z \cdot z}\right) + \frac{-36.52704169880642}{z}\right), x\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\
\end{array}
\]
Alternative 4 Error 2.7 Cost 2632
\[\begin{array}{l}
\mathbf{if}\;z \leq -3.4 \cdot 10^{+49}:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t \cdot \frac{-0.10203362558171805}{z}}{z}\right)}\\
\mathbf{elif}\;z \leq 4.4 \cdot 10^{+32}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\end{array}
\]
Alternative 5 Error 3.0 Cost 2376
\[\begin{array}{l}
\mathbf{if}\;z \leq -2.1 \cdot 10^{+32}:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t \cdot \frac{-0.10203362558171805}{z}}{z}\right)}\\
\mathbf{elif}\;z \leq 5.8 \cdot 10^{+29}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot 11.1667541262\right)\right)\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\left(\frac{3.7269864963038164}{z} + 0.31942702700572795\right) + t \cdot \frac{-0.10203362558171805}{z \cdot z}}\\
\end{array}
\]
Alternative 6 Error 3.7 Cost 1992
\[\begin{array}{l}
\mathbf{if}\;z \leq -13:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t \cdot \frac{-0.10203362558171805}{z}}{z}\right)}\\
\mathbf{elif}\;z \leq 2.5 \cdot 10^{+16}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\right)}{0.607771387771 + z \cdot 11.9400905721}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\left(\frac{3.7269864963038164}{z} + 0.31942702700572795\right) + t \cdot \frac{-0.10203362558171805}{z \cdot z}}\\
\end{array}
\]
Alternative 7 Error 4.9 Cost 1864
\[\begin{array}{l}
\mathbf{if}\;z \leq -2100000000:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t \cdot \frac{-0.10203362558171805}{z}}{z}\right)}\\
\mathbf{elif}\;z \leq 2.5 \cdot 10^{+23}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot a\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(31.4690115749 + z \cdot \left(z + 15.234687407\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\left(\frac{3.7269864963038164}{z} + 0.31942702700572795\right) + t \cdot \frac{-0.10203362558171805}{z \cdot z}}\\
\end{array}
\]
Alternative 8 Error 5.1 Cost 1736
\[\begin{array}{l}
\mathbf{if}\;z \leq -4200000000:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t \cdot \frac{-0.10203362558171805}{z}}{z}\right)}\\
\mathbf{elif}\;z \leq 5 \cdot 10^{+30}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot a\right)}{0.607771387771 + z \cdot \left(11.9400905721 + \left(z \cdot z\right) \cdot \left(z + 15.234687407\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\left(\frac{3.7269864963038164}{z} + 0.31942702700572795\right) + t \cdot \frac{-0.10203362558171805}{z \cdot z}}\\
\end{array}
\]
Alternative 9 Error 5.2 Cost 1480
\[\begin{array}{l}
\mathbf{if}\;z \leq -16500000:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t \cdot \frac{-0.10203362558171805}{z}}{z}\right)}\\
\mathbf{elif}\;z \leq 420000:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot a\right)}{0.607771387771 - z \cdot \left(-11.9400905721 - z \cdot 31.4690115749\right)}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\left(\frac{3.7269864963038164}{z} + 0.31942702700572795\right) + t \cdot \frac{-0.10203362558171805}{z \cdot z}}\\
\end{array}
\]
Alternative 10 Error 5.5 Cost 1352
\[\begin{array}{l}
\mathbf{if}\;z \leq -1.75 \cdot 10^{+31}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{elif}\;z \leq 960000:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot a\right)}{0.607771387771 + z \cdot 11.9400905721}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\left(\frac{3.7269864963038164}{z} + 0.31942702700572795\right) + t \cdot \frac{-0.10203362558171805}{z \cdot z}}\\
\end{array}
\]
Alternative 11 Error 5.5 Cost 1352
\[\begin{array}{l}
\mathbf{if}\;z \leq -1.75 \cdot 10^{+31}:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{t \cdot \frac{-0.10203362558171805}{z}}{z}\right)}\\
\mathbf{elif}\;z \leq 430000:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot a\right)}{0.607771387771 + z \cdot 11.9400905721}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\left(\frac{3.7269864963038164}{z} + 0.31942702700572795\right) + t \cdot \frac{-0.10203362558171805}{z \cdot z}}\\
\end{array}
\]
Alternative 12 Error 5.5 Cost 1225
\[\begin{array}{l}
\mathbf{if}\;z \leq -1.75 \cdot 10^{+31} \lor \neg \left(z \leq 4 \cdot 10^{+17}\right):\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot a\right)}{0.607771387771 + z \cdot 11.9400905721}\\
\end{array}
\]
Alternative 13 Error 9.0 Cost 836
\[\begin{array}{l}
\mathbf{if}\;z \leq -2.3 \cdot 10^{-5}:\\
\;\;\;\;x + \left(y \cdot 3.13060547623 - \frac{y}{\frac{z}{36.52704169880642}}\right)\\
\mathbf{elif}\;z \leq 4 \cdot 10^{+17}:\\
\;\;\;\;x + b \cdot \left(y \cdot 1.6453555072203998\right)\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\end{array}
\]
Alternative 14 Error 9.0 Cost 713
\[\begin{array}{l}
\mathbf{if}\;z \leq -2.3 \cdot 10^{-5} \lor \neg \left(z \leq 4 \cdot 10^{+17}\right):\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{else}:\\
\;\;\;\;x + b \cdot \left(y \cdot 1.6453555072203998\right)\\
\end{array}
\]
Alternative 15 Error 18.5 Cost 585
\[\begin{array}{l}
\mathbf{if}\;z \leq -2.7 \cdot 10^{-36} \lor \neg \left(z \leq 2.3 \cdot 10^{-96}\right):\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 16 Error 28.0 Cost 456
\[\begin{array}{l}
\mathbf{if}\;x \leq -6 \cdot 10^{-175}:\\
\;\;\;\;x\\
\mathbf{elif}\;x \leq 4.6 \cdot 10^{-67}:\\
\;\;\;\;y \cdot 3.13060547623\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\]
Alternative 17 Error 32.2 Cost 64
\[x
\]