
(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))))
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));
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = x + ((y * ((((((((z * 3.13060547623d0) + 11.1667541262d0) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407d0) * z) + 31.4690115749d0) * z) + 11.9400905721d0) * z) + 0.607771387771d0))
end function
public static 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));
}
def code(x, y, z, t, a, 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))
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 tmp = code(x, y, z, t, a, b) tmp = 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)); 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]
\begin{array}{l}
\\
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}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 18 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(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))))
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));
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = x + ((y * ((((((((z * 3.13060547623d0) + 11.1667541262d0) * z) + t) * z) + a) * z) + b)) / (((((((z + 15.234687407d0) * z) + 31.4690115749d0) * z) + 11.9400905721d0) * z) + 0.607771387771d0))
end function
public static 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));
}
def code(x, y, z, t, a, 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))
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 tmp = code(x, y, z, t, a, b) tmp = 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)); 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]
\begin{array}{l}
\\
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}
\end{array}
(FPCore (x y z t a b)
:precision binary64
(if (<= z -8.2e+30)
(fma
y
(+
3.13060547623
(/
(-
(/
(+
457.9610022158428
(+ t (/ (+ a (+ -5864.8025282699045 (* t -15.234687407))) z)))
z)
36.52704169880642)
z))
x)
(if (<= z 6.1e+41)
(+
x
(/
(* y (fma (fma (fma (fma z 3.13060547623 11.1667541262) z t) z a) z b))
(fma
(fma (fma (+ z 15.234687407) z 31.4690115749) z 11.9400905721)
z
0.607771387771)))
(fma
y
(+
3.13060547623
(-
(+ (/ t (pow z 2.0)) (/ 457.9610022158428 (pow z 2.0)))
(/ 36.52704169880642 z)))
x))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -8.2e+30) {
tmp = fma(y, (3.13060547623 + ((((457.9610022158428 + (t + ((a + (-5864.8025282699045 + (t * -15.234687407))) / z))) / z) - 36.52704169880642) / z)), x);
} else if (z <= 6.1e+41) {
tmp = x + ((y * fma(fma(fma(fma(z, 3.13060547623, 11.1667541262), z, t), z, a), z, b)) / fma(fma(fma((z + 15.234687407), z, 31.4690115749), z, 11.9400905721), z, 0.607771387771));
} else {
tmp = fma(y, (3.13060547623 + (((t / pow(z, 2.0)) + (457.9610022158428 / pow(z, 2.0))) - (36.52704169880642 / z))), x);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -8.2e+30) tmp = fma(y, Float64(3.13060547623 + Float64(Float64(Float64(Float64(457.9610022158428 + Float64(t + Float64(Float64(a + Float64(-5864.8025282699045 + Float64(t * -15.234687407))) / z))) / z) - 36.52704169880642) / z)), x); elseif (z <= 6.1e+41) tmp = Float64(x + Float64(Float64(y * fma(fma(fma(fma(z, 3.13060547623, 11.1667541262), z, t), z, a), z, b)) / fma(fma(fma(Float64(z + 15.234687407), z, 31.4690115749), z, 11.9400905721), z, 0.607771387771))); else tmp = fma(y, Float64(3.13060547623 + Float64(Float64(Float64(t / (z ^ 2.0)) + Float64(457.9610022158428 / (z ^ 2.0))) - Float64(36.52704169880642 / z))), x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -8.2e+30], N[(y * N[(3.13060547623 + N[(N[(N[(N[(457.9610022158428 + N[(t + N[(N[(a + N[(-5864.8025282699045 + N[(t * -15.234687407), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], If[LessEqual[z, 6.1e+41], N[(x + N[(N[(y * N[(N[(N[(N[(z * 3.13060547623 + 11.1667541262), $MachinePrecision] * z + t), $MachinePrecision] * z + a), $MachinePrecision] * z + b), $MachinePrecision]), $MachinePrecision] / N[(N[(N[(N[(z + 15.234687407), $MachinePrecision] * z + 31.4690115749), $MachinePrecision] * z + 11.9400905721), $MachinePrecision] * z + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * N[(3.13060547623 + N[(N[(N[(t / N[Power[z, 2.0], $MachinePrecision]), $MachinePrecision] + N[(457.9610022158428 / N[Power[z, 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(36.52704169880642 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -8.2 \cdot 10^{+30}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \frac{\frac{457.9610022158428 + \left(t + \frac{a + \left(-5864.8025282699045 + t \cdot -15.234687407\right)}{z}\right)}{z} - 36.52704169880642}{z}, x\right)\\
\mathbf{elif}\;z \leq 6.1 \cdot 10^{+41}:\\
\;\;\;\;x + \frac{y \cdot \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)}{\mathsf{fma}\left(\mathsf{fma}\left(\mathsf{fma}\left(z + 15.234687407, z, 31.4690115749\right), z, 11.9400905721\right), z, 0.607771387771\right)}\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \left(\left(\frac{t}{{z}^{2}} + \frac{457.9610022158428}{{z}^{2}}\right) - \frac{36.52704169880642}{z}\right), x\right)\\
\end{array}
\end{array}
if z < -8.20000000000000011e30Initial program 6.0%
Simplified11.2%
Taylor expanded in z around -inf 98.0%
Simplified98.0%
if -8.20000000000000011e30 < z < 6.09999999999999998e41Initial program 99.7%
remove-double-neg99.7%
distribute-lft-neg-out99.7%
distribute-lft-neg-in99.7%
remove-double-neg99.7%
fma-define99.7%
fma-define99.7%
fma-define99.7%
fma-define99.7%
Simplified99.7%
if 6.09999999999999998e41 < z Initial program 9.4%
Simplified12.7%
Taylor expanded in z around inf 99.9%
associate--l+99.9%
+-commutative99.9%
associate-*r/99.9%
metadata-eval99.9%
Simplified99.9%
Final simplification99.4%
(FPCore (x y z t a b)
:precision binary64
(if (<=
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+
(*
z
(+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771))
INFINITY)
(fma
y
(/
(fma z (fma z (fma z (fma z 3.13060547623 11.1667541262) t) a) b)
(fma
z
(fma z (fma z (+ z 15.234687407) 31.4690115749) 11.9400905721)
0.607771387771))
x)
(fma
y
(+ 3.13060547623 (/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))
x)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= ((double) INFINITY)) {
tmp = fma(y, (fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b) / fma(z, fma(z, fma(z, (z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771)), x);
} else {
tmp = fma(y, (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)), x);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) <= Inf) tmp = fma(y, Float64(fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b) / fma(z, fma(z, fma(z, Float64(z + 15.234687407), 31.4690115749), 11.9400905721), 0.607771387771)), x); else tmp = fma(y, Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)), x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision], Infinity], N[(y * N[(N[(z * N[(z * N[(z * N[(z * 3.13060547623 + 11.1667541262), $MachinePrecision] + t), $MachinePrecision] + a), $MachinePrecision] + b), $MachinePrecision] / N[(z * N[(z * N[(z * N[(z + 15.234687407), $MachinePrecision] + 31.4690115749), $MachinePrecision] + 11.9400905721), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} \leq \infty:\\
\;\;\;\;\mathsf{fma}\left(y, \frac{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, 3.13060547623, 11.1667541262\right), t\right), a\right), b\right)}{\mathsf{fma}\left(z, \mathsf{fma}\left(z, \mathsf{fma}\left(z, z + 15.234687407, 31.4690115749\right), 11.9400905721\right), 0.607771387771\right)}, x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}, x\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) < +inf.0Initial program 93.9%
Simplified96.9%
if +inf.0 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z #s(literal 313060547623/100000000000 binary64)) #s(literal 55833770631/5000000000 binary64)) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z #s(literal 15234687407/1000000000 binary64)) z) #s(literal 314690115749/10000000000 binary64)) z) #s(literal 119400905721/10000000000 binary64)) z) #s(literal 607771387771/1000000000000 binary64))) Initial program 0.0%
Simplified0.0%
Taylor expanded in z around -inf 99.9%
mul-1-neg99.9%
unsub-neg99.9%
mul-1-neg99.9%
unsub-neg99.9%
+-commutative99.9%
Simplified99.9%
Final simplification98.0%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -9.6e+30)
(fma
y
(+
3.13060547623
(/
(-
(/
(+
457.9610022158428
(+ t (/ (+ a (+ -5864.8025282699045 (* t -15.234687407))) z)))
z)
36.52704169880642)
z))
x)
(if (<= z 1.95e+41)
(+
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+
(*
z
(+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771))
x)
(fma
y
(+
3.13060547623
(-
(+ (/ t (pow z 2.0)) (/ 457.9610022158428 (pow z 2.0)))
(/ 36.52704169880642 z)))
x))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -9.6e+30) {
tmp = fma(y, (3.13060547623 + ((((457.9610022158428 + (t + ((a + (-5864.8025282699045 + (t * -15.234687407))) / z))) / z) - 36.52704169880642) / z)), x);
} else if (z <= 1.95e+41) {
tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x;
} else {
tmp = fma(y, (3.13060547623 + (((t / pow(z, 2.0)) + (457.9610022158428 / pow(z, 2.0))) - (36.52704169880642 / z))), x);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -9.6e+30) tmp = fma(y, Float64(3.13060547623 + Float64(Float64(Float64(Float64(457.9610022158428 + Float64(t + Float64(Float64(a + Float64(-5864.8025282699045 + Float64(t * -15.234687407))) / z))) / z) - 36.52704169880642) / z)), x); elseif (z <= 1.95e+41) tmp = Float64(Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x); else tmp = fma(y, Float64(3.13060547623 + Float64(Float64(Float64(t / (z ^ 2.0)) + Float64(457.9610022158428 / (z ^ 2.0))) - Float64(36.52704169880642 / z))), x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -9.6e+30], N[(y * N[(3.13060547623 + N[(N[(N[(N[(457.9610022158428 + N[(t + N[(N[(a + N[(-5864.8025282699045 + N[(t * -15.234687407), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], If[LessEqual[z, 1.95e+41], N[(N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(y * N[(3.13060547623 + N[(N[(N[(t / N[Power[z, 2.0], $MachinePrecision]), $MachinePrecision] + N[(457.9610022158428 / N[Power[z, 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(36.52704169880642 / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -9.6 \cdot 10^{+30}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \frac{\frac{457.9610022158428 + \left(t + \frac{a + \left(-5864.8025282699045 + t \cdot -15.234687407\right)}{z}\right)}{z} - 36.52704169880642}{z}, x\right)\\
\mathbf{elif}\;z \leq 1.95 \cdot 10^{+41}:\\
\;\;\;\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} + x\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \left(\left(\frac{t}{{z}^{2}} + \frac{457.9610022158428}{{z}^{2}}\right) - \frac{36.52704169880642}{z}\right), x\right)\\
\end{array}
\end{array}
if z < -9.5999999999999997e30Initial program 6.0%
Simplified11.2%
Taylor expanded in z around -inf 98.0%
Simplified98.0%
if -9.5999999999999997e30 < z < 1.9499999999999998e41Initial program 99.7%
if 1.9499999999999998e41 < z Initial program 9.4%
Simplified12.7%
Taylor expanded in z around inf 99.9%
associate--l+99.9%
+-commutative99.9%
associate-*r/99.9%
metadata-eval99.9%
Simplified99.9%
Final simplification99.4%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -1.9e+31)
(fma
y
(+
3.13060547623
(/
(-
(/
(+
457.9610022158428
(+ t (/ (+ a (+ -5864.8025282699045 (* t -15.234687407))) z)))
z)
36.52704169880642)
z))
x)
(if (<= z 4e+41)
(+
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+
(*
z
(+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771))
x)
(fma
y
(+
3.13060547623
(/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))
x))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.9e+31) {
tmp = fma(y, (3.13060547623 + ((((457.9610022158428 + (t + ((a + (-5864.8025282699045 + (t * -15.234687407))) / z))) / z) - 36.52704169880642) / z)), x);
} else if (z <= 4e+41) {
tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x;
} else {
tmp = fma(y, (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)), x);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -1.9e+31) tmp = fma(y, Float64(3.13060547623 + Float64(Float64(Float64(Float64(457.9610022158428 + Float64(t + Float64(Float64(a + Float64(-5864.8025282699045 + Float64(t * -15.234687407))) / z))) / z) - 36.52704169880642) / z)), x); elseif (z <= 4e+41) tmp = Float64(Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x); else tmp = fma(y, Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)), x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -1.9e+31], N[(y * N[(3.13060547623 + N[(N[(N[(N[(457.9610022158428 + N[(t + N[(N[(a + N[(-5864.8025282699045 + N[(t * -15.234687407), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], If[LessEqual[z, 4e+41], N[(N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.9 \cdot 10^{+31}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \frac{\frac{457.9610022158428 + \left(t + \frac{a + \left(-5864.8025282699045 + t \cdot -15.234687407\right)}{z}\right)}{z} - 36.52704169880642}{z}, x\right)\\
\mathbf{elif}\;z \leq 4 \cdot 10^{+41}:\\
\;\;\;\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} + x\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}, x\right)\\
\end{array}
\end{array}
if z < -1.9000000000000001e31Initial program 6.0%
Simplified11.2%
Taylor expanded in z around -inf 98.0%
Simplified98.0%
if -1.9000000000000001e31 < z < 4.00000000000000002e41Initial program 99.7%
if 4.00000000000000002e41 < z Initial program 9.4%
Simplified12.7%
Taylor expanded in z around -inf 99.9%
mul-1-neg99.9%
unsub-neg99.9%
mul-1-neg99.9%
unsub-neg99.9%
+-commutative99.9%
Simplified99.9%
Final simplification99.4%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -9.5e+31) (not (<= z 4.3e+41)))
(fma
y
(+ 3.13060547623 (/ (- (/ (+ t 457.9610022158428) z) 36.52704169880642) z))
x)
(+
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+
(* z (+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771))
x)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -9.5e+31) || !(z <= 4.3e+41)) {
tmp = fma(y, (3.13060547623 + ((((t + 457.9610022158428) / z) - 36.52704169880642) / z)), x);
} else {
tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x;
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -9.5e+31) || !(z <= 4.3e+41)) tmp = fma(y, Float64(3.13060547623 + Float64(Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642) / z)), x); else tmp = Float64(Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -9.5e+31], N[Not[LessEqual[z, 4.3e+41]], $MachinePrecision]], N[(y * N[(3.13060547623 + N[(N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision], N[(N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -9.5 \cdot 10^{+31} \lor \neg \left(z \leq 4.3 \cdot 10^{+41}\right):\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623 + \frac{\frac{t + 457.9610022158428}{z} - 36.52704169880642}{z}, x\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} + x\\
\end{array}
\end{array}
if z < -9.5000000000000008e31 or 4.30000000000000024e41 < z Initial program 7.7%
Simplified12.0%
Taylor expanded in z around -inf 97.8%
mul-1-neg97.8%
unsub-neg97.8%
mul-1-neg97.8%
unsub-neg97.8%
+-commutative97.8%
Simplified97.8%
if -9.5000000000000008e31 < z < 4.30000000000000024e41Initial program 99.7%
Final simplification98.9%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -2.1e+32) (not (<= z 1.95e+41)))
(+
x
(+
(* (/ y z) (- (/ (+ t 457.9610022158428) z) 36.52704169880642))
(* y 3.13060547623)))
(+
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+
(* z (+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771))
x)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.1e+32) || !(z <= 1.95e+41)) {
tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623));
} else {
tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-2.1d+32)) .or. (.not. (z <= 1.95d+41))) then
tmp = x + (((y / z) * (((t + 457.9610022158428d0) / z) - 36.52704169880642d0)) + (y * 3.13060547623d0))
else
tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623d0) + 11.1667541262d0)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407d0)) + 31.4690115749d0)) + 11.9400905721d0)) + 0.607771387771d0)) + x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.1e+32) || !(z <= 1.95e+41)) {
tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623));
} else {
tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -2.1e+32) or not (z <= 1.95e+41): tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623)) else: tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -2.1e+32) || !(z <= 1.95e+41)) tmp = Float64(x + Float64(Float64(Float64(y / z) * Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642)) + Float64(y * 3.13060547623))); else tmp = Float64(Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -2.1e+32) || ~((z <= 1.95e+41))) tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623)); else tmp = ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) + x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -2.1e+32], N[Not[LessEqual[z, 1.95e+41]], $MachinePrecision]], N[(x + N[(N[(N[(y / z), $MachinePrecision] * N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision]), $MachinePrecision] + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision] + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.1 \cdot 10^{+32} \lor \neg \left(z \leq 1.95 \cdot 10^{+41}\right):\\
\;\;\;\;x + \left(\frac{y}{z} \cdot \left(\frac{t + 457.9610022158428}{z} - 36.52704169880642\right) + y \cdot 3.13060547623\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771} + x\\
\end{array}
\end{array}
if z < -2.1000000000000001e32 or 1.9499999999999998e41 < z Initial program 7.7%
Taylor expanded in z around -inf 78.4%
Taylor expanded in y around 0 94.0%
*-commutative94.0%
associate-/l*97.8%
mul-1-neg97.8%
unsub-neg97.8%
+-commutative97.8%
Simplified97.8%
if -2.1000000000000001e32 < z < 1.9499999999999998e41Initial program 99.7%
Final simplification98.9%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -1.95e+34) (not (<= z 9.5e+40)))
(+
x
(+
(* (/ y z) (- (/ (+ t 457.9610022158428) z) 36.52704169880642))
(* y 3.13060547623)))
(+
x
(/
(* y (+ b (* z (+ a (* z (+ t (* z 11.1667541262)))))))
(+
(* z (+ (* z (+ (* z (+ z 15.234687407)) 31.4690115749)) 11.9400905721))
0.607771387771)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.95e+34) || !(z <= 9.5e+40)) {
tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623));
} else {
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-1.95d+34)) .or. (.not. (z <= 9.5d+40))) then
tmp = x + (((y / z) * (((t + 457.9610022158428d0) / z) - 36.52704169880642d0)) + (y * 3.13060547623d0))
else
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262d0))))))) / ((z * ((z * ((z * (z + 15.234687407d0)) + 31.4690115749d0)) + 11.9400905721d0)) + 0.607771387771d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.95e+34) || !(z <= 9.5e+40)) {
tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623));
} else {
tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -1.95e+34) or not (z <= 9.5e+40): tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623)) else: tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -1.95e+34) || !(z <= 9.5e+40)) tmp = Float64(x + Float64(Float64(Float64(y / z) * Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642)) + Float64(y * 3.13060547623))); else tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * 11.1667541262))))))) / Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -1.95e+34) || ~((z <= 9.5e+40))) tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623)); else tmp = x + ((y * (b + (z * (a + (z * (t + (z * 11.1667541262))))))) / ((z * ((z * ((z * (z + 15.234687407)) + 31.4690115749)) + 11.9400905721)) + 0.607771387771)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.95e+34], N[Not[LessEqual[z, 9.5e+40]], $MachinePrecision]], N[(x + N[(N[(N[(y / z), $MachinePrecision] * N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision]), $MachinePrecision] + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * N[(t + N[(z * 11.1667541262), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(z * N[(N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision] + 11.9400905721), $MachinePrecision]), $MachinePrecision] + 0.607771387771), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.95 \cdot 10^{+34} \lor \neg \left(z \leq 9.5 \cdot 10^{+40}\right):\\
\;\;\;\;x + \left(\frac{y}{z} \cdot \left(\frac{t + 457.9610022158428}{z} - 36.52704169880642\right) + y \cdot 3.13060547623\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot \left(t + z \cdot 11.1667541262\right)\right)\right)}{z \cdot \left(z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right) + 11.9400905721\right) + 0.607771387771}\\
\end{array}
\end{array}
if z < -1.9500000000000001e34 or 9.5000000000000003e40 < z Initial program 7.7%
Taylor expanded in z around -inf 78.4%
Taylor expanded in y around 0 94.0%
*-commutative94.0%
associate-/l*97.8%
mul-1-neg97.8%
unsub-neg97.8%
+-commutative97.8%
Simplified97.8%
if -1.9500000000000001e34 < z < 9.5000000000000003e40Initial program 99.7%
Taylor expanded in z around 0 99.1%
*-commutative99.1%
Simplified99.1%
Final simplification98.5%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -95000000.0) (not (<= z 21500.0)))
(+
x
(+
(* (/ y z) (- (/ (+ t 457.9610022158428) z) 36.52704169880642))
(* y 3.13060547623)))
(+
x
(/
(*
y
(+
(* z (+ (* z (+ (* z (+ (* z 3.13060547623) 11.1667541262)) t)) a))
b))
(+ 0.607771387771 (* z (+ 11.9400905721 (* z 31.4690115749))))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -95000000.0) || !(z <= 21500.0)) {
tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623));
} else {
tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749)))));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-95000000.0d0)) .or. (.not. (z <= 21500.0d0))) then
tmp = x + (((y / z) * (((t + 457.9610022158428d0) / z) - 36.52704169880642d0)) + (y * 3.13060547623d0))
else
tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623d0) + 11.1667541262d0)) + t)) + a)) + b)) / (0.607771387771d0 + (z * (11.9400905721d0 + (z * 31.4690115749d0)))))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -95000000.0) || !(z <= 21500.0)) {
tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623));
} else {
tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749)))));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -95000000.0) or not (z <= 21500.0): tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623)) else: tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749))))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -95000000.0) || !(z <= 21500.0)) tmp = Float64(x + Float64(Float64(Float64(y / z) * Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642)) + Float64(y * 3.13060547623))); else tmp = Float64(x + Float64(Float64(y * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * Float64(Float64(z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * 31.4690115749)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -95000000.0) || ~((z <= 21500.0))) tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623)); else tmp = x + ((y * ((z * ((z * ((z * ((z * 3.13060547623) + 11.1667541262)) + t)) + a)) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * 31.4690115749))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -95000000.0], N[Not[LessEqual[z, 21500.0]], $MachinePrecision]], N[(x + N[(N[(N[(y / z), $MachinePrecision] * N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision]), $MachinePrecision] + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(N[(z * N[(N[(z * N[(N[(z * N[(N[(z * 3.13060547623), $MachinePrecision] + 11.1667541262), $MachinePrecision]), $MachinePrecision] + t), $MachinePrecision]), $MachinePrecision] + a), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * 31.4690115749), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -95000000 \lor \neg \left(z \leq 21500\right):\\
\;\;\;\;x + \left(\frac{y}{z} \cdot \left(\frac{t + 457.9610022158428}{z} - 36.52704169880642\right) + y \cdot 3.13060547623\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(z \cdot \left(z \cdot \left(z \cdot \left(z \cdot 3.13060547623 + 11.1667541262\right) + t\right) + a\right) + b\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot 31.4690115749\right)}\\
\end{array}
\end{array}
if z < -9.5e7 or 21500 < z Initial program 17.4%
Taylor expanded in z around -inf 78.3%
Taylor expanded in y around 0 92.2%
*-commutative92.2%
associate-/l*95.6%
mul-1-neg95.6%
unsub-neg95.6%
+-commutative95.6%
Simplified95.6%
if -9.5e7 < z < 21500Initial program 99.7%
Taylor expanded in z around 0 98.3%
*-commutative98.3%
Simplified98.3%
Final simplification97.0%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= z -290000000.0) (not (<= z 440.0)))
(+
x
(+
(* (/ y z) (- (/ (+ t 457.9610022158428) z) 36.52704169880642))
(* y 3.13060547623)))
(+ x (/ (* y (+ b (* z (+ a (* z t))))) 0.607771387771))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -290000000.0) || !(z <= 440.0)) {
tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623));
} else {
tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-290000000.0d0)) .or. (.not. (z <= 440.0d0))) then
tmp = x + (((y / z) * (((t + 457.9610022158428d0) / z) - 36.52704169880642d0)) + (y * 3.13060547623d0))
else
tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771d0)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -290000000.0) || !(z <= 440.0)) {
tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623));
} else {
tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -290000000.0) or not (z <= 440.0): tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623)) else: tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -290000000.0) || !(z <= 440.0)) tmp = Float64(x + Float64(Float64(Float64(y / z) * Float64(Float64(Float64(t + 457.9610022158428) / z) - 36.52704169880642)) + Float64(y * 3.13060547623))); else tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * t))))) / 0.607771387771)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -290000000.0) || ~((z <= 440.0))) tmp = x + (((y / z) * (((t + 457.9610022158428) / z) - 36.52704169880642)) + (y * 3.13060547623)); else tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -290000000.0], N[Not[LessEqual[z, 440.0]], $MachinePrecision]], N[(x + N[(N[(N[(y / z), $MachinePrecision] * N[(N[(N[(t + 457.9610022158428), $MachinePrecision] / z), $MachinePrecision] - 36.52704169880642), $MachinePrecision]), $MachinePrecision] + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / 0.607771387771), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -290000000 \lor \neg \left(z \leq 440\right):\\
\;\;\;\;x + \left(\frac{y}{z} \cdot \left(\frac{t + 457.9610022158428}{z} - 36.52704169880642\right) + y \cdot 3.13060547623\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot t\right)\right)}{0.607771387771}\\
\end{array}
\end{array}
if z < -2.9e8 or 440 < z Initial program 17.4%
Taylor expanded in z around -inf 78.3%
Taylor expanded in y around 0 92.2%
*-commutative92.2%
associate-/l*95.6%
mul-1-neg95.6%
unsub-neg95.6%
+-commutative95.6%
Simplified95.6%
if -2.9e8 < z < 440Initial program 99.7%
Taylor expanded in z around 0 99.7%
*-commutative99.7%
Simplified99.7%
Taylor expanded in z around 0 96.5%
*-commutative96.5%
Simplified96.5%
Taylor expanded in z around 0 97.8%
Taylor expanded in z around 0 97.8%
*-commutative97.8%
Simplified97.8%
Final simplification96.8%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -3.6e+46)
(+ x (* y 3.13060547623))
(if (<= z 23500.0)
(+ x (/ (* y (+ b (* z (+ a (* z t))))) 0.607771387771))
(-
(+ x (+ (* y 3.13060547623) (* 11.1667541262 (/ y z))))
(* (/ y z) 47.69379582500642)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -3.6e+46) {
tmp = x + (y * 3.13060547623);
} else if (z <= 23500.0) {
tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771);
} else {
tmp = (x + ((y * 3.13060547623) + (11.1667541262 * (y / z)))) - ((y / z) * 47.69379582500642);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (z <= (-3.6d+46)) then
tmp = x + (y * 3.13060547623d0)
else if (z <= 23500.0d0) then
tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771d0)
else
tmp = (x + ((y * 3.13060547623d0) + (11.1667541262d0 * (y / z)))) - ((y / z) * 47.69379582500642d0)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -3.6e+46) {
tmp = x + (y * 3.13060547623);
} else if (z <= 23500.0) {
tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771);
} else {
tmp = (x + ((y * 3.13060547623) + (11.1667541262 * (y / z)))) - ((y / z) * 47.69379582500642);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -3.6e+46: tmp = x + (y * 3.13060547623) elif z <= 23500.0: tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771) else: tmp = (x + ((y * 3.13060547623) + (11.1667541262 * (y / z)))) - ((y / z) * 47.69379582500642) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -3.6e+46) tmp = Float64(x + Float64(y * 3.13060547623)); elseif (z <= 23500.0) tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * t))))) / 0.607771387771)); else tmp = Float64(Float64(x + Float64(Float64(y * 3.13060547623) + Float64(11.1667541262 * Float64(y / z)))) - Float64(Float64(y / z) * 47.69379582500642)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -3.6e+46) tmp = x + (y * 3.13060547623); elseif (z <= 23500.0) tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771); else tmp = (x + ((y * 3.13060547623) + (11.1667541262 * (y / z)))) - ((y / z) * 47.69379582500642); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -3.6e+46], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 23500.0], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / 0.607771387771), $MachinePrecision]), $MachinePrecision], N[(N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] + N[(11.1667541262 * N[(y / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y / z), $MachinePrecision] * 47.69379582500642), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -3.6 \cdot 10^{+46}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{elif}\;z \leq 23500:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot t\right)\right)}{0.607771387771}\\
\mathbf{else}:\\
\;\;\;\;\left(x + \left(y \cdot 3.13060547623 + 11.1667541262 \cdot \frac{y}{z}\right)\right) - \frac{y}{z} \cdot 47.69379582500642\\
\end{array}
\end{array}
if z < -3.5999999999999999e46Initial program 4.1%
Simplified6.0%
Taylor expanded in z around inf 95.5%
+-commutative95.5%
*-commutative95.5%
Simplified95.5%
if -3.5999999999999999e46 < z < 23500Initial program 98.3%
Taylor expanded in z around 0 98.3%
*-commutative98.3%
Simplified98.3%
Taylor expanded in z around 0 93.7%
*-commutative93.7%
Simplified93.7%
Taylor expanded in z around 0 95.9%
Taylor expanded in z around 0 95.9%
*-commutative95.9%
Simplified95.9%
if 23500 < z Initial program 24.0%
Simplified26.8%
Taylor expanded in z around inf 85.0%
Final simplification92.9%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -1.06e+47)
(+ x (* y 3.13060547623))
(if (<= z 23500.0)
(+ x (/ (* y (+ b (* z (+ a (* z t))))) 0.607771387771))
(+ x (- (* y 3.13060547623) (/ (* y 36.52704169880642) z))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.06e+47) {
tmp = x + (y * 3.13060547623);
} else if (z <= 23500.0) {
tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771);
} else {
tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (z <= (-1.06d+47)) then
tmp = x + (y * 3.13060547623d0)
else if (z <= 23500.0d0) then
tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771d0)
else
tmp = x + ((y * 3.13060547623d0) - ((y * 36.52704169880642d0) / z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.06e+47) {
tmp = x + (y * 3.13060547623);
} else if (z <= 23500.0) {
tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771);
} else {
tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -1.06e+47: tmp = x + (y * 3.13060547623) elif z <= 23500.0: tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771) else: tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -1.06e+47) tmp = Float64(x + Float64(y * 3.13060547623)); elseif (z <= 23500.0) tmp = Float64(x + Float64(Float64(y * Float64(b + Float64(z * Float64(a + Float64(z * t))))) / 0.607771387771)); else tmp = Float64(x + Float64(Float64(y * 3.13060547623) - Float64(Float64(y * 36.52704169880642) / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -1.06e+47) tmp = x + (y * 3.13060547623); elseif (z <= 23500.0) tmp = x + ((y * (b + (z * (a + (z * t))))) / 0.607771387771); else tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -1.06e+47], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 23500.0], N[(x + N[(N[(y * N[(b + N[(z * N[(a + N[(z * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / 0.607771387771), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] - N[(N[(y * 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.06 \cdot 10^{+47}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{elif}\;z \leq 23500:\\
\;\;\;\;x + \frac{y \cdot \left(b + z \cdot \left(a + z \cdot t\right)\right)}{0.607771387771}\\
\mathbf{else}:\\
\;\;\;\;x + \left(y \cdot 3.13060547623 - \frac{y \cdot 36.52704169880642}{z}\right)\\
\end{array}
\end{array}
if z < -1.05999999999999996e47Initial program 4.1%
Simplified6.0%
Taylor expanded in z around inf 95.5%
+-commutative95.5%
*-commutative95.5%
Simplified95.5%
if -1.05999999999999996e47 < z < 23500Initial program 98.3%
Taylor expanded in z around 0 98.3%
*-commutative98.3%
Simplified98.3%
Taylor expanded in z around 0 93.7%
*-commutative93.7%
Simplified93.7%
Taylor expanded in z around 0 95.9%
Taylor expanded in z around 0 95.9%
*-commutative95.9%
Simplified95.9%
if 23500 < z Initial program 24.0%
Simplified26.8%
Taylor expanded in z around -inf 84.9%
+-commutative84.9%
+-commutative84.9%
mul-1-neg84.9%
unsub-neg84.9%
*-commutative84.9%
distribute-rgt-out--84.9%
metadata-eval84.9%
Simplified84.9%
Final simplification92.9%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -1.85e+36)
(+ x (* y 3.13060547623))
(if (<= z 23000.0)
(+ x (* 1.6453555072203998 (+ (* z (* y a)) (* y b))))
(+ x (- (* y 3.13060547623) (/ (* y 36.52704169880642) z))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.85e+36) {
tmp = x + (y * 3.13060547623);
} else if (z <= 23000.0) {
tmp = x + (1.6453555072203998 * ((z * (y * a)) + (y * b)));
} else {
tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (z <= (-1.85d+36)) then
tmp = x + (y * 3.13060547623d0)
else if (z <= 23000.0d0) then
tmp = x + (1.6453555072203998d0 * ((z * (y * a)) + (y * b)))
else
tmp = x + ((y * 3.13060547623d0) - ((y * 36.52704169880642d0) / z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.85e+36) {
tmp = x + (y * 3.13060547623);
} else if (z <= 23000.0) {
tmp = x + (1.6453555072203998 * ((z * (y * a)) + (y * b)));
} else {
tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -1.85e+36: tmp = x + (y * 3.13060547623) elif z <= 23000.0: tmp = x + (1.6453555072203998 * ((z * (y * a)) + (y * b))) else: tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -1.85e+36) tmp = Float64(x + Float64(y * 3.13060547623)); elseif (z <= 23000.0) tmp = Float64(x + Float64(1.6453555072203998 * Float64(Float64(z * Float64(y * a)) + Float64(y * b)))); else tmp = Float64(x + Float64(Float64(y * 3.13060547623) - Float64(Float64(y * 36.52704169880642) / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -1.85e+36) tmp = x + (y * 3.13060547623); elseif (z <= 23000.0) tmp = x + (1.6453555072203998 * ((z * (y * a)) + (y * b))); else tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -1.85e+36], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 23000.0], N[(x + N[(1.6453555072203998 * N[(N[(z * N[(y * a), $MachinePrecision]), $MachinePrecision] + N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] - N[(N[(y * 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.85 \cdot 10^{+36}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{elif}\;z \leq 23000:\\
\;\;\;\;x + 1.6453555072203998 \cdot \left(z \cdot \left(y \cdot a\right) + y \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;x + \left(y \cdot 3.13060547623 - \frac{y \cdot 36.52704169880642}{z}\right)\\
\end{array}
\end{array}
if z < -1.85000000000000014e36Initial program 6.0%
Simplified9.5%
Taylor expanded in z around inf 93.9%
+-commutative93.9%
*-commutative93.9%
Simplified93.9%
if -1.85000000000000014e36 < z < 23000Initial program 99.0%
Taylor expanded in z around 0 99.0%
*-commutative99.0%
Simplified99.0%
Taylor expanded in z around 0 94.4%
*-commutative94.4%
Simplified94.4%
Taylor expanded in z around 0 96.5%
Taylor expanded in z around 0 89.6%
distribute-lft-out89.6%
associate-*r*86.8%
*-commutative86.8%
*-commutative86.8%
Simplified86.8%
if 23000 < z Initial program 24.0%
Simplified26.8%
Taylor expanded in z around -inf 84.9%
+-commutative84.9%
+-commutative84.9%
mul-1-neg84.9%
unsub-neg84.9%
*-commutative84.9%
distribute-rgt-out--84.9%
metadata-eval84.9%
Simplified84.9%
Final simplification87.8%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -4.4e+39)
(+ x (* y 3.13060547623))
(if (<= z 5400.0)
(+ x (* 1.6453555072203998 (* y b)))
(+ x (- (* y 3.13060547623) (/ (* y 36.52704169880642) z))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -4.4e+39) {
tmp = x + (y * 3.13060547623);
} else if (z <= 5400.0) {
tmp = x + (1.6453555072203998 * (y * b));
} else {
tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if (z <= (-4.4d+39)) then
tmp = x + (y * 3.13060547623d0)
else if (z <= 5400.0d0) then
tmp = x + (1.6453555072203998d0 * (y * b))
else
tmp = x + ((y * 3.13060547623d0) - ((y * 36.52704169880642d0) / z))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -4.4e+39) {
tmp = x + (y * 3.13060547623);
} else if (z <= 5400.0) {
tmp = x + (1.6453555072203998 * (y * b));
} else {
tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -4.4e+39: tmp = x + (y * 3.13060547623) elif z <= 5400.0: tmp = x + (1.6453555072203998 * (y * b)) else: tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -4.4e+39) tmp = Float64(x + Float64(y * 3.13060547623)); elseif (z <= 5400.0) tmp = Float64(x + Float64(1.6453555072203998 * Float64(y * b))); else tmp = Float64(x + Float64(Float64(y * 3.13060547623) - Float64(Float64(y * 36.52704169880642) / z))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -4.4e+39) tmp = x + (y * 3.13060547623); elseif (z <= 5400.0) tmp = x + (1.6453555072203998 * (y * b)); else tmp = x + ((y * 3.13060547623) - ((y * 36.52704169880642) / z)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -4.4e+39], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 5400.0], N[(x + N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(y * 3.13060547623), $MachinePrecision] - N[(N[(y * 36.52704169880642), $MachinePrecision] / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -4.4 \cdot 10^{+39}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{elif}\;z \leq 5400:\\
\;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;x + \left(y \cdot 3.13060547623 - \frac{y \cdot 36.52704169880642}{z}\right)\\
\end{array}
\end{array}
if z < -4.4000000000000003e39Initial program 6.0%
Simplified9.5%
Taylor expanded in z around inf 93.9%
+-commutative93.9%
*-commutative93.9%
Simplified93.9%
if -4.4000000000000003e39 < z < 5400Initial program 99.0%
Simplified99.7%
Taylor expanded in z around 0 80.2%
+-commutative80.2%
*-commutative80.2%
Simplified80.2%
if 5400 < z Initial program 24.0%
Simplified26.8%
Taylor expanded in z around -inf 84.9%
+-commutative84.9%
+-commutative84.9%
mul-1-neg84.9%
unsub-neg84.9%
*-commutative84.9%
distribute-rgt-out--84.9%
metadata-eval84.9%
Simplified84.9%
Final simplification84.3%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -1.95e+36) (not (<= z 15500.0))) (+ x (* y 3.13060547623)) (+ x (* b (* y 1.6453555072203998)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.95e+36) || !(z <= 15500.0)) {
tmp = x + (y * 3.13060547623);
} else {
tmp = x + (b * (y * 1.6453555072203998));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-1.95d+36)) .or. (.not. (z <= 15500.0d0))) then
tmp = x + (y * 3.13060547623d0)
else
tmp = x + (b * (y * 1.6453555072203998d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1.95e+36) || !(z <= 15500.0)) {
tmp = x + (y * 3.13060547623);
} else {
tmp = x + (b * (y * 1.6453555072203998));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -1.95e+36) or not (z <= 15500.0): tmp = x + (y * 3.13060547623) else: tmp = x + (b * (y * 1.6453555072203998)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -1.95e+36) || !(z <= 15500.0)) tmp = Float64(x + Float64(y * 3.13060547623)); else tmp = Float64(x + Float64(b * Float64(y * 1.6453555072203998))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -1.95e+36) || ~((z <= 15500.0))) tmp = x + (y * 3.13060547623); else tmp = x + (b * (y * 1.6453555072203998)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1.95e+36], N[Not[LessEqual[z, 15500.0]], $MachinePrecision]], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], N[(x + N[(b * N[(y * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.95 \cdot 10^{+36} \lor \neg \left(z \leq 15500\right):\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{else}:\\
\;\;\;\;x + b \cdot \left(y \cdot 1.6453555072203998\right)\\
\end{array}
\end{array}
if z < -1.9500000000000001e36 or 15500 < z Initial program 16.1%
Simplified19.2%
Taylor expanded in z around inf 88.6%
+-commutative88.6%
*-commutative88.6%
Simplified88.6%
if -1.9500000000000001e36 < z < 15500Initial program 99.0%
Taylor expanded in b around inf 89.9%
Taylor expanded in z around inf 68.5%
Taylor expanded in z around 0 67.4%
*-commutative67.4%
Simplified67.4%
Taylor expanded in b around inf 80.2%
*-commutative80.2%
associate-*r*80.1%
Simplified80.1%
Final simplification84.2%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -5.8e+37) (not (<= z 8.0))) (+ x (* y 3.13060547623)) (+ x (* y (* b 1.6453555072203998)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -5.8e+37) || !(z <= 8.0)) {
tmp = x + (y * 3.13060547623);
} else {
tmp = x + (y * (b * 1.6453555072203998));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-5.8d+37)) .or. (.not. (z <= 8.0d0))) then
tmp = x + (y * 3.13060547623d0)
else
tmp = x + (y * (b * 1.6453555072203998d0))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -5.8e+37) || !(z <= 8.0)) {
tmp = x + (y * 3.13060547623);
} else {
tmp = x + (y * (b * 1.6453555072203998));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -5.8e+37) or not (z <= 8.0): tmp = x + (y * 3.13060547623) else: tmp = x + (y * (b * 1.6453555072203998)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -5.8e+37) || !(z <= 8.0)) tmp = Float64(x + Float64(y * 3.13060547623)); else tmp = Float64(x + Float64(y * Float64(b * 1.6453555072203998))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -5.8e+37) || ~((z <= 8.0))) tmp = x + (y * 3.13060547623); else tmp = x + (y * (b * 1.6453555072203998)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -5.8e+37], N[Not[LessEqual[z, 8.0]], $MachinePrecision]], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], N[(x + N[(y * N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5.8 \cdot 10^{+37} \lor \neg \left(z \leq 8\right):\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{else}:\\
\;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998\right)\\
\end{array}
\end{array}
if z < -5.79999999999999957e37 or 8 < z Initial program 16.1%
Simplified19.2%
Taylor expanded in z around inf 88.6%
+-commutative88.6%
*-commutative88.6%
Simplified88.6%
if -5.79999999999999957e37 < z < 8Initial program 99.0%
Taylor expanded in z around 0 80.2%
associate-*r*80.2%
*-commutative80.2%
Simplified80.2%
Final simplification84.2%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -2.3e+36) (not (<= z 21000.0))) (+ x (* y 3.13060547623)) (+ x (* 1.6453555072203998 (* y b)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.3e+36) || !(z <= 21000.0)) {
tmp = x + (y * 3.13060547623);
} else {
tmp = x + (1.6453555072203998 * (y * b));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-2.3d+36)) .or. (.not. (z <= 21000.0d0))) then
tmp = x + (y * 3.13060547623d0)
else
tmp = x + (1.6453555072203998d0 * (y * b))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.3e+36) || !(z <= 21000.0)) {
tmp = x + (y * 3.13060547623);
} else {
tmp = x + (1.6453555072203998 * (y * b));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -2.3e+36) or not (z <= 21000.0): tmp = x + (y * 3.13060547623) else: tmp = x + (1.6453555072203998 * (y * b)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -2.3e+36) || !(z <= 21000.0)) tmp = Float64(x + Float64(y * 3.13060547623)); else tmp = Float64(x + Float64(1.6453555072203998 * Float64(y * b))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -2.3e+36) || ~((z <= 21000.0))) tmp = x + (y * 3.13060547623); else tmp = x + (1.6453555072203998 * (y * b)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -2.3e+36], N[Not[LessEqual[z, 21000.0]], $MachinePrecision]], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], N[(x + N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.3 \cdot 10^{+36} \lor \neg \left(z \leq 21000\right):\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{else}:\\
\;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\
\end{array}
\end{array}
if z < -2.29999999999999996e36 or 21000 < z Initial program 16.1%
Simplified19.2%
Taylor expanded in z around inf 88.6%
+-commutative88.6%
*-commutative88.6%
Simplified88.6%
if -2.29999999999999996e36 < z < 21000Initial program 99.0%
Simplified99.7%
Taylor expanded in z around 0 80.2%
+-commutative80.2%
*-commutative80.2%
Simplified80.2%
Final simplification84.2%
(FPCore (x y z t a b) :precision binary64 (+ x (* y 3.13060547623)))
double code(double x, double y, double z, double t, double a, double b) {
return x + (y * 3.13060547623);
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = x + (y * 3.13060547623d0)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x + (y * 3.13060547623);
}
def code(x, y, z, t, a, b): return x + (y * 3.13060547623)
function code(x, y, z, t, a, b) return Float64(x + Float64(y * 3.13060547623)) end
function tmp = code(x, y, z, t, a, b) tmp = x + (y * 3.13060547623); end
code[x_, y_, z_, t_, a_, b_] := N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
x + y \cdot 3.13060547623
\end{array}
Initial program 59.8%
Simplified61.7%
Taylor expanded in z around inf 63.3%
+-commutative63.3%
*-commutative63.3%
Simplified63.3%
Final simplification63.3%
(FPCore (x y z t a b) :precision binary64 x)
double code(double x, double y, double z, double t, double a, double b) {
return x;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = x
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x;
}
def code(x, y, z, t, a, b): return x
function code(x, y, z, t, a, b) return x end
function tmp = code(x, y, z, t, a, b) tmp = x; end
code[x_, y_, z_, t_, a_, b_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 59.8%
Simplified61.7%
Taylor expanded in y around 0 45.9%
Final simplification45.9%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1
(+
x
(*
(+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z)))
(/ y 1.0)))))
(if (< z -6.499344996252632e+53)
t_1
(if (< z 7.066965436914287e+59)
(+
x
(/
y
(/
(+
(*
(+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721)
z)
0.607771387771)
(+
(* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z)
b))))
t_1))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0));
double tmp;
if (z < -6.499344996252632e+53) {
tmp = t_1;
} else if (z < 7.066965436914287e+59) {
tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = x + (((3.13060547623d0 - (36.527041698806414d0 / z)) + (t / (z * z))) * (y / 1.0d0))
if (z < (-6.499344996252632d+53)) then
tmp = t_1
else if (z < 7.066965436914287d+59) then
tmp = x + (y / ((((((((z + 15.234687407d0) * z) + 31.4690115749d0) * z) + 11.9400905721d0) * z) + 0.607771387771d0) / ((((((((z * 3.13060547623d0) + 11.1667541262d0) * z) + t) * z) + a) * z) + b)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0));
double tmp;
if (z < -6.499344996252632e+53) {
tmp = t_1;
} else if (z < 7.066965436914287e+59) {
tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0)) tmp = 0 if z < -6.499344996252632e+53: tmp = t_1 elif z < 7.066965436914287e+59: tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(Float64(Float64(3.13060547623 - Float64(36.527041698806414 / z)) + Float64(t / Float64(z * z))) * Float64(y / 1.0))) tmp = 0.0 if (z < -6.499344996252632e+53) tmp = t_1; elseif (z < 7.066965436914287e+59) tmp = Float64(x + Float64(y / Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (((3.13060547623 - (36.527041698806414 / z)) + (t / (z * z))) * (y / 1.0)); tmp = 0.0; if (z < -6.499344996252632e+53) tmp = t_1; elseif (z < 7.066965436914287e+59) tmp = x + (y / ((((((((z + 15.234687407) * z) + 31.4690115749) * z) + 11.9400905721) * z) + 0.607771387771) / ((((((((z * 3.13060547623) + 11.1667541262) * z) + t) * z) + a) * z) + b))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(N[(N[(3.13060547623 - N[(36.527041698806414 / z), $MachinePrecision]), $MachinePrecision] + N[(t / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(y / 1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[z, -6.499344996252632e+53], t$95$1, If[Less[z, 7.066965436914287e+59], N[(x + N[(y / N[(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] / 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]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + \left(\left(3.13060547623 - \frac{36.527041698806414}{z}\right) + \frac{t}{z \cdot z}\right) \cdot \frac{y}{1}\\
\mathbf{if}\;z < -6.499344996252632 \cdot 10^{+53}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z < 7.066965436914287 \cdot 10^{+59}:\\
\;\;\;\;x + \frac{y}{\frac{\left(\left(\left(z + 15.234687407\right) \cdot z + 31.4690115749\right) \cdot z + 11.9400905721\right) \cdot z + 0.607771387771}{\left(\left(\left(z \cdot 3.13060547623 + 11.1667541262\right) \cdot z + t\right) \cdot z + a\right) \cdot z + b}}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
herbie shell --seed 2024066
(FPCore (x y z t a b)
:name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, D"
:precision binary64
:alt
(if (< z -6.499344996252632e+53) (+ x (* (+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z))) (/ y 1.0))) (if (< z 7.066965436914287e+59) (+ x (/ y (/ (+ (* (+ (* (+ (* (+ z 15.234687407) z) 31.4690115749) z) 11.9400905721) z) 0.607771387771) (+ (* (+ (* (+ (* (+ (* z 3.13060547623) 11.1667541262) z) t) z) a) z) b)))) (+ x (* (+ (- 3.13060547623 (/ 36.527041698806414 z)) (/ t (* z z))) (/ y 1.0)))))
(+ 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))))