
(FPCore (x y z t a b) :precision binary64 (/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y))
double code(double x, double y, double z, double t, double a, double b) {
return (x * exp((((y * log(z)) + ((t - 1.0) * log(a))) - b))) / y;
}
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 * exp((((y * log(z)) + ((t - 1.0d0) * log(a))) - b))) / y
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return (x * Math.exp((((y * Math.log(z)) + ((t - 1.0) * Math.log(a))) - b))) / y;
}
def code(x, y, z, t, a, b): return (x * math.exp((((y * math.log(z)) + ((t - 1.0) * math.log(a))) - b))) / y
function code(x, y, z, t, a, b) return Float64(Float64(x * exp(Float64(Float64(Float64(y * log(z)) + Float64(Float64(t - 1.0) * log(a))) - b))) / y) end
function tmp = code(x, y, z, t, a, b) tmp = (x * exp((((y * log(z)) + ((t - 1.0) * log(a))) - b))) / y; end
code[x_, y_, z_, t_, a_, b_] := N[(N[(x * N[Exp[N[(N[(N[(y * N[Log[z], $MachinePrecision]), $MachinePrecision] + N[(N[(t - 1.0), $MachinePrecision] * N[Log[a], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]
\begin{array}{l}
\\
\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y}
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 20 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b) :precision binary64 (/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y))
double code(double x, double y, double z, double t, double a, double b) {
return (x * exp((((y * log(z)) + ((t - 1.0) * log(a))) - b))) / y;
}
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 * exp((((y * log(z)) + ((t - 1.0d0) * log(a))) - b))) / y
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return (x * Math.exp((((y * Math.log(z)) + ((t - 1.0) * Math.log(a))) - b))) / y;
}
def code(x, y, z, t, a, b): return (x * math.exp((((y * math.log(z)) + ((t - 1.0) * math.log(a))) - b))) / y
function code(x, y, z, t, a, b) return Float64(Float64(x * exp(Float64(Float64(Float64(y * log(z)) + Float64(Float64(t - 1.0) * log(a))) - b))) / y) end
function tmp = code(x, y, z, t, a, b) tmp = (x * exp((((y * log(z)) + ((t - 1.0) * log(a))) - b))) / y; end
code[x_, y_, z_, t_, a_, b_] := N[(N[(x * N[Exp[N[(N[(N[(y * N[Log[z], $MachinePrecision]), $MachinePrecision] + N[(N[(t - 1.0), $MachinePrecision] * N[Log[a], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]
\begin{array}{l}
\\
\frac{x \cdot e^{\left(y \cdot \log z + \left(t - 1\right) \cdot \log a\right) - b}}{y}
\end{array}
(FPCore (x y z t a b) :precision binary64 (/ (* x (exp (- (+ (* y (log z)) (* (log a) (+ t -1.0))) b))) y))
double code(double x, double y, double z, double t, double a, double b) {
return (x * exp((((y * log(z)) + (log(a) * (t + -1.0))) - b))) / y;
}
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 * exp((((y * log(z)) + (log(a) * (t + (-1.0d0)))) - b))) / y
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return (x * Math.exp((((y * Math.log(z)) + (Math.log(a) * (t + -1.0))) - b))) / y;
}
def code(x, y, z, t, a, b): return (x * math.exp((((y * math.log(z)) + (math.log(a) * (t + -1.0))) - b))) / y
function code(x, y, z, t, a, b) return Float64(Float64(x * exp(Float64(Float64(Float64(y * log(z)) + Float64(log(a) * Float64(t + -1.0))) - b))) / y) end
function tmp = code(x, y, z, t, a, b) tmp = (x * exp((((y * log(z)) + (log(a) * (t + -1.0))) - b))) / y; end
code[x_, y_, z_, t_, a_, b_] := N[(N[(x * N[Exp[N[(N[(N[(y * N[Log[z], $MachinePrecision]), $MachinePrecision] + N[(N[Log[a], $MachinePrecision] * N[(t + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]
\begin{array}{l}
\\
\frac{x \cdot e^{\left(y \cdot \log z + \log a \cdot \left(t + -1\right)\right) - b}}{y}
\end{array}
Initial program 98.4%
Final simplification98.4%
(FPCore (x y z t a b) :precision binary64 (if (or (<= t -4.4e+45) (not (<= t 5.2e+80))) (/ (* x (exp (- (* (log a) (+ t -1.0)) b))) y) (/ (* x (exp (- (- (* y (log z)) (log a)) b))) y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((t <= -4.4e+45) || !(t <= 5.2e+80)) {
tmp = (x * exp(((log(a) * (t + -1.0)) - b))) / y;
} else {
tmp = (x * exp((((y * log(z)) - log(a)) - b))) / y;
}
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 ((t <= (-4.4d+45)) .or. (.not. (t <= 5.2d+80))) then
tmp = (x * exp(((log(a) * (t + (-1.0d0))) - b))) / y
else
tmp = (x * exp((((y * log(z)) - log(a)) - b))) / y
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 ((t <= -4.4e+45) || !(t <= 5.2e+80)) {
tmp = (x * Math.exp(((Math.log(a) * (t + -1.0)) - b))) / y;
} else {
tmp = (x * Math.exp((((y * Math.log(z)) - Math.log(a)) - b))) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (t <= -4.4e+45) or not (t <= 5.2e+80): tmp = (x * math.exp(((math.log(a) * (t + -1.0)) - b))) / y else: tmp = (x * math.exp((((y * math.log(z)) - math.log(a)) - b))) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((t <= -4.4e+45) || !(t <= 5.2e+80)) tmp = Float64(Float64(x * exp(Float64(Float64(log(a) * Float64(t + -1.0)) - b))) / y); else tmp = Float64(Float64(x * exp(Float64(Float64(Float64(y * log(z)) - log(a)) - b))) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((t <= -4.4e+45) || ~((t <= 5.2e+80))) tmp = (x * exp(((log(a) * (t + -1.0)) - b))) / y; else tmp = (x * exp((((y * log(z)) - log(a)) - b))) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[t, -4.4e+45], N[Not[LessEqual[t, 5.2e+80]], $MachinePrecision]], N[(N[(x * N[Exp[N[(N[(N[Log[a], $MachinePrecision] * N[(t + -1.0), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x * N[Exp[N[(N[(N[(y * N[Log[z], $MachinePrecision]), $MachinePrecision] - N[Log[a], $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4.4 \cdot 10^{+45} \lor \neg \left(t \leq 5.2 \cdot 10^{+80}\right):\\
\;\;\;\;\frac{x \cdot e^{\log a \cdot \left(t + -1\right) - b}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot e^{\left(y \cdot \log z - \log a\right) - b}}{y}\\
\end{array}
\end{array}
if t < -4.4000000000000001e45 or 5.19999999999999963e80 < t Initial program 100.0%
Taylor expanded in y around 0 90.7%
if -4.4000000000000001e45 < t < 5.19999999999999963e80Initial program 97.4%
Taylor expanded in t around 0 96.2%
+-commutative96.2%
mul-1-neg96.2%
unsub-neg96.2%
Simplified96.2%
Final simplification94.1%
(FPCore (x y z t a b) :precision binary64 (if (or (<= y -4.1e+98) (not (<= y 1e+165))) (/ (* x (/ (pow z y) a)) y) (/ (* x (exp (- (* (log a) (+ t -1.0)) b))) y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -4.1e+98) || !(y <= 1e+165)) {
tmp = (x * (pow(z, y) / a)) / y;
} else {
tmp = (x * exp(((log(a) * (t + -1.0)) - b))) / y;
}
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 <= (-4.1d+98)) .or. (.not. (y <= 1d+165))) then
tmp = (x * ((z ** y) / a)) / y
else
tmp = (x * exp(((log(a) * (t + (-1.0d0))) - b))) / y
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 <= -4.1e+98) || !(y <= 1e+165)) {
tmp = (x * (Math.pow(z, y) / a)) / y;
} else {
tmp = (x * Math.exp(((Math.log(a) * (t + -1.0)) - b))) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (y <= -4.1e+98) or not (y <= 1e+165): tmp = (x * (math.pow(z, y) / a)) / y else: tmp = (x * math.exp(((math.log(a) * (t + -1.0)) - b))) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((y <= -4.1e+98) || !(y <= 1e+165)) tmp = Float64(Float64(x * Float64((z ^ y) / a)) / y); else tmp = Float64(Float64(x * exp(Float64(Float64(log(a) * Float64(t + -1.0)) - b))) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((y <= -4.1e+98) || ~((y <= 1e+165))) tmp = (x * ((z ^ y) / a)) / y; else tmp = (x * exp(((log(a) * (t + -1.0)) - b))) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -4.1e+98], N[Not[LessEqual[y, 1e+165]], $MachinePrecision]], N[(N[(x * N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x * N[Exp[N[(N[(N[Log[a], $MachinePrecision] * N[(t + -1.0), $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -4.1 \cdot 10^{+98} \lor \neg \left(y \leq 10^{+165}\right):\\
\;\;\;\;\frac{x \cdot \frac{{z}^{y}}{a}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot e^{\log a \cdot \left(t + -1\right) - b}}{y}\\
\end{array}
\end{array}
if y < -4.1e98 or 9.99999999999999899e164 < y Initial program 100.0%
Taylor expanded in t around 0 98.8%
+-commutative98.8%
mul-1-neg98.8%
unsub-neg98.8%
Simplified98.8%
Taylor expanded in b around 0 93.8%
div-exp93.8%
*-commutative93.8%
exp-to-pow93.8%
rem-exp-log93.8%
Simplified93.8%
if -4.1e98 < y < 9.99999999999999899e164Initial program 97.6%
Taylor expanded in y around 0 88.3%
Final simplification90.0%
(FPCore (x y z t a b) :precision binary64 (if (or (<= y -1.55e+33) (not (<= y 9.6e+164))) (/ (* x (/ (pow z y) a)) y) (/ x (/ y (/ (pow a (+ t -1.0)) (exp b))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -1.55e+33) || !(y <= 9.6e+164)) {
tmp = (x * (pow(z, y) / a)) / y;
} else {
tmp = x / (y / (pow(a, (t + -1.0)) / exp(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 ((y <= (-1.55d+33)) .or. (.not. (y <= 9.6d+164))) then
tmp = (x * ((z ** y) / a)) / y
else
tmp = x / (y / ((a ** (t + (-1.0d0))) / exp(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 ((y <= -1.55e+33) || !(y <= 9.6e+164)) {
tmp = (x * (Math.pow(z, y) / a)) / y;
} else {
tmp = x / (y / (Math.pow(a, (t + -1.0)) / Math.exp(b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (y <= -1.55e+33) or not (y <= 9.6e+164): tmp = (x * (math.pow(z, y) / a)) / y else: tmp = x / (y / (math.pow(a, (t + -1.0)) / math.exp(b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((y <= -1.55e+33) || !(y <= 9.6e+164)) tmp = Float64(Float64(x * Float64((z ^ y) / a)) / y); else tmp = Float64(x / Float64(y / Float64((a ^ Float64(t + -1.0)) / exp(b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((y <= -1.55e+33) || ~((y <= 9.6e+164))) tmp = (x * ((z ^ y) / a)) / y; else tmp = x / (y / ((a ^ (t + -1.0)) / exp(b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -1.55e+33], N[Not[LessEqual[y, 9.6e+164]], $MachinePrecision]], N[(N[(x * N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(x / N[(y / N[(N[Power[a, N[(t + -1.0), $MachinePrecision]], $MachinePrecision] / N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -1.55 \cdot 10^{+33} \lor \neg \left(y \leq 9.6 \cdot 10^{+164}\right):\\
\;\;\;\;\frac{x \cdot \frac{{z}^{y}}{a}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{\frac{y}{\frac{{a}^{\left(t + -1\right)}}{e^{b}}}}\\
\end{array}
\end{array}
if y < -1.55e33 or 9.60000000000000043e164 < y Initial program 100.0%
Taylor expanded in t around 0 94.7%
+-commutative94.7%
mul-1-neg94.7%
unsub-neg94.7%
Simplified94.7%
Taylor expanded in b around 0 89.4%
div-exp89.4%
*-commutative89.4%
exp-to-pow89.4%
rem-exp-log89.4%
Simplified89.4%
if -1.55e33 < y < 9.60000000000000043e164Initial program 97.4%
Taylor expanded in y around 0 90.3%
associate-/l*90.3%
div-exp81.1%
exp-to-pow81.9%
sub-neg81.9%
metadata-eval81.9%
Simplified81.9%
Final simplification84.6%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (/ (* x (/ (pow z y) a)) y)))
(if (<= y -4.2e-6)
t_1
(if (<= y 1.4e-250)
(/ x (* a (* y (exp b))))
(if (<= y 4.9e+114) (/ x (/ y (pow a (+ t -1.0)))) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (x * (pow(z, y) / a)) / y;
double tmp;
if (y <= -4.2e-6) {
tmp = t_1;
} else if (y <= 1.4e-250) {
tmp = x / (a * (y * exp(b)));
} else if (y <= 4.9e+114) {
tmp = x / (y / pow(a, (t + -1.0)));
} 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 * ((z ** y) / a)) / y
if (y <= (-4.2d-6)) then
tmp = t_1
else if (y <= 1.4d-250) then
tmp = x / (a * (y * exp(b)))
else if (y <= 4.9d+114) then
tmp = x / (y / (a ** (t + (-1.0d0))))
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 * (Math.pow(z, y) / a)) / y;
double tmp;
if (y <= -4.2e-6) {
tmp = t_1;
} else if (y <= 1.4e-250) {
tmp = x / (a * (y * Math.exp(b)));
} else if (y <= 4.9e+114) {
tmp = x / (y / Math.pow(a, (t + -1.0)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = (x * (math.pow(z, y) / a)) / y tmp = 0 if y <= -4.2e-6: tmp = t_1 elif y <= 1.4e-250: tmp = x / (a * (y * math.exp(b))) elif y <= 4.9e+114: tmp = x / (y / math.pow(a, (t + -1.0))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(x * Float64((z ^ y) / a)) / y) tmp = 0.0 if (y <= -4.2e-6) tmp = t_1; elseif (y <= 1.4e-250) tmp = Float64(x / Float64(a * Float64(y * exp(b)))); elseif (y <= 4.9e+114) tmp = Float64(x / Float64(y / (a ^ Float64(t + -1.0)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = (x * ((z ^ y) / a)) / y; tmp = 0.0; if (y <= -4.2e-6) tmp = t_1; elseif (y <= 1.4e-250) tmp = x / (a * (y * exp(b))); elseif (y <= 4.9e+114) tmp = x / (y / (a ^ (t + -1.0))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(x * N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]}, If[LessEqual[y, -4.2e-6], t$95$1, If[LessEqual[y, 1.4e-250], N[(x / N[(a * N[(y * N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.9e+114], N[(x / N[(y / N[Power[a, N[(t + -1.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x \cdot \frac{{z}^{y}}{a}}{y}\\
\mathbf{if}\;y \leq -4.2 \cdot 10^{-6}:\\
\;\;\;\;t_1\\
\mathbf{elif}\;y \leq 1.4 \cdot 10^{-250}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot e^{b}\right)}\\
\mathbf{elif}\;y \leq 4.9 \cdot 10^{+114}:\\
\;\;\;\;\frac{x}{\frac{y}{{a}^{\left(t + -1\right)}}}\\
\mathbf{else}:\\
\;\;\;\;t_1\\
\end{array}
\end{array}
if y < -4.1999999999999996e-6 or 4.9000000000000001e114 < y Initial program 100.0%
Taylor expanded in t around 0 92.9%
+-commutative92.9%
mul-1-neg92.9%
unsub-neg92.9%
Simplified92.9%
Taylor expanded in b around 0 86.6%
div-exp86.6%
*-commutative86.6%
exp-to-pow86.6%
rem-exp-log86.6%
Simplified86.6%
if -4.1999999999999996e-6 < y < 1.40000000000000014e-250Initial program 95.9%
associate-*l/84.9%
*-commutative84.9%
+-commutative84.9%
associate--l+84.9%
exp-sum77.5%
*-commutative77.5%
exp-to-pow79.0%
sub-neg79.0%
metadata-eval79.0%
exp-diff79.0%
*-commutative79.0%
exp-to-pow79.0%
Simplified79.0%
Taylor expanded in t around 0 81.3%
times-frac69.5%
Simplified69.5%
Taylor expanded in y around 0 81.3%
if 1.40000000000000014e-250 < y < 4.9000000000000001e114Initial program 98.1%
associate-*l/96.7%
*-commutative96.7%
+-commutative96.7%
associate--l+96.7%
exp-sum80.2%
*-commutative80.2%
exp-to-pow81.0%
sub-neg81.0%
metadata-eval81.0%
exp-diff67.0%
*-commutative67.0%
exp-to-pow67.0%
Simplified67.0%
Taylor expanded in y around 0 79.5%
exp-to-pow80.1%
sub-neg80.1%
metadata-eval80.1%
Simplified80.1%
Taylor expanded in b around 0 70.0%
Simplified70.5%
Final simplification80.3%
(FPCore (x y z t a b) :precision binary64 (if (or (<= b -8e-21) (not (<= b 270.0))) (/ x (* a (* y (exp b)))) (* (/ (pow z y) a) (/ x y))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((b <= -8e-21) || !(b <= 270.0)) {
tmp = x / (a * (y * exp(b)));
} else {
tmp = (pow(z, y) / a) * (x / y);
}
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 ((b <= (-8d-21)) .or. (.not. (b <= 270.0d0))) then
tmp = x / (a * (y * exp(b)))
else
tmp = ((z ** y) / a) * (x / y)
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 ((b <= -8e-21) || !(b <= 270.0)) {
tmp = x / (a * (y * Math.exp(b)));
} else {
tmp = (Math.pow(z, y) / a) * (x / y);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (b <= -8e-21) or not (b <= 270.0): tmp = x / (a * (y * math.exp(b))) else: tmp = (math.pow(z, y) / a) * (x / y) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((b <= -8e-21) || !(b <= 270.0)) tmp = Float64(x / Float64(a * Float64(y * exp(b)))); else tmp = Float64(Float64((z ^ y) / a) * Float64(x / y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((b <= -8e-21) || ~((b <= 270.0))) tmp = x / (a * (y * exp(b))); else tmp = ((z ^ y) / a) * (x / y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[b, -8e-21], N[Not[LessEqual[b, 270.0]], $MachinePrecision]], N[(x / N[(a * N[(y * N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision] * N[(x / y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -8 \cdot 10^{-21} \lor \neg \left(b \leq 270\right):\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot e^{b}\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{{z}^{y}}{a} \cdot \frac{x}{y}\\
\end{array}
\end{array}
if b < -7.99999999999999926e-21 or 270 < b Initial program 100.0%
associate-*l/83.8%
*-commutative83.8%
+-commutative83.8%
associate--l+83.8%
exp-sum68.5%
*-commutative68.5%
exp-to-pow68.5%
sub-neg68.5%
metadata-eval68.5%
exp-diff44.6%
*-commutative44.6%
exp-to-pow44.6%
Simplified44.6%
Taylor expanded in t around 0 62.4%
times-frac56.2%
Simplified56.2%
Taylor expanded in y around 0 78.0%
if -7.99999999999999926e-21 < b < 270Initial program 96.7%
Taylor expanded in t around 0 75.1%
+-commutative75.1%
mul-1-neg75.1%
unsub-neg75.1%
Simplified75.1%
Taylor expanded in b around 0 74.9%
div-exp74.9%
*-commutative74.9%
exp-to-pow74.9%
rem-exp-log75.9%
Simplified75.9%
Taylor expanded in x around 0 68.8%
associate-/r*75.9%
associate-*r/75.9%
*-commutative75.9%
associate-*r/71.9%
Simplified71.9%
Final simplification75.0%
(FPCore (x y z t a b) :precision binary64 (if (<= y 6.9e+249) (/ x (* a (* y (exp b)))) (/ (* x (/ (exp b) y)) a)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (y <= 6.9e+249) {
tmp = x / (a * (y * exp(b)));
} else {
tmp = (x * (exp(b) / y)) / a;
}
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 <= 6.9d+249) then
tmp = x / (a * (y * exp(b)))
else
tmp = (x * (exp(b) / y)) / a
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 <= 6.9e+249) {
tmp = x / (a * (y * Math.exp(b)));
} else {
tmp = (x * (Math.exp(b) / y)) / a;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if y <= 6.9e+249: tmp = x / (a * (y * math.exp(b))) else: tmp = (x * (math.exp(b) / y)) / a return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (y <= 6.9e+249) tmp = Float64(x / Float64(a * Float64(y * exp(b)))); else tmp = Float64(Float64(x * Float64(exp(b) / y)) / a); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (y <= 6.9e+249) tmp = x / (a * (y * exp(b))); else tmp = (x * (exp(b) / y)) / a; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[y, 6.9e+249], N[(x / N[(a * N[(y * N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x * N[(N[Exp[b], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision] / a), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 6.9 \cdot 10^{+249}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot e^{b}\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot \frac{e^{b}}{y}}{a}\\
\end{array}
\end{array}
if y < 6.90000000000000025e249Initial program 98.2%
associate-*l/89.2%
*-commutative89.2%
+-commutative89.2%
associate--l+89.2%
exp-sum75.3%
*-commutative75.3%
exp-to-pow76.0%
sub-neg76.0%
metadata-eval76.0%
exp-diff65.5%
*-commutative65.5%
exp-to-pow65.5%
Simplified65.5%
Taylor expanded in t around 0 67.3%
times-frac63.0%
Simplified63.0%
Taylor expanded in y around 0 59.2%
if 6.90000000000000025e249 < y Initial program 100.0%
associate-*l/72.2%
*-commutative72.2%
+-commutative72.2%
associate--l+72.2%
exp-sum55.6%
*-commutative55.6%
exp-to-pow55.6%
sub-neg55.6%
metadata-eval55.6%
exp-diff22.2%
*-commutative22.2%
exp-to-pow22.2%
Simplified22.2%
Taylor expanded in t around 0 44.4%
times-frac38.9%
Simplified38.9%
Taylor expanded in y around 0 23.6%
*-commutative23.6%
associate-/r*23.6%
rec-exp23.6%
Simplified23.6%
associate-*l/23.9%
add-sqr-sqrt11.5%
sqrt-unprod51.2%
sqr-neg51.2%
sqrt-unprod39.7%
add-sqr-sqrt56.7%
Applied egg-rr56.7%
Final simplification59.0%
(FPCore (x y z t a b) :precision binary64 (/ x (* a (* y (exp b)))))
double code(double x, double y, double z, double t, double a, double b) {
return x / (a * (y * exp(b)));
}
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 / (a * (y * exp(b)))
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x / (a * (y * Math.exp(b)));
}
def code(x, y, z, t, a, b): return x / (a * (y * math.exp(b)))
function code(x, y, z, t, a, b) return Float64(x / Float64(a * Float64(y * exp(b)))) end
function tmp = code(x, y, z, t, a, b) tmp = x / (a * (y * exp(b))); end
code[x_, y_, z_, t_, a_, b_] := N[(x / N[(a * N[(y * N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{a \cdot \left(y \cdot e^{b}\right)}
\end{array}
Initial program 98.4%
associate-*l/88.0%
*-commutative88.0%
+-commutative88.0%
associate--l+88.0%
exp-sum73.9%
*-commutative73.9%
exp-to-pow74.6%
sub-neg74.6%
metadata-eval74.6%
exp-diff62.5%
*-commutative62.5%
exp-to-pow62.5%
Simplified62.5%
Taylor expanded in t around 0 65.7%
times-frac61.3%
Simplified61.3%
Taylor expanded in y around 0 57.1%
Final simplification57.1%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (/ (/ x a) y)))
(if (<= b -6.8e+117)
(+ (- t_1 (* (/ x y) (/ b a))) (* (* b b) (* t_1 0.5)))
(if (<= b -1.02e-247)
(/ (* a (- (/ (* x y) y) (* x b))) (* y (* a a)))
(if (<= b 3.7e-296)
(* x (/ (- b) (* y a)))
(/ x (* a (+ y (* y (+ b (* (* b b) 0.5)))))))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (x / a) / y;
double tmp;
if (b <= -6.8e+117) {
tmp = (t_1 - ((x / y) * (b / a))) + ((b * b) * (t_1 * 0.5));
} else if (b <= -1.02e-247) {
tmp = (a * (((x * y) / y) - (x * b))) / (y * (a * a));
} else if (b <= 3.7e-296) {
tmp = x * (-b / (y * a));
} else {
tmp = x / (a * (y + (y * (b + ((b * b) * 0.5)))));
}
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 / a) / y
if (b <= (-6.8d+117)) then
tmp = (t_1 - ((x / y) * (b / a))) + ((b * b) * (t_1 * 0.5d0))
else if (b <= (-1.02d-247)) then
tmp = (a * (((x * y) / y) - (x * b))) / (y * (a * a))
else if (b <= 3.7d-296) then
tmp = x * (-b / (y * a))
else
tmp = x / (a * (y + (y * (b + ((b * b) * 0.5d0)))))
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 / a) / y;
double tmp;
if (b <= -6.8e+117) {
tmp = (t_1 - ((x / y) * (b / a))) + ((b * b) * (t_1 * 0.5));
} else if (b <= -1.02e-247) {
tmp = (a * (((x * y) / y) - (x * b))) / (y * (a * a));
} else if (b <= 3.7e-296) {
tmp = x * (-b / (y * a));
} else {
tmp = x / (a * (y + (y * (b + ((b * b) * 0.5)))));
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = (x / a) / y tmp = 0 if b <= -6.8e+117: tmp = (t_1 - ((x / y) * (b / a))) + ((b * b) * (t_1 * 0.5)) elif b <= -1.02e-247: tmp = (a * (((x * y) / y) - (x * b))) / (y * (a * a)) elif b <= 3.7e-296: tmp = x * (-b / (y * a)) else: tmp = x / (a * (y + (y * (b + ((b * b) * 0.5))))) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(x / a) / y) tmp = 0.0 if (b <= -6.8e+117) tmp = Float64(Float64(t_1 - Float64(Float64(x / y) * Float64(b / a))) + Float64(Float64(b * b) * Float64(t_1 * 0.5))); elseif (b <= -1.02e-247) tmp = Float64(Float64(a * Float64(Float64(Float64(x * y) / y) - Float64(x * b))) / Float64(y * Float64(a * a))); elseif (b <= 3.7e-296) tmp = Float64(x * Float64(Float64(-b) / Float64(y * a))); else tmp = Float64(x / Float64(a * Float64(y + Float64(y * Float64(b + Float64(Float64(b * b) * 0.5)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = (x / a) / y; tmp = 0.0; if (b <= -6.8e+117) tmp = (t_1 - ((x / y) * (b / a))) + ((b * b) * (t_1 * 0.5)); elseif (b <= -1.02e-247) tmp = (a * (((x * y) / y) - (x * b))) / (y * (a * a)); elseif (b <= 3.7e-296) tmp = x * (-b / (y * a)); else tmp = x / (a * (y + (y * (b + ((b * b) * 0.5))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(x / a), $MachinePrecision] / y), $MachinePrecision]}, If[LessEqual[b, -6.8e+117], N[(N[(t$95$1 - N[(N[(x / y), $MachinePrecision] * N[(b / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(b * b), $MachinePrecision] * N[(t$95$1 * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.02e-247], N[(N[(a * N[(N[(N[(x * y), $MachinePrecision] / y), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(y * N[(a * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.7e-296], N[(x * N[((-b) / N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(a * N[(y + N[(y * N[(b + N[(N[(b * b), $MachinePrecision] * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{\frac{x}{a}}{y}\\
\mathbf{if}\;b \leq -6.8 \cdot 10^{+117}:\\
\;\;\;\;\left(t_1 - \frac{x}{y} \cdot \frac{b}{a}\right) + \left(b \cdot b\right) \cdot \left(t_1 \cdot 0.5\right)\\
\mathbf{elif}\;b \leq -1.02 \cdot 10^{-247}:\\
\;\;\;\;\frac{a \cdot \left(\frac{x \cdot y}{y} - x \cdot b\right)}{y \cdot \left(a \cdot a\right)}\\
\mathbf{elif}\;b \leq 3.7 \cdot 10^{-296}:\\
\;\;\;\;x \cdot \frac{-b}{y \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y + y \cdot \left(b + \left(b \cdot b\right) \cdot 0.5\right)\right)}\\
\end{array}
\end{array}
if b < -6.8000000000000002e117Initial program 100.0%
associate-*l/90.2%
*-commutative90.2%
+-commutative90.2%
associate--l+90.2%
exp-sum80.5%
*-commutative80.5%
exp-to-pow80.5%
sub-neg80.5%
metadata-eval80.5%
exp-diff58.5%
*-commutative58.5%
exp-to-pow58.5%
Simplified58.5%
Taylor expanded in t around 0 73.2%
times-frac70.7%
Simplified70.7%
Taylor expanded in y around 0 90.4%
Taylor expanded in b around 0 42.0%
+-commutative42.0%
+-commutative42.0%
*-commutative42.0%
mul-1-neg42.0%
unsub-neg42.0%
*-commutative42.0%
associate-/r*42.0%
times-frac37.1%
mul-1-neg37.1%
distribute-rgt-neg-in37.1%
distribute-rgt-out66.4%
metadata-eval66.4%
*-commutative66.4%
*-commutative66.4%
Simplified66.4%
if -6.8000000000000002e117 < b < -1.01999999999999994e-247Initial program 97.9%
associate-*l/90.1%
*-commutative90.1%
+-commutative90.1%
associate--l+90.1%
exp-sum78.0%
*-commutative78.0%
exp-to-pow78.8%
sub-neg78.8%
metadata-eval78.8%
exp-diff72.7%
*-commutative72.7%
exp-to-pow72.7%
Simplified72.7%
Taylor expanded in t around 0 68.9%
times-frac67.1%
Simplified67.1%
Taylor expanded in y around 0 47.2%
Taylor expanded in b around 0 32.7%
+-commutative32.7%
*-commutative32.7%
associate-/r*32.7%
associate-*r/32.7%
frac-add33.2%
*-commutative33.2%
neg-mul-133.2%
*-commutative33.2%
distribute-rgt-neg-in33.2%
*-commutative33.2%
Applied egg-rr33.2%
+-commutative33.2%
*-commutative33.2%
associate-*r*42.5%
distribute-rgt-out42.5%
distribute-rgt-neg-out42.5%
*-commutative42.5%
distribute-rgt-neg-in42.5%
associate-*l/42.5%
*-commutative42.5%
associate-*l*43.8%
Simplified43.8%
if -1.01999999999999994e-247 < b < 3.70000000000000027e-296Initial program 100.0%
associate-*l/87.5%
*-commutative87.5%
+-commutative87.5%
associate--l+87.5%
exp-sum75.0%
*-commutative75.0%
exp-to-pow75.0%
sub-neg75.0%
metadata-eval75.0%
exp-diff75.0%
*-commutative75.0%
exp-to-pow75.0%
Simplified75.0%
Taylor expanded in t around 0 83.7%
times-frac75.6%
Simplified75.6%
Taylor expanded in y around 0 27.5%
Taylor expanded in b around 0 23.4%
Taylor expanded in b around inf 47.1%
*-commutative47.1%
*-commutative47.1%
associate-*r/47.1%
neg-mul-147.1%
distribute-rgt-neg-out47.1%
associate-*r/55.3%
Simplified55.3%
if 3.70000000000000027e-296 < b Initial program 97.7%
associate-*l/86.2%
*-commutative86.2%
+-commutative86.2%
associate--l+86.2%
exp-sum69.5%
*-commutative69.5%
exp-to-pow70.3%
sub-neg70.3%
metadata-eval70.3%
exp-diff55.9%
*-commutative55.9%
exp-to-pow55.9%
Simplified55.9%
Taylor expanded in t around 0 58.0%
times-frac52.5%
Simplified52.5%
Taylor expanded in y around 0 57.1%
Taylor expanded in b around 0 40.9%
+-commutative40.9%
associate-*r*40.9%
distribute-rgt-out40.9%
unpow240.9%
Simplified40.9%
Final simplification47.1%
(FPCore (x y z t a b)
:precision binary64
(if (<= b -8.6e+166)
(/ (- (/ x a) (* x (/ b a))) y)
(if (<= b -6.7e-242)
(/ (* a (- (/ (* x y) y) (* x b))) (* y (* a a)))
(if (<= b 3.6e-292)
(* x (/ (- b) (* y a)))
(/ x (* a (+ y (* y (+ b (* (* b b) 0.5))))))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -8.6e+166) {
tmp = ((x / a) - (x * (b / a))) / y;
} else if (b <= -6.7e-242) {
tmp = (a * (((x * y) / y) - (x * b))) / (y * (a * a));
} else if (b <= 3.6e-292) {
tmp = x * (-b / (y * a));
} else {
tmp = x / (a * (y + (y * (b + ((b * b) * 0.5)))));
}
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 (b <= (-8.6d+166)) then
tmp = ((x / a) - (x * (b / a))) / y
else if (b <= (-6.7d-242)) then
tmp = (a * (((x * y) / y) - (x * b))) / (y * (a * a))
else if (b <= 3.6d-292) then
tmp = x * (-b / (y * a))
else
tmp = x / (a * (y + (y * (b + ((b * b) * 0.5d0)))))
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 (b <= -8.6e+166) {
tmp = ((x / a) - (x * (b / a))) / y;
} else if (b <= -6.7e-242) {
tmp = (a * (((x * y) / y) - (x * b))) / (y * (a * a));
} else if (b <= 3.6e-292) {
tmp = x * (-b / (y * a));
} else {
tmp = x / (a * (y + (y * (b + ((b * b) * 0.5)))));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -8.6e+166: tmp = ((x / a) - (x * (b / a))) / y elif b <= -6.7e-242: tmp = (a * (((x * y) / y) - (x * b))) / (y * (a * a)) elif b <= 3.6e-292: tmp = x * (-b / (y * a)) else: tmp = x / (a * (y + (y * (b + ((b * b) * 0.5))))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -8.6e+166) tmp = Float64(Float64(Float64(x / a) - Float64(x * Float64(b / a))) / y); elseif (b <= -6.7e-242) tmp = Float64(Float64(a * Float64(Float64(Float64(x * y) / y) - Float64(x * b))) / Float64(y * Float64(a * a))); elseif (b <= 3.6e-292) tmp = Float64(x * Float64(Float64(-b) / Float64(y * a))); else tmp = Float64(x / Float64(a * Float64(y + Float64(y * Float64(b + Float64(Float64(b * b) * 0.5)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -8.6e+166) tmp = ((x / a) - (x * (b / a))) / y; elseif (b <= -6.7e-242) tmp = (a * (((x * y) / y) - (x * b))) / (y * (a * a)); elseif (b <= 3.6e-292) tmp = x * (-b / (y * a)); else tmp = x / (a * (y + (y * (b + ((b * b) * 0.5))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -8.6e+166], N[(N[(N[(x / a), $MachinePrecision] - N[(x * N[(b / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[b, -6.7e-242], N[(N[(a * N[(N[(N[(x * y), $MachinePrecision] / y), $MachinePrecision] - N[(x * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(y * N[(a * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.6e-292], N[(x * N[((-b) / N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(a * N[(y + N[(y * N[(b + N[(N[(b * b), $MachinePrecision] * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -8.6 \cdot 10^{+166}:\\
\;\;\;\;\frac{\frac{x}{a} - x \cdot \frac{b}{a}}{y}\\
\mathbf{elif}\;b \leq -6.7 \cdot 10^{-242}:\\
\;\;\;\;\frac{a \cdot \left(\frac{x \cdot y}{y} - x \cdot b\right)}{y \cdot \left(a \cdot a\right)}\\
\mathbf{elif}\;b \leq 3.6 \cdot 10^{-292}:\\
\;\;\;\;x \cdot \frac{-b}{y \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y + y \cdot \left(b + \left(b \cdot b\right) \cdot 0.5\right)\right)}\\
\end{array}
\end{array}
if b < -8.5999999999999999e166Initial program 100.0%
associate-*l/89.7%
*-commutative89.7%
+-commutative89.7%
associate--l+89.7%
exp-sum79.3%
*-commutative79.3%
exp-to-pow79.3%
sub-neg79.3%
metadata-eval79.3%
exp-diff51.7%
*-commutative51.7%
exp-to-pow51.7%
Simplified51.7%
Taylor expanded in t around 0 65.5%
times-frac65.5%
Simplified65.5%
Taylor expanded in y around 0 86.4%
Taylor expanded in b around 0 56.4%
Taylor expanded in y around 0 59.8%
+-commutative59.8%
mul-1-neg59.8%
unsub-neg59.8%
associate-*l/66.5%
*-commutative66.5%
Simplified66.5%
if -8.5999999999999999e166 < b < -6.70000000000000029e-242Initial program 98.3%
associate-*l/90.3%
*-commutative90.3%
+-commutative90.3%
associate--l+90.3%
exp-sum78.8%
*-commutative78.8%
exp-to-pow79.5%
sub-neg79.5%
metadata-eval79.5%
exp-diff73.1%
*-commutative73.1%
exp-to-pow73.1%
Simplified73.1%
Taylor expanded in t around 0 72.4%
times-frac69.6%
Simplified69.6%
Taylor expanded in y around 0 55.3%
Taylor expanded in b around 0 34.4%
+-commutative34.4%
*-commutative34.4%
associate-/r*34.4%
associate-*r/34.4%
frac-add36.0%
*-commutative36.0%
neg-mul-136.0%
*-commutative36.0%
distribute-rgt-neg-in36.0%
*-commutative36.0%
Applied egg-rr36.0%
+-commutative36.0%
*-commutative36.0%
associate-*r*43.8%
distribute-rgt-out43.8%
distribute-rgt-neg-out43.8%
*-commutative43.8%
distribute-rgt-neg-in43.8%
associate-*l/43.8%
*-commutative43.8%
associate-*l*44.9%
Simplified44.9%
if -6.70000000000000029e-242 < b < 3.6000000000000002e-292Initial program 100.0%
associate-*l/84.0%
*-commutative84.0%
+-commutative84.0%
associate--l+84.0%
exp-sum72.0%
*-commutative72.0%
exp-to-pow72.0%
sub-neg72.0%
metadata-eval72.0%
exp-diff72.0%
*-commutative72.0%
exp-to-pow72.0%
Simplified72.0%
Taylor expanded in t around 0 84.4%
times-frac76.5%
Simplified76.5%
Taylor expanded in y around 0 26.5%
Taylor expanded in b around 0 22.5%
Taylor expanded in b around inf 45.3%
*-commutative45.3%
*-commutative45.3%
associate-*r/45.3%
neg-mul-145.3%
distribute-rgt-neg-out45.3%
associate-*r/53.1%
Simplified53.1%
if 3.6000000000000002e-292 < b Initial program 97.7%
associate-*l/86.9%
*-commutative86.9%
+-commutative86.9%
associate--l+86.9%
exp-sum70.0%
*-commutative70.0%
exp-to-pow70.9%
sub-neg70.9%
metadata-eval70.9%
exp-diff56.4%
*-commutative56.4%
exp-to-pow56.4%
Simplified56.4%
Taylor expanded in t around 0 57.7%
times-frac52.1%
Simplified52.1%
Taylor expanded in y around 0 57.5%
Taylor expanded in b around 0 41.2%
+-commutative41.2%
associate-*r*41.2%
distribute-rgt-out41.2%
unpow241.2%
Simplified41.2%
Final simplification46.3%
(FPCore (x y z t a b)
:precision binary64
(if (<= b -5.2e-246)
(/ (- (/ x a) (* x (/ b a))) y)
(if (<= b 1.36e-291)
(* x (/ (- b) (* y a)))
(/ x (* a (+ y (* y (+ b (* (* b b) 0.5)))))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -5.2e-246) {
tmp = ((x / a) - (x * (b / a))) / y;
} else if (b <= 1.36e-291) {
tmp = x * (-b / (y * a));
} else {
tmp = x / (a * (y + (y * (b + ((b * b) * 0.5)))));
}
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 (b <= (-5.2d-246)) then
tmp = ((x / a) - (x * (b / a))) / y
else if (b <= 1.36d-291) then
tmp = x * (-b / (y * a))
else
tmp = x / (a * (y + (y * (b + ((b * b) * 0.5d0)))))
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 (b <= -5.2e-246) {
tmp = ((x / a) - (x * (b / a))) / y;
} else if (b <= 1.36e-291) {
tmp = x * (-b / (y * a));
} else {
tmp = x / (a * (y + (y * (b + ((b * b) * 0.5)))));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -5.2e-246: tmp = ((x / a) - (x * (b / a))) / y elif b <= 1.36e-291: tmp = x * (-b / (y * a)) else: tmp = x / (a * (y + (y * (b + ((b * b) * 0.5))))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -5.2e-246) tmp = Float64(Float64(Float64(x / a) - Float64(x * Float64(b / a))) / y); elseif (b <= 1.36e-291) tmp = Float64(x * Float64(Float64(-b) / Float64(y * a))); else tmp = Float64(x / Float64(a * Float64(y + Float64(y * Float64(b + Float64(Float64(b * b) * 0.5)))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -5.2e-246) tmp = ((x / a) - (x * (b / a))) / y; elseif (b <= 1.36e-291) tmp = x * (-b / (y * a)); else tmp = x / (a * (y + (y * (b + ((b * b) * 0.5))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -5.2e-246], N[(N[(N[(x / a), $MachinePrecision] - N[(x * N[(b / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[b, 1.36e-291], N[(x * N[((-b) / N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(a * N[(y + N[(y * N[(b + N[(N[(b * b), $MachinePrecision] * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -5.2 \cdot 10^{-246}:\\
\;\;\;\;\frac{\frac{x}{a} - x \cdot \frac{b}{a}}{y}\\
\mathbf{elif}\;b \leq 1.36 \cdot 10^{-291}:\\
\;\;\;\;x \cdot \frac{-b}{y \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y + y \cdot \left(b + \left(b \cdot b\right) \cdot 0.5\right)\right)}\\
\end{array}
\end{array}
if b < -5.1999999999999997e-246Initial program 98.7%
associate-*l/90.2%
*-commutative90.2%
+-commutative90.2%
associate--l+90.2%
exp-sum78.9%
*-commutative78.9%
exp-to-pow79.4%
sub-neg79.4%
metadata-eval79.4%
exp-diff67.3%
*-commutative67.3%
exp-to-pow67.3%
Simplified67.3%
Taylor expanded in t around 0 70.5%
times-frac68.5%
Simplified68.5%
Taylor expanded in y around 0 63.7%
Taylor expanded in b around 0 40.4%
Taylor expanded in y around 0 42.1%
+-commutative42.1%
mul-1-neg42.1%
unsub-neg42.1%
associate-*l/44.8%
*-commutative44.8%
Simplified44.8%
if -5.1999999999999997e-246 < b < 1.36000000000000007e-291Initial program 100.0%
associate-*l/84.0%
*-commutative84.0%
+-commutative84.0%
associate--l+84.0%
exp-sum72.0%
*-commutative72.0%
exp-to-pow72.0%
sub-neg72.0%
metadata-eval72.0%
exp-diff72.0%
*-commutative72.0%
exp-to-pow72.0%
Simplified72.0%
Taylor expanded in t around 0 84.4%
times-frac76.5%
Simplified76.5%
Taylor expanded in y around 0 26.5%
Taylor expanded in b around 0 22.5%
Taylor expanded in b around inf 45.3%
*-commutative45.3%
*-commutative45.3%
associate-*r/45.3%
neg-mul-145.3%
distribute-rgt-neg-out45.3%
associate-*r/53.1%
Simplified53.1%
if 1.36000000000000007e-291 < b Initial program 97.7%
associate-*l/86.9%
*-commutative86.9%
+-commutative86.9%
associate--l+86.9%
exp-sum70.0%
*-commutative70.0%
exp-to-pow70.9%
sub-neg70.9%
metadata-eval70.9%
exp-diff56.4%
*-commutative56.4%
exp-to-pow56.4%
Simplified56.4%
Taylor expanded in t around 0 57.7%
times-frac52.1%
Simplified52.1%
Taylor expanded in y around 0 57.5%
Taylor expanded in b around 0 41.2%
+-commutative41.2%
associate-*r*41.2%
distribute-rgt-out41.2%
unpow241.2%
Simplified41.2%
Final simplification43.9%
(FPCore (x y z t a b) :precision binary64 (if (<= b -4e-241) (/ (- (/ x a) (* x (/ b a))) y) (if (<= b 1.85e-295) (* x (/ (- b) (* y a))) (/ x (* a (+ y (* y b)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -4e-241) {
tmp = ((x / a) - (x * (b / a))) / y;
} else if (b <= 1.85e-295) {
tmp = x * (-b / (y * a));
} else {
tmp = x / (a * (y + (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 (b <= (-4d-241)) then
tmp = ((x / a) - (x * (b / a))) / y
else if (b <= 1.85d-295) then
tmp = x * (-b / (y * a))
else
tmp = x / (a * (y + (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 (b <= -4e-241) {
tmp = ((x / a) - (x * (b / a))) / y;
} else if (b <= 1.85e-295) {
tmp = x * (-b / (y * a));
} else {
tmp = x / (a * (y + (y * b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -4e-241: tmp = ((x / a) - (x * (b / a))) / y elif b <= 1.85e-295: tmp = x * (-b / (y * a)) else: tmp = x / (a * (y + (y * b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -4e-241) tmp = Float64(Float64(Float64(x / a) - Float64(x * Float64(b / a))) / y); elseif (b <= 1.85e-295) tmp = Float64(x * Float64(Float64(-b) / Float64(y * a))); else tmp = Float64(x / Float64(a * Float64(y + Float64(y * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -4e-241) tmp = ((x / a) - (x * (b / a))) / y; elseif (b <= 1.85e-295) tmp = x * (-b / (y * a)); else tmp = x / (a * (y + (y * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -4e-241], N[(N[(N[(x / a), $MachinePrecision] - N[(x * N[(b / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[b, 1.85e-295], N[(x * N[((-b) / N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(a * N[(y + N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -4 \cdot 10^{-241}:\\
\;\;\;\;\frac{\frac{x}{a} - x \cdot \frac{b}{a}}{y}\\
\mathbf{elif}\;b \leq 1.85 \cdot 10^{-295}:\\
\;\;\;\;x \cdot \frac{-b}{y \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y + y \cdot b\right)}\\
\end{array}
\end{array}
if b < -3.9999999999999999e-241Initial program 98.7%
associate-*l/90.2%
*-commutative90.2%
+-commutative90.2%
associate--l+90.2%
exp-sum78.9%
*-commutative78.9%
exp-to-pow79.4%
sub-neg79.4%
metadata-eval79.4%
exp-diff67.3%
*-commutative67.3%
exp-to-pow67.3%
Simplified67.3%
Taylor expanded in t around 0 70.5%
times-frac68.5%
Simplified68.5%
Taylor expanded in y around 0 63.7%
Taylor expanded in b around 0 40.4%
Taylor expanded in y around 0 42.1%
+-commutative42.1%
mul-1-neg42.1%
unsub-neg42.1%
associate-*l/44.8%
*-commutative44.8%
Simplified44.8%
if -3.9999999999999999e-241 < b < 1.85e-295Initial program 100.0%
associate-*l/87.5%
*-commutative87.5%
+-commutative87.5%
associate--l+87.5%
exp-sum75.0%
*-commutative75.0%
exp-to-pow75.0%
sub-neg75.0%
metadata-eval75.0%
exp-diff75.0%
*-commutative75.0%
exp-to-pow75.0%
Simplified75.0%
Taylor expanded in t around 0 83.7%
times-frac75.6%
Simplified75.6%
Taylor expanded in y around 0 27.5%
Taylor expanded in b around 0 23.4%
Taylor expanded in b around inf 47.1%
*-commutative47.1%
*-commutative47.1%
associate-*r/47.1%
neg-mul-147.1%
distribute-rgt-neg-out47.1%
associate-*r/55.3%
Simplified55.3%
if 1.85e-295 < b Initial program 97.7%
associate-*l/86.2%
*-commutative86.2%
+-commutative86.2%
associate--l+86.2%
exp-sum69.5%
*-commutative69.5%
exp-to-pow70.3%
sub-neg70.3%
metadata-eval70.3%
exp-diff55.9%
*-commutative55.9%
exp-to-pow55.9%
Simplified55.9%
Taylor expanded in t around 0 58.0%
times-frac52.5%
Simplified52.5%
Taylor expanded in y around 0 57.1%
Taylor expanded in b around 0 27.7%
*-commutative27.7%
Simplified27.7%
Final simplification37.4%
(FPCore (x y z t a b) :precision binary64 (if (<= t -6.8e-36) (* x (/ (- b) (* y a))) (if (<= t 1e-23) (/ 1.0 (* a (/ y x))) (* (/ x y) (/ (- b) a)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (t <= -6.8e-36) {
tmp = x * (-b / (y * a));
} else if (t <= 1e-23) {
tmp = 1.0 / (a * (y / x));
} else {
tmp = (x / y) * (-b / a);
}
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 (t <= (-6.8d-36)) then
tmp = x * (-b / (y * a))
else if (t <= 1d-23) then
tmp = 1.0d0 / (a * (y / x))
else
tmp = (x / y) * (-b / a)
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 (t <= -6.8e-36) {
tmp = x * (-b / (y * a));
} else if (t <= 1e-23) {
tmp = 1.0 / (a * (y / x));
} else {
tmp = (x / y) * (-b / a);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if t <= -6.8e-36: tmp = x * (-b / (y * a)) elif t <= 1e-23: tmp = 1.0 / (a * (y / x)) else: tmp = (x / y) * (-b / a) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (t <= -6.8e-36) tmp = Float64(x * Float64(Float64(-b) / Float64(y * a))); elseif (t <= 1e-23) tmp = Float64(1.0 / Float64(a * Float64(y / x))); else tmp = Float64(Float64(x / y) * Float64(Float64(-b) / a)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (t <= -6.8e-36) tmp = x * (-b / (y * a)); elseif (t <= 1e-23) tmp = 1.0 / (a * (y / x)); else tmp = (x / y) * (-b / a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[t, -6.8e-36], N[(x * N[((-b) / N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 1e-23], N[(1.0 / N[(a * N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x / y), $MachinePrecision] * N[((-b) / a), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -6.8 \cdot 10^{-36}:\\
\;\;\;\;x \cdot \frac{-b}{y \cdot a}\\
\mathbf{elif}\;t \leq 10^{-23}:\\
\;\;\;\;\frac{1}{a \cdot \frac{y}{x}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y} \cdot \frac{-b}{a}\\
\end{array}
\end{array}
if t < -6.8000000000000005e-36Initial program 100.0%
associate-*l/88.2%
*-commutative88.2%
+-commutative88.2%
associate--l+88.2%
exp-sum63.2%
*-commutative63.2%
exp-to-pow63.2%
sub-neg63.2%
metadata-eval63.2%
exp-diff54.4%
*-commutative54.4%
exp-to-pow54.4%
Simplified54.4%
Taylor expanded in t around 0 55.3%
times-frac56.7%
Simplified56.7%
Taylor expanded in y around 0 55.9%
Taylor expanded in b around 0 30.2%
Taylor expanded in b around inf 35.8%
*-commutative35.8%
*-commutative35.8%
associate-*r/35.8%
neg-mul-135.8%
distribute-rgt-neg-out35.8%
associate-*r/42.8%
Simplified42.8%
if -6.8000000000000005e-36 < t < 9.9999999999999996e-24Initial program 96.5%
Taylor expanded in t around 0 96.5%
+-commutative96.5%
mul-1-neg96.5%
unsub-neg96.5%
Simplified96.5%
Taylor expanded in b around 0 71.9%
div-exp71.9%
*-commutative71.9%
exp-to-pow71.9%
rem-exp-log73.0%
Simplified73.0%
Taylor expanded in y around 0 36.5%
*-commutative36.5%
Simplified36.5%
*-commutative36.5%
associate-/r*35.8%
un-div-inv35.8%
clear-num35.8%
inv-pow35.8%
un-div-inv35.8%
Applied egg-rr35.8%
unpow-135.8%
associate-/r/38.1%
*-commutative38.1%
Simplified38.1%
if 9.9999999999999996e-24 < t Initial program 100.0%
associate-*l/86.8%
*-commutative86.8%
+-commutative86.8%
associate--l+86.8%
exp-sum60.3%
*-commutative60.3%
exp-to-pow60.3%
sub-neg60.3%
metadata-eval60.3%
exp-diff52.9%
*-commutative52.9%
exp-to-pow52.9%
Simplified52.9%
Taylor expanded in t around 0 62.3%
times-frac52.0%
Simplified52.0%
Taylor expanded in y around 0 46.9%
Taylor expanded in b around 0 16.7%
Taylor expanded in b around inf 21.0%
times-frac23.3%
*-commutative23.3%
neg-mul-123.3%
distribute-rgt-neg-in23.3%
distribute-neg-frac23.3%
Simplified23.3%
Final simplification35.5%
(FPCore (x y z t a b) :precision binary64 (if (<= b 4.6e-296) (* x (/ (- b) (* y a))) (* (/ x (* y a)) (+ 1.0 b))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= 4.6e-296) {
tmp = x * (-b / (y * a));
} else {
tmp = (x / (y * a)) * (1.0 + 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 (b <= 4.6d-296) then
tmp = x * (-b / (y * a))
else
tmp = (x / (y * a)) * (1.0d0 + 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 (b <= 4.6e-296) {
tmp = x * (-b / (y * a));
} else {
tmp = (x / (y * a)) * (1.0 + b);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= 4.6e-296: tmp = x * (-b / (y * a)) else: tmp = (x / (y * a)) * (1.0 + b) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= 4.6e-296) tmp = Float64(x * Float64(Float64(-b) / Float64(y * a))); else tmp = Float64(Float64(x / Float64(y * a)) * Float64(1.0 + b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= 4.6e-296) tmp = x * (-b / (y * a)); else tmp = (x / (y * a)) * (1.0 + b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, 4.6e-296], N[(x * N[((-b) / N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision] * N[(1.0 + b), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq 4.6 \cdot 10^{-296}:\\
\;\;\;\;x \cdot \frac{-b}{y \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot a} \cdot \left(1 + b\right)\\
\end{array}
\end{array}
if b < 4.60000000000000008e-296Initial program 99.0%
associate-*l/89.7%
*-commutative89.7%
+-commutative89.7%
associate--l+89.7%
exp-sum78.2%
*-commutative78.2%
exp-to-pow78.6%
sub-neg78.6%
metadata-eval78.6%
exp-diff68.7%
*-commutative68.7%
exp-to-pow68.7%
Simplified68.7%
Taylor expanded in t around 0 72.9%
times-frac69.8%
Simplified69.8%
Taylor expanded in y around 0 57.1%
Taylor expanded in b around 0 37.3%
Taylor expanded in b around inf 38.1%
*-commutative38.1%
*-commutative38.1%
associate-*r/38.1%
neg-mul-138.1%
distribute-rgt-neg-out38.1%
associate-*r/41.8%
Simplified41.8%
if 4.60000000000000008e-296 < b Initial program 97.7%
associate-*l/86.2%
*-commutative86.2%
+-commutative86.2%
associate--l+86.2%
exp-sum69.5%
*-commutative69.5%
exp-to-pow70.3%
sub-neg70.3%
metadata-eval70.3%
exp-diff55.9%
*-commutative55.9%
exp-to-pow55.9%
Simplified55.9%
Taylor expanded in t around 0 58.0%
times-frac52.5%
Simplified52.5%
Taylor expanded in y around 0 57.1%
associate-/r*50.7%
div-inv50.7%
metadata-eval50.7%
*-commutative50.7%
frac-times50.7%
exp-neg50.7%
div-inv50.7%
expm1-log1p-u46.2%
expm1-udef49.2%
add-sqr-sqrt0.0%
sqrt-unprod19.5%
sqr-neg19.5%
sqrt-unprod19.5%
add-sqr-sqrt19.5%
Applied egg-rr19.5%
expm1-def16.5%
expm1-log1p30.0%
times-frac26.7%
associate-*r/26.8%
*-commutative26.8%
Simplified26.8%
Taylor expanded in b around 0 26.4%
*-commutative26.4%
*-commutative26.4%
associate-*r/27.2%
*-lft-identity27.2%
distribute-rgt-out27.2%
Simplified27.2%
Final simplification34.7%
(FPCore (x y z t a b) :precision binary64 (if (<= b 1.6e-294) (* x (/ (- b) (* y a))) (/ x (* a (+ y (* y b))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= 1.6e-294) {
tmp = x * (-b / (y * a));
} else {
tmp = x / (a * (y + (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 (b <= 1.6d-294) then
tmp = x * (-b / (y * a))
else
tmp = x / (a * (y + (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 (b <= 1.6e-294) {
tmp = x * (-b / (y * a));
} else {
tmp = x / (a * (y + (y * b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= 1.6e-294: tmp = x * (-b / (y * a)) else: tmp = x / (a * (y + (y * b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= 1.6e-294) tmp = Float64(x * Float64(Float64(-b) / Float64(y * a))); else tmp = Float64(x / Float64(a * Float64(y + Float64(y * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= 1.6e-294) tmp = x * (-b / (y * a)); else tmp = x / (a * (y + (y * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, 1.6e-294], N[(x * N[((-b) / N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(a * N[(y + N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq 1.6 \cdot 10^{-294}:\\
\;\;\;\;x \cdot \frac{-b}{y \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y + y \cdot b\right)}\\
\end{array}
\end{array}
if b < 1.6000000000000001e-294Initial program 99.0%
associate-*l/89.7%
*-commutative89.7%
+-commutative89.7%
associate--l+89.7%
exp-sum78.2%
*-commutative78.2%
exp-to-pow78.6%
sub-neg78.6%
metadata-eval78.6%
exp-diff68.7%
*-commutative68.7%
exp-to-pow68.7%
Simplified68.7%
Taylor expanded in t around 0 72.9%
times-frac69.8%
Simplified69.8%
Taylor expanded in y around 0 57.1%
Taylor expanded in b around 0 37.3%
Taylor expanded in b around inf 38.1%
*-commutative38.1%
*-commutative38.1%
associate-*r/38.1%
neg-mul-138.1%
distribute-rgt-neg-out38.1%
associate-*r/41.8%
Simplified41.8%
if 1.6000000000000001e-294 < b Initial program 97.7%
associate-*l/86.2%
*-commutative86.2%
+-commutative86.2%
associate--l+86.2%
exp-sum69.5%
*-commutative69.5%
exp-to-pow70.3%
sub-neg70.3%
metadata-eval70.3%
exp-diff55.9%
*-commutative55.9%
exp-to-pow55.9%
Simplified55.9%
Taylor expanded in t around 0 58.0%
times-frac52.5%
Simplified52.5%
Taylor expanded in y around 0 57.1%
Taylor expanded in b around 0 27.7%
*-commutative27.7%
Simplified27.7%
Final simplification34.9%
(FPCore (x y z t a b) :precision binary64 (if (<= t -1.35e-36) (* x (/ (- b) (* y a))) (/ 1.0 (* a (/ y x)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (t <= -1.35e-36) {
tmp = x * (-b / (y * a));
} else {
tmp = 1.0 / (a * (y / 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 (t <= (-1.35d-36)) then
tmp = x * (-b / (y * a))
else
tmp = 1.0d0 / (a * (y / 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 (t <= -1.35e-36) {
tmp = x * (-b / (y * a));
} else {
tmp = 1.0 / (a * (y / x));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if t <= -1.35e-36: tmp = x * (-b / (y * a)) else: tmp = 1.0 / (a * (y / x)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (t <= -1.35e-36) tmp = Float64(x * Float64(Float64(-b) / Float64(y * a))); else tmp = Float64(1.0 / Float64(a * Float64(y / x))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (t <= -1.35e-36) tmp = x * (-b / (y * a)); else tmp = 1.0 / (a * (y / x)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[t, -1.35e-36], N[(x * N[((-b) / N[(y * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(1.0 / N[(a * N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.35 \cdot 10^{-36}:\\
\;\;\;\;x \cdot \frac{-b}{y \cdot a}\\
\mathbf{else}:\\
\;\;\;\;\frac{1}{a \cdot \frac{y}{x}}\\
\end{array}
\end{array}
if t < -1.35000000000000004e-36Initial program 100.0%
associate-*l/88.2%
*-commutative88.2%
+-commutative88.2%
associate--l+88.2%
exp-sum63.2%
*-commutative63.2%
exp-to-pow63.2%
sub-neg63.2%
metadata-eval63.2%
exp-diff54.4%
*-commutative54.4%
exp-to-pow54.4%
Simplified54.4%
Taylor expanded in t around 0 55.3%
times-frac56.7%
Simplified56.7%
Taylor expanded in y around 0 55.9%
Taylor expanded in b around 0 30.2%
Taylor expanded in b around inf 35.8%
*-commutative35.8%
*-commutative35.8%
associate-*r/35.8%
neg-mul-135.8%
distribute-rgt-neg-out35.8%
associate-*r/42.8%
Simplified42.8%
if -1.35000000000000004e-36 < t Initial program 97.8%
Taylor expanded in t around 0 88.4%
+-commutative88.4%
mul-1-neg88.4%
unsub-neg88.4%
Simplified88.4%
Taylor expanded in b around 0 62.9%
div-exp62.9%
*-commutative62.9%
exp-to-pow62.9%
rem-exp-log63.6%
Simplified63.6%
Taylor expanded in y around 0 28.9%
*-commutative28.9%
Simplified28.9%
*-commutative28.9%
associate-/r*27.5%
un-div-inv27.5%
clear-num27.5%
inv-pow27.5%
un-div-inv27.5%
Applied egg-rr27.5%
unpow-127.5%
associate-/r/30.5%
*-commutative30.5%
Simplified30.5%
Final simplification33.8%
(FPCore (x y z t a b) :precision binary64 (if (<= y 1.02e-208) (* (/ x y) (/ 1.0 a)) (/ x (* y a))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (y <= 1.02e-208) {
tmp = (x / y) * (1.0 / a);
} else {
tmp = x / (y * a);
}
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 <= 1.02d-208) then
tmp = (x / y) * (1.0d0 / a)
else
tmp = x / (y * a)
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 <= 1.02e-208) {
tmp = (x / y) * (1.0 / a);
} else {
tmp = x / (y * a);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if y <= 1.02e-208: tmp = (x / y) * (1.0 / a) else: tmp = x / (y * a) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (y <= 1.02e-208) tmp = Float64(Float64(x / y) * Float64(1.0 / a)); else tmp = Float64(x / Float64(y * a)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (y <= 1.02e-208) tmp = (x / y) * (1.0 / a); else tmp = x / (y * a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[y, 1.02e-208], N[(N[(x / y), $MachinePrecision] * N[(1.0 / a), $MachinePrecision]), $MachinePrecision], N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 1.02 \cdot 10^{-208}:\\
\;\;\;\;\frac{x}{y} \cdot \frac{1}{a}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot a}\\
\end{array}
\end{array}
if y < 1.0199999999999999e-208Initial program 97.5%
Taylor expanded in t around 0 84.4%
+-commutative84.4%
mul-1-neg84.4%
unsub-neg84.4%
Simplified84.4%
Taylor expanded in b around 0 61.8%
div-exp61.8%
*-commutative61.8%
exp-to-pow61.8%
rem-exp-log62.5%
Simplified62.5%
Taylor expanded in y around 0 27.7%
*-commutative27.7%
Simplified27.7%
associate-/r*32.6%
div-inv32.6%
Applied egg-rr32.6%
if 1.0199999999999999e-208 < y Initial program 99.7%
Taylor expanded in t around 0 84.1%
+-commutative84.1%
mul-1-neg84.1%
unsub-neg84.1%
Simplified84.1%
Taylor expanded in b around 0 57.8%
div-exp57.8%
*-commutative57.8%
exp-to-pow57.8%
rem-exp-log58.0%
Simplified58.0%
Taylor expanded in y around 0 32.0%
*-commutative32.0%
Simplified32.0%
Final simplification32.4%
(FPCore (x y z t a b) :precision binary64 (if (<= y 4.6e-194) (/ 1.0 (* a (/ y x))) (/ x (* y a))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (y <= 4.6e-194) {
tmp = 1.0 / (a * (y / x));
} else {
tmp = x / (y * a);
}
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 <= 4.6d-194) then
tmp = 1.0d0 / (a * (y / x))
else
tmp = x / (y * a)
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 <= 4.6e-194) {
tmp = 1.0 / (a * (y / x));
} else {
tmp = x / (y * a);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if y <= 4.6e-194: tmp = 1.0 / (a * (y / x)) else: tmp = x / (y * a) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (y <= 4.6e-194) tmp = Float64(1.0 / Float64(a * Float64(y / x))); else tmp = Float64(x / Float64(y * a)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (y <= 4.6e-194) tmp = 1.0 / (a * (y / x)); else tmp = x / (y * a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[y, 4.6e-194], N[(1.0 / N[(a * N[(y / x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq 4.6 \cdot 10^{-194}:\\
\;\;\;\;\frac{1}{a \cdot \frac{y}{x}}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot a}\\
\end{array}
\end{array}
if y < 4.60000000000000005e-194Initial program 97.5%
Taylor expanded in t around 0 84.4%
+-commutative84.4%
mul-1-neg84.4%
unsub-neg84.4%
Simplified84.4%
Taylor expanded in b around 0 61.8%
div-exp61.8%
*-commutative61.8%
exp-to-pow61.8%
rem-exp-log62.5%
Simplified62.5%
Taylor expanded in y around 0 27.7%
*-commutative27.7%
Simplified27.7%
*-commutative27.7%
associate-/r*29.6%
un-div-inv29.6%
clear-num29.6%
inv-pow29.6%
un-div-inv29.6%
Applied egg-rr29.6%
unpow-129.6%
associate-/r/32.7%
*-commutative32.7%
Simplified32.7%
if 4.60000000000000005e-194 < y Initial program 99.7%
Taylor expanded in t around 0 84.1%
+-commutative84.1%
mul-1-neg84.1%
unsub-neg84.1%
Simplified84.1%
Taylor expanded in b around 0 57.8%
div-exp57.8%
*-commutative57.8%
exp-to-pow57.8%
rem-exp-log58.0%
Simplified58.0%
Taylor expanded in y around 0 32.0%
*-commutative32.0%
Simplified32.0%
Final simplification32.4%
(FPCore (x y z t a b) :precision binary64 (if (<= a 4.5e-81) (/ (/ x a) y) (/ x (* y a))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (a <= 4.5e-81) {
tmp = (x / a) / y;
} else {
tmp = x / (y * a);
}
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 (a <= 4.5d-81) then
tmp = (x / a) / y
else
tmp = x / (y * a)
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 (a <= 4.5e-81) {
tmp = (x / a) / y;
} else {
tmp = x / (y * a);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if a <= 4.5e-81: tmp = (x / a) / y else: tmp = x / (y * a) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (a <= 4.5e-81) tmp = Float64(Float64(x / a) / y); else tmp = Float64(x / Float64(y * a)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (a <= 4.5e-81) tmp = (x / a) / y; else tmp = x / (y * a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[a, 4.5e-81], N[(N[(x / a), $MachinePrecision] / y), $MachinePrecision], N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq 4.5 \cdot 10^{-81}:\\
\;\;\;\;\frac{\frac{x}{a}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot a}\\
\end{array}
\end{array}
if a < 4.5e-81Initial program 99.6%
Taylor expanded in t around 0 89.0%
+-commutative89.0%
mul-1-neg89.0%
unsub-neg89.0%
Simplified89.0%
Taylor expanded in b around 0 67.8%
div-exp67.8%
*-commutative67.8%
exp-to-pow67.8%
rem-exp-log68.2%
Simplified68.2%
Taylor expanded in y around 0 23.2%
associate-/r*28.8%
Simplified28.8%
if 4.5e-81 < a Initial program 97.6%
Taylor expanded in t around 0 81.3%
+-commutative81.3%
mul-1-neg81.3%
unsub-neg81.3%
Simplified81.3%
Taylor expanded in b around 0 55.4%
div-exp55.4%
*-commutative55.4%
exp-to-pow55.4%
rem-exp-log55.9%
Simplified55.9%
Taylor expanded in y around 0 33.4%
*-commutative33.4%
Simplified33.4%
Final simplification31.6%
(FPCore (x y z t a b) :precision binary64 (/ x (* y a)))
double code(double x, double y, double z, double t, double a, double b) {
return x / (y * a);
}
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 * a)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x / (y * a);
}
def code(x, y, z, t, a, b): return x / (y * a)
function code(x, y, z, t, a, b) return Float64(x / Float64(y * a)) end
function tmp = code(x, y, z, t, a, b) tmp = x / (y * a); end
code[x_, y_, z_, t_, a_, b_] := N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{y \cdot a}
\end{array}
Initial program 98.4%
Taylor expanded in t around 0 84.3%
+-commutative84.3%
mul-1-neg84.3%
unsub-neg84.3%
Simplified84.3%
Taylor expanded in b around 0 60.3%
div-exp60.3%
*-commutative60.3%
exp-to-pow60.3%
rem-exp-log60.8%
Simplified60.8%
Taylor expanded in y around 0 29.4%
*-commutative29.4%
Simplified29.4%
Final simplification29.4%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (pow a (- t 1.0)))
(t_2 (/ (* x (/ t_1 y)) (- (+ b 1.0) (* y (log z))))))
(if (< t -0.8845848504127471)
t_2
(if (< t 852031.2288374073)
(/ (* (/ x y) t_1) (exp (- b (* (log z) y))))
t_2))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = pow(a, (t - 1.0));
double t_2 = (x * (t_1 / y)) / ((b + 1.0) - (y * log(z)));
double tmp;
if (t < -0.8845848504127471) {
tmp = t_2;
} else if (t < 852031.2288374073) {
tmp = ((x / y) * t_1) / exp((b - (log(z) * y)));
} else {
tmp = t_2;
}
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) :: t_2
real(8) :: tmp
t_1 = a ** (t - 1.0d0)
t_2 = (x * (t_1 / y)) / ((b + 1.0d0) - (y * log(z)))
if (t < (-0.8845848504127471d0)) then
tmp = t_2
else if (t < 852031.2288374073d0) then
tmp = ((x / y) * t_1) / exp((b - (log(z) * y)))
else
tmp = t_2
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 = Math.pow(a, (t - 1.0));
double t_2 = (x * (t_1 / y)) / ((b + 1.0) - (y * Math.log(z)));
double tmp;
if (t < -0.8845848504127471) {
tmp = t_2;
} else if (t < 852031.2288374073) {
tmp = ((x / y) * t_1) / Math.exp((b - (Math.log(z) * y)));
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = math.pow(a, (t - 1.0)) t_2 = (x * (t_1 / y)) / ((b + 1.0) - (y * math.log(z))) tmp = 0 if t < -0.8845848504127471: tmp = t_2 elif t < 852031.2288374073: tmp = ((x / y) * t_1) / math.exp((b - (math.log(z) * y))) else: tmp = t_2 return tmp
function code(x, y, z, t, a, b) t_1 = a ^ Float64(t - 1.0) t_2 = Float64(Float64(x * Float64(t_1 / y)) / Float64(Float64(b + 1.0) - Float64(y * log(z)))) tmp = 0.0 if (t < -0.8845848504127471) tmp = t_2; elseif (t < 852031.2288374073) tmp = Float64(Float64(Float64(x / y) * t_1) / exp(Float64(b - Float64(log(z) * y)))); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = a ^ (t - 1.0); t_2 = (x * (t_1 / y)) / ((b + 1.0) - (y * log(z))); tmp = 0.0; if (t < -0.8845848504127471) tmp = t_2; elseif (t < 852031.2288374073) tmp = ((x / y) * t_1) / exp((b - (log(z) * y))); else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[Power[a, N[(t - 1.0), $MachinePrecision]], $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * N[(t$95$1 / y), $MachinePrecision]), $MachinePrecision] / N[(N[(b + 1.0), $MachinePrecision] - N[(y * N[Log[z], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[t, -0.8845848504127471], t$95$2, If[Less[t, 852031.2288374073], N[(N[(N[(x / y), $MachinePrecision] * t$95$1), $MachinePrecision] / N[Exp[N[(b - N[(N[Log[z], $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]], $MachinePrecision]), $MachinePrecision], t$95$2]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := {a}^{\left(t - 1\right)}\\
t_2 := \frac{x \cdot \frac{t_1}{y}}{\left(b + 1\right) - y \cdot \log z}\\
\mathbf{if}\;t < -0.8845848504127471:\\
\;\;\;\;t_2\\
\mathbf{elif}\;t < 852031.2288374073:\\
\;\;\;\;\frac{\frac{x}{y} \cdot t_1}{e^{b - \log z \cdot y}}\\
\mathbf{else}:\\
\;\;\;\;t_2\\
\end{array}
\end{array}
herbie shell --seed 2023280
(FPCore (x y z t a b)
:name "Numeric.SpecFunctions:incompleteBetaWorker from math-functions-0.1.5.2, A"
:precision binary64
:herbie-target
(if (< t -0.8845848504127471) (/ (* x (/ (pow a (- t 1.0)) y)) (- (+ b 1.0) (* y (log z)))) (if (< t 852031.2288374073) (/ (* (/ x y) (pow a (- t 1.0))) (exp (- b (* (log z) y)))) (/ (* x (/ (pow a (- t 1.0)) y)) (- (+ b 1.0) (* y (log z))))))
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y))