
(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 16 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 (<=
(/
(*
y
(+
(* z (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))
b))
(+
0.607771387771
(*
z
(+ 11.9400905721 (* z (+ (* z (+ z 15.234687407)) 31.4690115749))))))
INFINITY)
(+
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 x)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (((y * ((z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * ((z * (z + 15.234687407)) + 31.4690115749)))))) <= ((double) INFINITY)) {
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, x);
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if (Float64(Float64(y * Float64(Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))) + b)) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)))))) <= Inf) 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, 3.13060547623, x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[N[(N[(y * N[(N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], 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 * 3.13060547623 + x), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;\frac{y \cdot \left(z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right) + b\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right)\right)} \leq \infty:\\
\;\;\;\;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, x\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000)) < +inf.0Initial program 94.4%
associate-/l*98.5%
fma-def98.5%
fma-def98.5%
fma-def98.5%
fma-def98.5%
fma-def98.5%
fma-def98.5%
fma-def98.5%
Simplified98.5%
if +inf.0 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000)) Initial program 0.0%
associate-*l/0.0%
*-commutative0.0%
fma-def0.0%
*-commutative0.0%
fma-def0.0%
*-commutative0.0%
fma-def0.0%
*-commutative0.0%
fma-def0.0%
Simplified0.0%
Taylor expanded in z around inf 97.9%
*-commutative97.9%
Simplified97.9%
Taylor expanded in x around 0 97.9%
*-commutative97.9%
fma-def97.9%
Simplified97.9%
Final simplification98.3%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1
(+
0.607771387771
(*
z
(+
11.9400905721
(* z (+ (* z (+ z 15.234687407)) 31.4690115749)))))))
(if (<=
(/
(*
y
(+
(* z (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))
b))
t_1)
INFINITY)
(+
x
(*
(/ y t_1)
(fma z (fma z (fma z (fma z 3.13060547623 11.1667541262) t) a) b)))
(fma y 3.13060547623 x))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = 0.607771387771 + (z * (11.9400905721 + (z * ((z * (z + 15.234687407)) + 31.4690115749))));
double tmp;
if (((y * ((z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))) + b)) / t_1) <= ((double) INFINITY)) {
tmp = x + ((y / t_1) * fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b));
} else {
tmp = fma(y, 3.13060547623, x);
}
return tmp;
}
function code(x, y, z, t, a, b) t_1 = Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749))))) tmp = 0.0 if (Float64(Float64(y * Float64(Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))) + b)) / t_1) <= Inf) tmp = Float64(x + Float64(Float64(y / t_1) * fma(z, fma(z, fma(z, fma(z, 3.13060547623, 11.1667541262), t), a), b))); else tmp = fma(y, 3.13060547623, x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(N[(y * N[(N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / t$95$1), $MachinePrecision], Infinity], N[(x + N[(N[(y / t$95$1), $MachinePrecision] * N[(z * N[(z * N[(z * N[(z * 3.13060547623 + 11.1667541262), $MachinePrecision] + t), $MachinePrecision] + a), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(y * 3.13060547623 + x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right)\right)\\
\mathbf{if}\;\frac{y \cdot \left(z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right) + b\right)}{t_1} \leq \infty:\\
\;\;\;\;x + \frac{y}{t_1} \cdot \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)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623, x\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000)) < +inf.0Initial program 94.4%
associate-*l/97.3%
*-commutative97.3%
fma-def97.3%
*-commutative97.3%
fma-def97.3%
*-commutative97.3%
fma-def97.3%
*-commutative97.3%
fma-def97.3%
Simplified97.3%
Taylor expanded in y around 0 97.3%
if +inf.0 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000)) Initial program 0.0%
associate-*l/0.0%
*-commutative0.0%
fma-def0.0%
*-commutative0.0%
fma-def0.0%
*-commutative0.0%
fma-def0.0%
*-commutative0.0%
fma-def0.0%
Simplified0.0%
Taylor expanded in z around inf 97.9%
*-commutative97.9%
Simplified97.9%
Taylor expanded in x around 0 97.9%
*-commutative97.9%
fma-def97.9%
Simplified97.9%
Final simplification97.5%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1
(/
(*
y
(+
(* z (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))
b))
(+
0.607771387771
(*
z
(+
11.9400905721
(* z (+ (* z (+ z 15.234687407)) 31.4690115749))))))))
(if (<= t_1 INFINITY) (+ t_1 x) (fma y 3.13060547623 x))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (y * ((z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * ((z * (z + 15.234687407)) + 31.4690115749)))));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1 + x;
} else {
tmp = fma(y, 3.13060547623, x);
}
return tmp;
}
function code(x, y, z, t, a, b) t_1 = Float64(Float64(y * Float64(Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))) + b)) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)))))) tmp = 0.0 if (t_1 <= Inf) tmp = Float64(t_1 + x); else tmp = fma(y, 3.13060547623, x); end return tmp end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(y * N[(N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], N[(t$95$1 + x), $MachinePrecision], N[(y * 3.13060547623 + x), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{y \cdot \left(z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right) + b\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right)\right)}\\
\mathbf{if}\;t_1 \leq \infty:\\
\;\;\;\;t_1 + x\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y, 3.13060547623, x\right)\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000)) < +inf.0Initial program 94.4%
if +inf.0 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000)) Initial program 0.0%
associate-*l/0.0%
*-commutative0.0%
fma-def0.0%
*-commutative0.0%
fma-def0.0%
*-commutative0.0%
fma-def0.0%
*-commutative0.0%
fma-def0.0%
Simplified0.0%
Taylor expanded in z around inf 97.9%
*-commutative97.9%
Simplified97.9%
Taylor expanded in x around 0 97.9%
*-commutative97.9%
fma-def97.9%
Simplified97.9%
Final simplification95.7%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1
(/
(*
y
(+
(* z (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))
b))
(+
0.607771387771
(*
z
(+
11.9400905721
(* z (+ (* z (+ z 15.234687407)) 31.4690115749))))))))
(if (<= t_1 INFINITY)
(+ t_1 x)
(+
x
(/
y
(+
(/ 3.7269864963038164 z)
(-
0.31942702700572795
(/ (+ 3.241970391368047 (* t 0.10203362558171805)) (* z z)))))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (y * ((z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * ((z * (z + 15.234687407)) + 31.4690115749)))));
double tmp;
if (t_1 <= ((double) INFINITY)) {
tmp = t_1 + x;
} else {
tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z)))));
}
return tmp;
}
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (y * ((z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * ((z * (z + 15.234687407)) + 31.4690115749)))));
double tmp;
if (t_1 <= Double.POSITIVE_INFINITY) {
tmp = t_1 + x;
} else {
tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z)))));
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = (y * ((z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * ((z * (z + 15.234687407)) + 31.4690115749))))) tmp = 0 if t_1 <= math.inf: tmp = t_1 + x else: tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z))))) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(y * Float64(Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))) + b)) / Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749)))))) tmp = 0.0 if (t_1 <= Inf) tmp = Float64(t_1 + x); else tmp = Float64(x + Float64(y / Float64(Float64(3.7269864963038164 / z) + Float64(0.31942702700572795 - Float64(Float64(3.241970391368047 + Float64(t * 0.10203362558171805)) / Float64(z * z)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = (y * ((z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))) + b)) / (0.607771387771 + (z * (11.9400905721 + (z * ((z * (z + 15.234687407)) + 31.4690115749))))); tmp = 0.0; if (t_1 <= Inf) tmp = t_1 + x; else tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(y * N[(N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], N[(t$95$1 + x), $MachinePrecision], N[(x + N[(y / N[(N[(3.7269864963038164 / z), $MachinePrecision] + N[(0.31942702700572795 - N[(N[(3.241970391368047 + N[(t * 0.10203362558171805), $MachinePrecision]), $MachinePrecision] / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{y \cdot \left(z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right) + b\right)}{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right)\right)}\\
\mathbf{if}\;t_1 \leq \infty:\\
\;\;\;\;t_1 + x\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{3.241970391368047 + t \cdot 0.10203362558171805}{z \cdot z}\right)}\\
\end{array}
\end{array}
if (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000)) < +inf.0Initial program 94.4%
if +inf.0 < (/.f64 (*.f64 y (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 z 313060547623/100000000000) 55833770631/5000000000) z) t) z) a) z) b)) (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 (*.f64 (+.f64 z 15234687407/1000000000) z) 314690115749/10000000000) z) 119400905721/10000000000) z) 607771387771/1000000000000)) Initial program 0.0%
associate-/l*0.0%
fma-def0.0%
fma-def0.0%
fma-def0.0%
fma-def0.0%
fma-def0.0%
fma-def0.0%
fma-def0.0%
Simplified0.0%
Taylor expanded in z around inf 97.9%
associate-*r/97.9%
metadata-eval97.9%
mul-1-neg97.9%
*-commutative97.9%
unpow297.9%
Simplified97.9%
Final simplification95.7%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1
(* z (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))))
(if (<= z -1.9e+52)
(+
x
(/
y
(+
(/ 3.7269864963038164 z)
(-
0.31942702700572795
(/ (+ 3.241970391368047 (* t 0.10203362558171805)) (* z z))))))
(if (<= z -1.85e-39)
(+
x
(/
y
(/
(+
0.607771387771
(*
z
(+
11.9400905721
(* z (+ (* z (+ z 15.234687407)) 31.4690115749)))))
t_1)))
(if (<= z 2.6e+22)
(+ x (/ (* y (+ t_1 b)) (+ 0.607771387771 (* z 11.9400905721))))
(+ x (/ y 0.31942702700572795)))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))));
double tmp;
if (z <= -1.9e+52) {
tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z)))));
} else if (z <= -1.85e-39) {
tmp = x + (y / ((0.607771387771 + (z * (11.9400905721 + (z * ((z * (z + 15.234687407)) + 31.4690115749))))) / t_1));
} else if (z <= 2.6e+22) {
tmp = x + ((y * (t_1 + b)) / (0.607771387771 + (z * 11.9400905721)));
} else {
tmp = x + (y / 0.31942702700572795);
}
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 = z * (a + (z * (t + (z * (11.1667541262d0 + (z * 3.13060547623d0))))))
if (z <= (-1.9d+52)) then
tmp = x + (y / ((3.7269864963038164d0 / z) + (0.31942702700572795d0 - ((3.241970391368047d0 + (t * 0.10203362558171805d0)) / (z * z)))))
else if (z <= (-1.85d-39)) then
tmp = x + (y / ((0.607771387771d0 + (z * (11.9400905721d0 + (z * ((z * (z + 15.234687407d0)) + 31.4690115749d0))))) / t_1))
else if (z <= 2.6d+22) then
tmp = x + ((y * (t_1 + b)) / (0.607771387771d0 + (z * 11.9400905721d0)))
else
tmp = x + (y / 0.31942702700572795d0)
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 = z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))));
double tmp;
if (z <= -1.9e+52) {
tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z)))));
} else if (z <= -1.85e-39) {
tmp = x + (y / ((0.607771387771 + (z * (11.9400905721 + (z * ((z * (z + 15.234687407)) + 31.4690115749))))) / t_1));
} else if (z <= 2.6e+22) {
tmp = x + ((y * (t_1 + b)) / (0.607771387771 + (z * 11.9400905721)));
} else {
tmp = x + (y / 0.31942702700572795);
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623)))))) tmp = 0 if z <= -1.9e+52: tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z))))) elif z <= -1.85e-39: tmp = x + (y / ((0.607771387771 + (z * (11.9400905721 + (z * ((z * (z + 15.234687407)) + 31.4690115749))))) / t_1)) elif z <= 2.6e+22: tmp = x + ((y * (t_1 + b)) / (0.607771387771 + (z * 11.9400905721))) else: tmp = x + (y / 0.31942702700572795) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))) tmp = 0.0 if (z <= -1.9e+52) tmp = Float64(x + Float64(y / Float64(Float64(3.7269864963038164 / z) + Float64(0.31942702700572795 - Float64(Float64(3.241970391368047 + Float64(t * 0.10203362558171805)) / Float64(z * z)))))); elseif (z <= -1.85e-39) tmp = Float64(x + Float64(y / Float64(Float64(0.607771387771 + Float64(z * Float64(11.9400905721 + Float64(z * Float64(Float64(z * Float64(z + 15.234687407)) + 31.4690115749))))) / t_1))); elseif (z <= 2.6e+22) tmp = Float64(x + Float64(Float64(y * Float64(t_1 + b)) / Float64(0.607771387771 + Float64(z * 11.9400905721)))); else tmp = Float64(x + Float64(y / 0.31942702700572795)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623)))))); tmp = 0.0; if (z <= -1.9e+52) tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z))))); elseif (z <= -1.85e-39) tmp = x + (y / ((0.607771387771 + (z * (11.9400905721 + (z * ((z * (z + 15.234687407)) + 31.4690115749))))) / t_1)); elseif (z <= 2.6e+22) tmp = x + ((y * (t_1 + b)) / (0.607771387771 + (z * 11.9400905721))); else tmp = x + (y / 0.31942702700572795); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.9e+52], N[(x + N[(y / N[(N[(3.7269864963038164 / z), $MachinePrecision] + N[(0.31942702700572795 - N[(N[(3.241970391368047 + N[(t * 0.10203362558171805), $MachinePrecision]), $MachinePrecision] / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.85e-39], N[(x + N[(y / N[(N[(0.607771387771 + N[(z * N[(11.9400905721 + N[(z * N[(N[(z * N[(z + 15.234687407), $MachinePrecision]), $MachinePrecision] + 31.4690115749), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.6e+22], N[(x + N[(N[(y * N[(t$95$1 + b), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * 11.9400905721), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right)\\
\mathbf{if}\;z \leq -1.9 \cdot 10^{+52}:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{3.241970391368047 + t \cdot 0.10203362558171805}{z \cdot z}\right)}\\
\mathbf{elif}\;z \leq -1.85 \cdot 10^{-39}:\\
\;\;\;\;x + \frac{y}{\frac{0.607771387771 + z \cdot \left(11.9400905721 + z \cdot \left(z \cdot \left(z + 15.234687407\right) + 31.4690115749\right)\right)}{t_1}}\\
\mathbf{elif}\;z \leq 2.6 \cdot 10^{+22}:\\
\;\;\;\;x + \frac{y \cdot \left(t_1 + b\right)}{0.607771387771 + z \cdot 11.9400905721}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\end{array}
\end{array}
if z < -1.9e52Initial program 5.2%
associate-/l*6.7%
fma-def6.7%
fma-def6.7%
fma-def6.7%
fma-def6.7%
fma-def6.7%
fma-def6.7%
fma-def6.7%
Simplified6.7%
Taylor expanded in z around inf 95.1%
associate-*r/95.1%
metadata-eval95.1%
mul-1-neg95.1%
*-commutative95.1%
unpow295.1%
Simplified95.1%
if -1.9e52 < z < -1.85000000000000007e-39Initial program 85.4%
associate-/l*90.2%
fma-def90.2%
fma-def90.2%
fma-def90.2%
fma-def90.2%
fma-def90.2%
fma-def90.2%
fma-def90.2%
Simplified90.2%
Taylor expanded in b around 0 75.9%
if -1.85000000000000007e-39 < z < 2.6e22Initial program 99.7%
Taylor expanded in z around 0 98.0%
*-commutative98.0%
Simplified98.0%
if 2.6e22 < z Initial program 16.6%
associate-/l*25.0%
fma-def25.0%
fma-def25.0%
fma-def25.0%
fma-def25.0%
fma-def25.0%
fma-def25.0%
fma-def25.0%
Simplified25.0%
Taylor expanded in z around inf 96.4%
Final simplification95.3%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -13.0)
(+ x (/ y (+ (/ 3.7269864963038164 z) 0.31942702700572795)))
(if (<= z 9.8e+16)
(+
x
(/
(*
y
(+
(* z (+ a (* z (+ t (* z (+ 11.1667541262 (* z 3.13060547623)))))))
b))
(+ 0.607771387771 (* z 11.9400905721))))
(+ x (/ y 0.31942702700572795)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -13.0) {
tmp = x + (y / ((3.7269864963038164 / z) + 0.31942702700572795));
} else if (z <= 9.8e+16) {
tmp = x + ((y * ((z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))) + b)) / (0.607771387771 + (z * 11.9400905721)));
} else {
tmp = x + (y / 0.31942702700572795);
}
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 <= (-13.0d0)) then
tmp = x + (y / ((3.7269864963038164d0 / z) + 0.31942702700572795d0))
else if (z <= 9.8d+16) then
tmp = x + ((y * ((z * (a + (z * (t + (z * (11.1667541262d0 + (z * 3.13060547623d0))))))) + b)) / (0.607771387771d0 + (z * 11.9400905721d0)))
else
tmp = x + (y / 0.31942702700572795d0)
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 <= -13.0) {
tmp = x + (y / ((3.7269864963038164 / z) + 0.31942702700572795));
} else if (z <= 9.8e+16) {
tmp = x + ((y * ((z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))) + b)) / (0.607771387771 + (z * 11.9400905721)));
} else {
tmp = x + (y / 0.31942702700572795);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -13.0: tmp = x + (y / ((3.7269864963038164 / z) + 0.31942702700572795)) elif z <= 9.8e+16: tmp = x + ((y * ((z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))) + b)) / (0.607771387771 + (z * 11.9400905721))) else: tmp = x + (y / 0.31942702700572795) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -13.0) tmp = Float64(x + Float64(y / Float64(Float64(3.7269864963038164 / z) + 0.31942702700572795))); elseif (z <= 9.8e+16) tmp = Float64(x + Float64(Float64(y * Float64(Float64(z * Float64(a + Float64(z * Float64(t + Float64(z * Float64(11.1667541262 + Float64(z * 3.13060547623))))))) + b)) / Float64(0.607771387771 + Float64(z * 11.9400905721)))); else tmp = Float64(x + Float64(y / 0.31942702700572795)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -13.0) tmp = x + (y / ((3.7269864963038164 / z) + 0.31942702700572795)); elseif (z <= 9.8e+16) tmp = x + ((y * ((z * (a + (z * (t + (z * (11.1667541262 + (z * 3.13060547623))))))) + b)) / (0.607771387771 + (z * 11.9400905721))); else tmp = x + (y / 0.31942702700572795); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -13.0], N[(x + N[(y / N[(N[(3.7269864963038164 / z), $MachinePrecision] + 0.31942702700572795), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 9.8e+16], N[(x + N[(N[(y * N[(N[(z * N[(a + N[(z * N[(t + N[(z * N[(11.1667541262 + N[(z * 3.13060547623), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + b), $MachinePrecision]), $MachinePrecision] / N[(0.607771387771 + N[(z * 11.9400905721), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -13:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + 0.31942702700572795}\\
\mathbf{elif}\;z \leq 9.8 \cdot 10^{+16}:\\
\;\;\;\;x + \frac{y \cdot \left(z \cdot \left(a + z \cdot \left(t + z \cdot \left(11.1667541262 + z \cdot 3.13060547623\right)\right)\right) + b\right)}{0.607771387771 + z \cdot 11.9400905721}\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\end{array}
\end{array}
if z < -13Initial program 21.5%
associate-/l*24.0%
fma-def24.0%
fma-def24.0%
fma-def24.0%
fma-def24.0%
fma-def24.0%
fma-def24.0%
fma-def24.0%
Simplified24.0%
Taylor expanded in z around inf 83.2%
associate-*r/83.2%
metadata-eval83.2%
Simplified83.2%
if -13 < z < 9.8e16Initial program 99.7%
Taylor expanded in z around 0 98.1%
*-commutative98.1%
Simplified98.1%
if 9.8e16 < z Initial program 16.6%
associate-/l*25.0%
fma-def25.0%
fma-def25.0%
fma-def25.0%
fma-def25.0%
fma-def25.0%
fma-def25.0%
fma-def25.0%
Simplified25.0%
Taylor expanded in z around inf 96.4%
Final simplification93.4%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -2.7e+49)
(+ x (* y 3.13060547623))
(if (<= z 1700000000000.0)
(+
x
(*
y
(+
(* z (- (* a 1.6453555072203998) (* b 32.324150453290734)))
(* b 1.6453555072203998))))
(+ x (/ y 0.31942702700572795)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -2.7e+49) {
tmp = x + (y * 3.13060547623);
} else if (z <= 1700000000000.0) {
tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998)));
} else {
tmp = x + (y / 0.31942702700572795);
}
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.7d+49)) then
tmp = x + (y * 3.13060547623d0)
else if (z <= 1700000000000.0d0) then
tmp = x + (y * ((z * ((a * 1.6453555072203998d0) - (b * 32.324150453290734d0))) + (b * 1.6453555072203998d0)))
else
tmp = x + (y / 0.31942702700572795d0)
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.7e+49) {
tmp = x + (y * 3.13060547623);
} else if (z <= 1700000000000.0) {
tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998)));
} else {
tmp = x + (y / 0.31942702700572795);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -2.7e+49: tmp = x + (y * 3.13060547623) elif z <= 1700000000000.0: tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998))) else: tmp = x + (y / 0.31942702700572795) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -2.7e+49) tmp = Float64(x + Float64(y * 3.13060547623)); elseif (z <= 1700000000000.0) tmp = Float64(x + Float64(y * Float64(Float64(z * Float64(Float64(a * 1.6453555072203998) - Float64(b * 32.324150453290734))) + Float64(b * 1.6453555072203998)))); else tmp = Float64(x + Float64(y / 0.31942702700572795)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -2.7e+49) tmp = x + (y * 3.13060547623); elseif (z <= 1700000000000.0) tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998))); else tmp = x + (y / 0.31942702700572795); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -2.7e+49], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 1700000000000.0], N[(x + N[(y * N[(N[(z * N[(N[(a * 1.6453555072203998), $MachinePrecision] - N[(b * 32.324150453290734), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.7 \cdot 10^{+49}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{elif}\;z \leq 1700000000000:\\
\;\;\;\;x + y \cdot \left(z \cdot \left(a \cdot 1.6453555072203998 - b \cdot 32.324150453290734\right) + b \cdot 1.6453555072203998\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\end{array}
\end{array}
if z < -2.7000000000000001e49Initial program 5.2%
associate-*l/5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
Simplified5.1%
Taylor expanded in z around inf 95.1%
*-commutative95.1%
Simplified95.1%
if -2.7000000000000001e49 < z < 1.7e12Initial program 97.7%
associate-*l/97.6%
*-commutative97.6%
fma-def97.6%
*-commutative97.6%
fma-def97.6%
*-commutative97.6%
fma-def97.6%
*-commutative97.6%
fma-def97.6%
Simplified97.6%
Taylor expanded in z around 0 77.5%
Taylor expanded in y around 0 85.8%
if 1.7e12 < z Initial program 18.0%
associate-/l*26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
Simplified26.3%
Taylor expanded in z around inf 94.9%
Final simplification90.0%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -2.7e+49)
(+
x
(/
y
(+
(/ 3.7269864963038164 z)
(-
0.31942702700572795
(/ (+ 3.241970391368047 (* t 0.10203362558171805)) (* z z))))))
(if (<= z 11600000000.0)
(+
x
(*
y
(+
(* z (- (* a 1.6453555072203998) (* b 32.324150453290734)))
(* b 1.6453555072203998))))
(+ x (/ y 0.31942702700572795)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -2.7e+49) {
tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z)))));
} else if (z <= 11600000000.0) {
tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998)));
} else {
tmp = x + (y / 0.31942702700572795);
}
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.7d+49)) then
tmp = x + (y / ((3.7269864963038164d0 / z) + (0.31942702700572795d0 - ((3.241970391368047d0 + (t * 0.10203362558171805d0)) / (z * z)))))
else if (z <= 11600000000.0d0) then
tmp = x + (y * ((z * ((a * 1.6453555072203998d0) - (b * 32.324150453290734d0))) + (b * 1.6453555072203998d0)))
else
tmp = x + (y / 0.31942702700572795d0)
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.7e+49) {
tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z)))));
} else if (z <= 11600000000.0) {
tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998)));
} else {
tmp = x + (y / 0.31942702700572795);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -2.7e+49: tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z))))) elif z <= 11600000000.0: tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998))) else: tmp = x + (y / 0.31942702700572795) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -2.7e+49) tmp = Float64(x + Float64(y / Float64(Float64(3.7269864963038164 / z) + Float64(0.31942702700572795 - Float64(Float64(3.241970391368047 + Float64(t * 0.10203362558171805)) / Float64(z * z)))))); elseif (z <= 11600000000.0) tmp = Float64(x + Float64(y * Float64(Float64(z * Float64(Float64(a * 1.6453555072203998) - Float64(b * 32.324150453290734))) + Float64(b * 1.6453555072203998)))); else tmp = Float64(x + Float64(y / 0.31942702700572795)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -2.7e+49) tmp = x + (y / ((3.7269864963038164 / z) + (0.31942702700572795 - ((3.241970391368047 + (t * 0.10203362558171805)) / (z * z))))); elseif (z <= 11600000000.0) tmp = x + (y * ((z * ((a * 1.6453555072203998) - (b * 32.324150453290734))) + (b * 1.6453555072203998))); else tmp = x + (y / 0.31942702700572795); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -2.7e+49], N[(x + N[(y / N[(N[(3.7269864963038164 / z), $MachinePrecision] + N[(0.31942702700572795 - N[(N[(3.241970391368047 + N[(t * 0.10203362558171805), $MachinePrecision]), $MachinePrecision] / N[(z * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 11600000000.0], N[(x + N[(y * N[(N[(z * N[(N[(a * 1.6453555072203998), $MachinePrecision] - N[(b * 32.324150453290734), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.7 \cdot 10^{+49}:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + \left(0.31942702700572795 - \frac{3.241970391368047 + t \cdot 0.10203362558171805}{z \cdot z}\right)}\\
\mathbf{elif}\;z \leq 11600000000:\\
\;\;\;\;x + y \cdot \left(z \cdot \left(a \cdot 1.6453555072203998 - b \cdot 32.324150453290734\right) + b \cdot 1.6453555072203998\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\end{array}
\end{array}
if z < -2.7000000000000001e49Initial program 5.2%
associate-/l*6.7%
fma-def6.7%
fma-def6.7%
fma-def6.7%
fma-def6.7%
fma-def6.7%
fma-def6.7%
fma-def6.7%
Simplified6.7%
Taylor expanded in z around inf 95.1%
associate-*r/95.1%
metadata-eval95.1%
mul-1-neg95.1%
*-commutative95.1%
unpow295.1%
Simplified95.1%
if -2.7000000000000001e49 < z < 1.16e10Initial program 97.7%
associate-*l/97.6%
*-commutative97.6%
fma-def97.6%
*-commutative97.6%
fma-def97.6%
*-commutative97.6%
fma-def97.6%
*-commutative97.6%
fma-def97.6%
Simplified97.6%
Taylor expanded in z around 0 77.5%
Taylor expanded in y around 0 85.8%
if 1.16e10 < z Initial program 18.0%
associate-/l*26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
Simplified26.3%
Taylor expanded in z around inf 94.9%
Final simplification90.0%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -2.7e+49)
(+ x (* y 3.13060547623))
(if (<= z 8500000000.0)
(+ x (* (* y 1.6453555072203998) (+ b (* z a))))
(+ x (/ y 0.31942702700572795)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -2.7e+49) {
tmp = x + (y * 3.13060547623);
} else if (z <= 8500000000.0) {
tmp = x + ((y * 1.6453555072203998) * (b + (z * a)));
} else {
tmp = x + (y / 0.31942702700572795);
}
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.7d+49)) then
tmp = x + (y * 3.13060547623d0)
else if (z <= 8500000000.0d0) then
tmp = x + ((y * 1.6453555072203998d0) * (b + (z * a)))
else
tmp = x + (y / 0.31942702700572795d0)
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.7e+49) {
tmp = x + (y * 3.13060547623);
} else if (z <= 8500000000.0) {
tmp = x + ((y * 1.6453555072203998) * (b + (z * a)));
} else {
tmp = x + (y / 0.31942702700572795);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -2.7e+49: tmp = x + (y * 3.13060547623) elif z <= 8500000000.0: tmp = x + ((y * 1.6453555072203998) * (b + (z * a))) else: tmp = x + (y / 0.31942702700572795) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -2.7e+49) tmp = Float64(x + Float64(y * 3.13060547623)); elseif (z <= 8500000000.0) tmp = Float64(x + Float64(Float64(y * 1.6453555072203998) * Float64(b + Float64(z * a)))); else tmp = Float64(x + Float64(y / 0.31942702700572795)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -2.7e+49) tmp = x + (y * 3.13060547623); elseif (z <= 8500000000.0) tmp = x + ((y * 1.6453555072203998) * (b + (z * a))); else tmp = x + (y / 0.31942702700572795); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -2.7e+49], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8500000000.0], N[(x + N[(N[(y * 1.6453555072203998), $MachinePrecision] * N[(b + N[(z * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.7 \cdot 10^{+49}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{elif}\;z \leq 8500000000:\\
\;\;\;\;x + \left(y \cdot 1.6453555072203998\right) \cdot \left(b + z \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\end{array}
\end{array}
if z < -2.7000000000000001e49Initial program 5.2%
associate-*l/5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
Simplified5.1%
Taylor expanded in z around inf 95.1%
*-commutative95.1%
Simplified95.1%
if -2.7000000000000001e49 < z < 8.5e9Initial program 97.7%
Taylor expanded in z around inf 95.5%
Taylor expanded in z around 0 85.1%
associate-*r*85.1%
*-commutative85.1%
associate-*r*85.1%
*-commutative85.1%
distribute-lft-out85.8%
*-commutative85.8%
Simplified85.8%
if 8.5e9 < z Initial program 18.0%
associate-/l*26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
fma-def26.3%
Simplified26.3%
Taylor expanded in z around inf 94.9%
Final simplification89.9%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -2.7e+49)
(+ x (* y 3.13060547623))
(if (<= z 0.0054)
(+ x (* y (* b 1.6453555072203998)))
(+ x (/ y (+ (/ 3.7269864963038164 z) 0.31942702700572795))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -2.7e+49) {
tmp = x + (y * 3.13060547623);
} else if (z <= 0.0054) {
tmp = x + (y * (b * 1.6453555072203998));
} else {
tmp = x + (y / ((3.7269864963038164 / z) + 0.31942702700572795));
}
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.7d+49)) then
tmp = x + (y * 3.13060547623d0)
else if (z <= 0.0054d0) then
tmp = x + (y * (b * 1.6453555072203998d0))
else
tmp = x + (y / ((3.7269864963038164d0 / z) + 0.31942702700572795d0))
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.7e+49) {
tmp = x + (y * 3.13060547623);
} else if (z <= 0.0054) {
tmp = x + (y * (b * 1.6453555072203998));
} else {
tmp = x + (y / ((3.7269864963038164 / z) + 0.31942702700572795));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -2.7e+49: tmp = x + (y * 3.13060547623) elif z <= 0.0054: tmp = x + (y * (b * 1.6453555072203998)) else: tmp = x + (y / ((3.7269864963038164 / z) + 0.31942702700572795)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -2.7e+49) tmp = Float64(x + Float64(y * 3.13060547623)); elseif (z <= 0.0054) tmp = Float64(x + Float64(y * Float64(b * 1.6453555072203998))); else tmp = Float64(x + Float64(y / Float64(Float64(3.7269864963038164 / z) + 0.31942702700572795))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -2.7e+49) tmp = x + (y * 3.13060547623); elseif (z <= 0.0054) tmp = x + (y * (b * 1.6453555072203998)); else tmp = x + (y / ((3.7269864963038164 / z) + 0.31942702700572795)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -2.7e+49], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 0.0054], N[(x + N[(y * N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / N[(N[(3.7269864963038164 / z), $MachinePrecision] + 0.31942702700572795), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.7 \cdot 10^{+49}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{elif}\;z \leq 0.0054:\\
\;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{\frac{3.7269864963038164}{z} + 0.31942702700572795}\\
\end{array}
\end{array}
if z < -2.7000000000000001e49Initial program 5.2%
associate-*l/5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
Simplified5.1%
Taylor expanded in z around inf 95.1%
*-commutative95.1%
Simplified95.1%
if -2.7000000000000001e49 < z < 0.0054000000000000003Initial program 97.7%
associate-/l*98.3%
fma-def98.3%
fma-def98.3%
fma-def98.3%
fma-def98.3%
fma-def98.3%
fma-def98.3%
fma-def98.3%
Simplified98.3%
Taylor expanded in b around inf 77.1%
Taylor expanded in z around 0 76.0%
associate-*r*76.0%
*-commutative76.0%
associate-*l*76.0%
Simplified76.0%
if 0.0054000000000000003 < z Initial program 20.8%
associate-/l*28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
Simplified28.8%
Taylor expanded in z around inf 91.7%
associate-*r/91.7%
metadata-eval91.7%
Simplified91.7%
Final simplification84.0%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ x (* y 3.13060547623))))
(if (<= z -1e-37)
t_1
(if (<= z -6e-294)
(* y (* b 1.6453555072203998))
(if (<= z 4.35e-100) x t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (y * 3.13060547623);
double tmp;
if (z <= -1e-37) {
tmp = t_1;
} else if (z <= -6e-294) {
tmp = y * (b * 1.6453555072203998);
} else if (z <= 4.35e-100) {
tmp = x;
} 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 + (y * 3.13060547623d0)
if (z <= (-1d-37)) then
tmp = t_1
else if (z <= (-6d-294)) then
tmp = y * (b * 1.6453555072203998d0)
else if (z <= 4.35d-100) then
tmp = x
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 + (y * 3.13060547623);
double tmp;
if (z <= -1e-37) {
tmp = t_1;
} else if (z <= -6e-294) {
tmp = y * (b * 1.6453555072203998);
} else if (z <= 4.35e-100) {
tmp = x;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (y * 3.13060547623) tmp = 0 if z <= -1e-37: tmp = t_1 elif z <= -6e-294: tmp = y * (b * 1.6453555072203998) elif z <= 4.35e-100: tmp = x else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(y * 3.13060547623)) tmp = 0.0 if (z <= -1e-37) tmp = t_1; elseif (z <= -6e-294) tmp = Float64(y * Float64(b * 1.6453555072203998)); elseif (z <= 4.35e-100) tmp = x; else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (y * 3.13060547623); tmp = 0.0; if (z <= -1e-37) tmp = t_1; elseif (z <= -6e-294) tmp = y * (b * 1.6453555072203998); elseif (z <= 4.35e-100) tmp = x; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1e-37], t$95$1, If[LessEqual[z, -6e-294], N[(y * N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 4.35e-100], x, t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + y \cdot 3.13060547623\\
\mathbf{if}\;z \leq -1 \cdot 10^{-37}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;z \leq -6 \cdot 10^{-294}:\\
\;\;\;\;y \cdot \left(b \cdot 1.6453555072203998\right)\\
\mathbf{elif}\;z \leq 4.35 \cdot 10^{-100}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if z < -1.00000000000000007e-37 or 4.34999999999999988e-100 < z Initial program 34.0%
associate-*l/36.9%
*-commutative36.9%
fma-def36.9%
*-commutative36.9%
fma-def36.9%
*-commutative36.9%
fma-def36.9%
*-commutative36.9%
fma-def36.9%
Simplified36.9%
Taylor expanded in z around inf 78.6%
*-commutative78.6%
Simplified78.6%
if -1.00000000000000007e-37 < z < -5.9999999999999998e-294Initial program 99.6%
associate-*l/99.6%
*-commutative99.6%
fma-def99.6%
*-commutative99.6%
fma-def99.6%
*-commutative99.6%
fma-def99.6%
*-commutative99.6%
fma-def99.6%
Simplified99.6%
Taylor expanded in z around 0 79.0%
Taylor expanded in x around 0 48.7%
associate-*r*48.7%
*-commutative48.7%
associate-*l*48.7%
Simplified48.7%
if -5.9999999999999998e-294 < z < 4.34999999999999988e-100Initial program 99.9%
associate-*l/99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
Simplified99.7%
Taylor expanded in z around inf 48.1%
*-commutative48.1%
Simplified48.1%
Taylor expanded in x around inf 59.2%
Final simplification69.1%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -4.6e-39)
(+ x (* y 3.13060547623))
(if (<= z -1.75e-296)
(* y (* b 1.6453555072203998))
(if (<= z 2.15e-100) x (+ x (/ y 0.31942702700572795))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -4.6e-39) {
tmp = x + (y * 3.13060547623);
} else if (z <= -1.75e-296) {
tmp = y * (b * 1.6453555072203998);
} else if (z <= 2.15e-100) {
tmp = x;
} else {
tmp = x + (y / 0.31942702700572795);
}
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.6d-39)) then
tmp = x + (y * 3.13060547623d0)
else if (z <= (-1.75d-296)) then
tmp = y * (b * 1.6453555072203998d0)
else if (z <= 2.15d-100) then
tmp = x
else
tmp = x + (y / 0.31942702700572795d0)
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.6e-39) {
tmp = x + (y * 3.13060547623);
} else if (z <= -1.75e-296) {
tmp = y * (b * 1.6453555072203998);
} else if (z <= 2.15e-100) {
tmp = x;
} else {
tmp = x + (y / 0.31942702700572795);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -4.6e-39: tmp = x + (y * 3.13060547623) elif z <= -1.75e-296: tmp = y * (b * 1.6453555072203998) elif z <= 2.15e-100: tmp = x else: tmp = x + (y / 0.31942702700572795) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -4.6e-39) tmp = Float64(x + Float64(y * 3.13060547623)); elseif (z <= -1.75e-296) tmp = Float64(y * Float64(b * 1.6453555072203998)); elseif (z <= 2.15e-100) tmp = x; else tmp = Float64(x + Float64(y / 0.31942702700572795)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -4.6e-39) tmp = x + (y * 3.13060547623); elseif (z <= -1.75e-296) tmp = y * (b * 1.6453555072203998); elseif (z <= 2.15e-100) tmp = x; else tmp = x + (y / 0.31942702700572795); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -4.6e-39], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.75e-296], N[(y * N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.15e-100], x, N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -4.6 \cdot 10^{-39}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{elif}\;z \leq -1.75 \cdot 10^{-296}:\\
\;\;\;\;y \cdot \left(b \cdot 1.6453555072203998\right)\\
\mathbf{elif}\;z \leq 2.15 \cdot 10^{-100}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\end{array}
\end{array}
if z < -4.60000000000000016e-39Initial program 24.5%
associate-*l/24.5%
*-commutative24.5%
fma-def24.5%
*-commutative24.5%
fma-def24.5%
*-commutative24.5%
fma-def24.5%
*-commutative24.5%
fma-def24.5%
Simplified24.5%
Taylor expanded in z around inf 82.2%
*-commutative82.2%
Simplified82.2%
if -4.60000000000000016e-39 < z < -1.7499999999999999e-296Initial program 99.6%
associate-*l/99.6%
*-commutative99.6%
fma-def99.6%
*-commutative99.6%
fma-def99.6%
*-commutative99.6%
fma-def99.6%
*-commutative99.6%
fma-def99.6%
Simplified99.6%
Taylor expanded in z around 0 79.0%
Taylor expanded in x around 0 48.7%
associate-*r*48.7%
*-commutative48.7%
associate-*l*48.7%
Simplified48.7%
if -1.7499999999999999e-296 < z < 2.14999999999999999e-100Initial program 99.9%
associate-*l/99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
*-commutative99.7%
fma-def99.7%
Simplified99.7%
Taylor expanded in z around inf 48.1%
*-commutative48.1%
Simplified48.1%
Taylor expanded in x around inf 59.2%
if 2.14999999999999999e-100 < z Initial program 42.9%
associate-/l*48.6%
fma-def48.6%
fma-def48.6%
fma-def48.6%
fma-def48.6%
fma-def48.6%
fma-def48.6%
fma-def48.6%
Simplified48.6%
Taylor expanded in z around inf 75.1%
Final simplification69.1%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -2.7e+49)
(+ x (* y 3.13060547623))
(if (<= z 0.0028)
(+ x (* 1.6453555072203998 (* y b)))
(+ x (/ y 0.31942702700572795)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -2.7e+49) {
tmp = x + (y * 3.13060547623);
} else if (z <= 0.0028) {
tmp = x + (1.6453555072203998 * (y * b));
} else {
tmp = x + (y / 0.31942702700572795);
}
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.7d+49)) then
tmp = x + (y * 3.13060547623d0)
else if (z <= 0.0028d0) then
tmp = x + (1.6453555072203998d0 * (y * b))
else
tmp = x + (y / 0.31942702700572795d0)
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.7e+49) {
tmp = x + (y * 3.13060547623);
} else if (z <= 0.0028) {
tmp = x + (1.6453555072203998 * (y * b));
} else {
tmp = x + (y / 0.31942702700572795);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -2.7e+49: tmp = x + (y * 3.13060547623) elif z <= 0.0028: tmp = x + (1.6453555072203998 * (y * b)) else: tmp = x + (y / 0.31942702700572795) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -2.7e+49) tmp = Float64(x + Float64(y * 3.13060547623)); elseif (z <= 0.0028) tmp = Float64(x + Float64(1.6453555072203998 * Float64(y * b))); else tmp = Float64(x + Float64(y / 0.31942702700572795)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -2.7e+49) tmp = x + (y * 3.13060547623); elseif (z <= 0.0028) tmp = x + (1.6453555072203998 * (y * b)); else tmp = x + (y / 0.31942702700572795); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -2.7e+49], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 0.0028], N[(x + N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.7 \cdot 10^{+49}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{elif}\;z \leq 0.0028:\\
\;\;\;\;x + 1.6453555072203998 \cdot \left(y \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\end{array}
\end{array}
if z < -2.7000000000000001e49Initial program 5.2%
associate-*l/5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
Simplified5.1%
Taylor expanded in z around inf 95.1%
*-commutative95.1%
Simplified95.1%
if -2.7000000000000001e49 < z < 0.00279999999999999997Initial program 97.7%
associate-*l/97.6%
*-commutative97.6%
fma-def97.6%
*-commutative97.6%
fma-def97.6%
*-commutative97.6%
fma-def97.6%
*-commutative97.6%
fma-def97.6%
Simplified97.6%
Taylor expanded in z around 0 76.0%
if 0.00279999999999999997 < z Initial program 20.8%
associate-/l*28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
Simplified28.8%
Taylor expanded in z around inf 91.7%
Final simplification84.0%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -2.7e+49)
(+ x (* y 3.13060547623))
(if (<= z 0.0054)
(+ x (* y (* b 1.6453555072203998)))
(+ x (/ y 0.31942702700572795)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -2.7e+49) {
tmp = x + (y * 3.13060547623);
} else if (z <= 0.0054) {
tmp = x + (y * (b * 1.6453555072203998));
} else {
tmp = x + (y / 0.31942702700572795);
}
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.7d+49)) then
tmp = x + (y * 3.13060547623d0)
else if (z <= 0.0054d0) then
tmp = x + (y * (b * 1.6453555072203998d0))
else
tmp = x + (y / 0.31942702700572795d0)
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.7e+49) {
tmp = x + (y * 3.13060547623);
} else if (z <= 0.0054) {
tmp = x + (y * (b * 1.6453555072203998));
} else {
tmp = x + (y / 0.31942702700572795);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -2.7e+49: tmp = x + (y * 3.13060547623) elif z <= 0.0054: tmp = x + (y * (b * 1.6453555072203998)) else: tmp = x + (y / 0.31942702700572795) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -2.7e+49) tmp = Float64(x + Float64(y * 3.13060547623)); elseif (z <= 0.0054) tmp = Float64(x + Float64(y * Float64(b * 1.6453555072203998))); else tmp = Float64(x + Float64(y / 0.31942702700572795)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -2.7e+49) tmp = x + (y * 3.13060547623); elseif (z <= 0.0054) tmp = x + (y * (b * 1.6453555072203998)); else tmp = x + (y / 0.31942702700572795); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -2.7e+49], N[(x + N[(y * 3.13060547623), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 0.0054], N[(x + N[(y * N[(b * 1.6453555072203998), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(y / 0.31942702700572795), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.7 \cdot 10^{+49}:\\
\;\;\;\;x + y \cdot 3.13060547623\\
\mathbf{elif}\;z \leq 0.0054:\\
\;\;\;\;x + y \cdot \left(b \cdot 1.6453555072203998\right)\\
\mathbf{else}:\\
\;\;\;\;x + \frac{y}{0.31942702700572795}\\
\end{array}
\end{array}
if z < -2.7000000000000001e49Initial program 5.2%
associate-*l/5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
*-commutative5.1%
fma-def5.1%
Simplified5.1%
Taylor expanded in z around inf 95.1%
*-commutative95.1%
Simplified95.1%
if -2.7000000000000001e49 < z < 0.0054000000000000003Initial program 97.7%
associate-/l*98.3%
fma-def98.3%
fma-def98.3%
fma-def98.3%
fma-def98.3%
fma-def98.3%
fma-def98.3%
fma-def98.3%
Simplified98.3%
Taylor expanded in b around inf 77.1%
Taylor expanded in z around 0 76.0%
associate-*r*76.0%
*-commutative76.0%
associate-*l*76.0%
Simplified76.0%
if 0.0054000000000000003 < z Initial program 20.8%
associate-/l*28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
fma-def28.8%
Simplified28.8%
Taylor expanded in z around inf 91.7%
Final simplification84.0%
(FPCore (x y z t a b) :precision binary64 (if (or (<= y -9.2e+142) (not (<= y 1.15e+148))) (* 1.6453555072203998 (* y b)) x))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -9.2e+142) || !(y <= 1.15e+148)) {
tmp = 1.6453555072203998 * (y * b);
} else {
tmp = 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 ((y <= (-9.2d+142)) .or. (.not. (y <= 1.15d+148))) then
tmp = 1.6453555072203998d0 * (y * b)
else
tmp = 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 ((y <= -9.2e+142) || !(y <= 1.15e+148)) {
tmp = 1.6453555072203998 * (y * b);
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (y <= -9.2e+142) or not (y <= 1.15e+148): tmp = 1.6453555072203998 * (y * b) else: tmp = x return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((y <= -9.2e+142) || !(y <= 1.15e+148)) tmp = Float64(1.6453555072203998 * Float64(y * b)); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((y <= -9.2e+142) || ~((y <= 1.15e+148))) tmp = 1.6453555072203998 * (y * b); else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -9.2e+142], N[Not[LessEqual[y, 1.15e+148]], $MachinePrecision]], N[(1.6453555072203998 * N[(y * b), $MachinePrecision]), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -9.2 \cdot 10^{+142} \lor \neg \left(y \leq 1.15 \cdot 10^{+148}\right):\\
\;\;\;\;1.6453555072203998 \cdot \left(y \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if y < -9.20000000000000009e142 or 1.15e148 < y Initial program 50.4%
associate-*l/57.6%
*-commutative57.6%
fma-def57.6%
*-commutative57.6%
fma-def57.6%
*-commutative57.6%
fma-def57.6%
*-commutative57.6%
fma-def57.6%
Simplified57.6%
Taylor expanded in z around 0 35.7%
Taylor expanded in x around 0 30.9%
if -9.20000000000000009e142 < y < 1.15e148Initial program 62.1%
associate-*l/61.6%
*-commutative61.6%
fma-def61.6%
*-commutative61.6%
fma-def61.6%
*-commutative61.6%
fma-def61.6%
*-commutative61.6%
fma-def61.6%
Simplified61.6%
Taylor expanded in z around inf 65.6%
*-commutative65.6%
Simplified65.6%
Taylor expanded in x around inf 56.7%
Final simplification49.0%
(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 58.6%
associate-*l/60.4%
*-commutative60.4%
fma-def60.4%
*-commutative60.4%
fma-def60.4%
*-commutative60.4%
fma-def60.4%
*-commutative60.4%
fma-def60.4%
Simplified60.4%
Taylor expanded in z around inf 61.1%
*-commutative61.1%
Simplified61.1%
Taylor expanded in x around inf 41.9%
Final simplification41.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 2023230
(FPCore (x y z t a b)
:name "Numeric.SpecFunctions:logGamma from math-functions-0.1.5.2, D"
:precision binary64
:herbie-target
(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))))