
(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 25 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)) (* (+ 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}
Initial program 99.0%
Final simplification99.0%
(FPCore (x y z t a b) :precision binary64 (if (or (<= (+ t -1.0) -5e+162) (not (<= (+ t -1.0) -0.5))) (/ (* x (exp (- (* (+ t -1.0) (log a)) 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 + -1.0) <= -5e+162) || !((t + -1.0) <= -0.5)) {
tmp = (x * exp((((t + -1.0) * log(a)) - 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 + (-1.0d0)) <= (-5d+162)) .or. (.not. ((t + (-1.0d0)) <= (-0.5d0)))) then
tmp = (x * exp((((t + (-1.0d0)) * log(a)) - 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 + -1.0) <= -5e+162) || !((t + -1.0) <= -0.5)) {
tmp = (x * Math.exp((((t + -1.0) * Math.log(a)) - 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 + -1.0) <= -5e+162) or not ((t + -1.0) <= -0.5): tmp = (x * math.exp((((t + -1.0) * math.log(a)) - 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 ((Float64(t + -1.0) <= -5e+162) || !(Float64(t + -1.0) <= -0.5)) tmp = Float64(Float64(x * exp(Float64(Float64(Float64(t + -1.0) * log(a)) - 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 + -1.0) <= -5e+162) || ~(((t + -1.0) <= -0.5))) tmp = (x * exp((((t + -1.0) * log(a)) - 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[N[(t + -1.0), $MachinePrecision], -5e+162], N[Not[LessEqual[N[(t + -1.0), $MachinePrecision], -0.5]], $MachinePrecision]], N[(N[(x * N[Exp[N[(N[(N[(t + -1.0), $MachinePrecision] * N[Log[a], $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 + -1 \leq -5 \cdot 10^{+162} \lor \neg \left(t + -1 \leq -0.5\right):\\
\;\;\;\;\frac{x \cdot e^{\left(t + -1\right) \cdot \log a - b}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot e^{\left(y \cdot \log z - \log a\right) - b}}{y}\\
\end{array}
\end{array}
if (-.f64 t #s(literal 1 binary64)) < -4.9999999999999997e162 or -0.5 < (-.f64 t #s(literal 1 binary64)) Initial program 100.0%
Taylor expanded in y around 0 95.0%
if -4.9999999999999997e162 < (-.f64 t #s(literal 1 binary64)) < -0.5Initial program 98.4%
Taylor expanded in t around 0 97.3%
+-commutative97.3%
mul-1-neg97.3%
unsub-neg97.3%
Simplified97.3%
Final simplification96.4%
(FPCore (x y z t a b) :precision binary64 (if (or (<= y -3.4e+161) (not (<= y 2e+53))) (/ (* x (/ (pow z y) a)) y) (/ (* x (exp (- (* (+ t -1.0) (log a)) b))) y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -3.4e+161) || !(y <= 2e+53)) {
tmp = (x * (pow(z, y) / a)) / y;
} else {
tmp = (x * exp((((t + -1.0) * 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 ((y <= (-3.4d+161)) .or. (.not. (y <= 2d+53))) then
tmp = (x * ((z ** y) / a)) / y
else
tmp = (x * exp((((t + (-1.0d0)) * 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 ((y <= -3.4e+161) || !(y <= 2e+53)) {
tmp = (x * (Math.pow(z, y) / a)) / y;
} else {
tmp = (x * Math.exp((((t + -1.0) * Math.log(a)) - b))) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (y <= -3.4e+161) or not (y <= 2e+53): tmp = (x * (math.pow(z, y) / a)) / y else: tmp = (x * math.exp((((t + -1.0) * math.log(a)) - b))) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((y <= -3.4e+161) || !(y <= 2e+53)) tmp = Float64(Float64(x * Float64((z ^ y) / a)) / y); else tmp = Float64(Float64(x * exp(Float64(Float64(Float64(t + -1.0) * log(a)) - b))) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((y <= -3.4e+161) || ~((y <= 2e+53))) tmp = (x * ((z ^ y) / a)) / y; else tmp = (x * exp((((t + -1.0) * log(a)) - b))) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -3.4e+161], N[Not[LessEqual[y, 2e+53]], $MachinePrecision]], N[(N[(x * N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x * N[Exp[N[(N[(N[(t + -1.0), $MachinePrecision] * N[Log[a], $MachinePrecision]), $MachinePrecision] - b), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.4 \cdot 10^{+161} \lor \neg \left(y \leq 2 \cdot 10^{+53}\right):\\
\;\;\;\;\frac{x \cdot \frac{{z}^{y}}{a}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot e^{\left(t + -1\right) \cdot \log a - b}}{y}\\
\end{array}
\end{array}
if y < -3.39999999999999993e161 or 2e53 < y Initial program 100.0%
Taylor expanded in t around 0 96.3%
+-commutative96.3%
mul-1-neg96.3%
unsub-neg96.3%
Simplified96.3%
Taylor expanded in b around 0 90.2%
div-exp90.2%
*-commutative90.2%
exp-to-pow90.2%
rem-exp-log90.2%
Simplified90.2%
if -3.39999999999999993e161 < y < 2e53Initial program 98.6%
Taylor expanded in y around 0 95.0%
Final simplification93.5%
(FPCore (x y z t a b) :precision binary64 (if (or (<= y -11000000000000.0) (not (<= y 7.4e+52))) (/ (* x (/ (pow z y) a)) y) (/ (* x (/ (pow a (+ t -1.0)) (exp b))) y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -11000000000000.0) || !(y <= 7.4e+52)) {
tmp = (x * (pow(z, y) / a)) / y;
} else {
tmp = (x * (pow(a, (t + -1.0)) / exp(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 <= (-11000000000000.0d0)) .or. (.not. (y <= 7.4d+52))) then
tmp = (x * ((z ** y) / a)) / y
else
tmp = (x * ((a ** (t + (-1.0d0))) / exp(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 <= -11000000000000.0) || !(y <= 7.4e+52)) {
tmp = (x * (Math.pow(z, y) / a)) / y;
} else {
tmp = (x * (Math.pow(a, (t + -1.0)) / Math.exp(b))) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (y <= -11000000000000.0) or not (y <= 7.4e+52): tmp = (x * (math.pow(z, y) / a)) / y else: tmp = (x * (math.pow(a, (t + -1.0)) / math.exp(b))) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((y <= -11000000000000.0) || !(y <= 7.4e+52)) tmp = Float64(Float64(x * Float64((z ^ y) / a)) / y); else tmp = Float64(Float64(x * Float64((a ^ Float64(t + -1.0)) / exp(b))) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((y <= -11000000000000.0) || ~((y <= 7.4e+52))) tmp = (x * ((z ^ y) / a)) / y; else tmp = (x * ((a ^ (t + -1.0)) / exp(b))) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -11000000000000.0], N[Not[LessEqual[y, 7.4e+52]], $MachinePrecision]], N[(N[(x * N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x * N[(N[Power[a, N[(t + -1.0), $MachinePrecision]], $MachinePrecision] / N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -11000000000000 \lor \neg \left(y \leq 7.4 \cdot 10^{+52}\right):\\
\;\;\;\;\frac{x \cdot \frac{{z}^{y}}{a}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot \frac{{a}^{\left(t + -1\right)}}{e^{b}}}{y}\\
\end{array}
\end{array}
if y < -1.1e13 or 7.3999999999999999e52 < y Initial program 100.0%
Taylor expanded in t around 0 93.1%
+-commutative93.1%
mul-1-neg93.1%
unsub-neg93.1%
Simplified93.1%
Taylor expanded in b around 0 85.3%
div-exp85.3%
*-commutative85.3%
exp-to-pow85.3%
rem-exp-log85.3%
Simplified85.3%
if -1.1e13 < y < 7.3999999999999999e52Initial program 98.2%
Taylor expanded in y around 0 98.0%
div-exp86.0%
exp-to-pow86.9%
sub-neg86.9%
metadata-eval86.9%
Simplified86.9%
Final simplification86.2%
(FPCore (x y z t a b) :precision binary64 (if (or (<= y -3.3e+14) (not (<= y 3.6e+29))) (/ (* x (/ (pow z y) a)) y) (* x (/ (pow a t) (* a (* y (exp b)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -3.3e+14) || !(y <= 3.6e+29)) {
tmp = (x * (pow(z, y) / a)) / y;
} else {
tmp = x * (pow(a, t) / (a * (y * 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 <= (-3.3d+14)) .or. (.not. (y <= 3.6d+29))) then
tmp = (x * ((z ** y) / a)) / y
else
tmp = x * ((a ** t) / (a * (y * 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 <= -3.3e+14) || !(y <= 3.6e+29)) {
tmp = (x * (Math.pow(z, y) / a)) / y;
} else {
tmp = x * (Math.pow(a, t) / (a * (y * Math.exp(b))));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (y <= -3.3e+14) or not (y <= 3.6e+29): tmp = (x * (math.pow(z, y) / a)) / y else: tmp = x * (math.pow(a, t) / (a * (y * math.exp(b)))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((y <= -3.3e+14) || !(y <= 3.6e+29)) tmp = Float64(Float64(x * Float64((z ^ y) / a)) / y); else tmp = Float64(x * Float64((a ^ t) / Float64(a * Float64(y * exp(b))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((y <= -3.3e+14) || ~((y <= 3.6e+29))) tmp = (x * ((z ^ y) / a)) / y; else tmp = x * ((a ^ t) / (a * (y * exp(b)))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -3.3e+14], N[Not[LessEqual[y, 3.6e+29]], $MachinePrecision]], N[(N[(x * N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(x * N[(N[Power[a, t], $MachinePrecision] / N[(a * N[(y * N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -3.3 \cdot 10^{+14} \lor \neg \left(y \leq 3.6 \cdot 10^{+29}\right):\\
\;\;\;\;\frac{x \cdot \frac{{z}^{y}}{a}}{y}\\
\mathbf{else}:\\
\;\;\;\;x \cdot \frac{{a}^{t}}{a \cdot \left(y \cdot e^{b}\right)}\\
\end{array}
\end{array}
if y < -3.3e14 or 3.59999999999999976e29 < y Initial program 100.0%
Taylor expanded in t around 0 92.1%
+-commutative92.1%
mul-1-neg92.1%
unsub-neg92.1%
Simplified92.1%
Taylor expanded in b around 0 84.1%
div-exp84.1%
*-commutative84.1%
exp-to-pow84.1%
rem-exp-log84.1%
Simplified84.1%
if -3.3e14 < y < 3.59999999999999976e29Initial program 98.1%
associate-/l*96.7%
associate--l+96.7%
exp-sum94.5%
associate-/l*94.5%
*-commutative94.5%
exp-to-pow94.5%
exp-diff83.9%
*-commutative83.9%
exp-to-pow84.8%
sub-neg84.8%
metadata-eval84.8%
Simplified84.8%
associate-/l/84.8%
unpow-prod-up84.9%
associate-/l*81.1%
unpow-181.1%
Applied egg-rr81.1%
associate-/r*81.1%
associate-*r/81.9%
*-rgt-identity81.9%
associate-*r*75.8%
Simplified75.8%
Taylor expanded in y around 0 83.1%
Final simplification83.6%
(FPCore (x y z t a b) :precision binary64 (if (or (<= b -900.0) (not (<= b 2100000.0))) (/ x (* a (* y (exp b)))) (/ (* x (pow a (+ t -1.0))) y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((b <= -900.0) || !(b <= 2100000.0)) {
tmp = x / (a * (y * exp(b)));
} else {
tmp = (x * pow(a, (t + -1.0))) / 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 <= (-900.0d0)) .or. (.not. (b <= 2100000.0d0))) then
tmp = x / (a * (y * exp(b)))
else
tmp = (x * (a ** (t + (-1.0d0)))) / 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 <= -900.0) || !(b <= 2100000.0)) {
tmp = x / (a * (y * Math.exp(b)));
} else {
tmp = (x * Math.pow(a, (t + -1.0))) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (b <= -900.0) or not (b <= 2100000.0): tmp = x / (a * (y * math.exp(b))) else: tmp = (x * math.pow(a, (t + -1.0))) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((b <= -900.0) || !(b <= 2100000.0)) tmp = Float64(x / Float64(a * Float64(y * exp(b)))); else tmp = Float64(Float64(x * (a ^ Float64(t + -1.0))) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((b <= -900.0) || ~((b <= 2100000.0))) tmp = x / (a * (y * exp(b))); else tmp = (x * (a ^ (t + -1.0))) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[b, -900.0], N[Not[LessEqual[b, 2100000.0]], $MachinePrecision]], N[(x / N[(a * N[(y * N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x * N[Power[a, N[(t + -1.0), $MachinePrecision]], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -900 \lor \neg \left(b \leq 2100000\right):\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot e^{b}\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{x \cdot {a}^{\left(t + -1\right)}}{y}\\
\end{array}
\end{array}
if b < -900 or 2.1e6 < b Initial program 100.0%
Taylor expanded in y around 0 86.8%
div-exp65.8%
exp-to-pow65.8%
sub-neg65.8%
metadata-eval65.8%
Simplified65.8%
Taylor expanded in t around 0 81.6%
if -900 < b < 2.1e6Initial program 97.9%
Taylor expanded in y around 0 81.0%
div-exp81.0%
exp-to-pow82.1%
sub-neg82.1%
metadata-eval82.1%
Simplified82.1%
Taylor expanded in b around 0 81.0%
Simplified82.1%
Final simplification81.8%
(FPCore (x y z t a b) :precision binary64 (if (or (<= y -320000000000.0) (not (<= y 1.05e+44))) (/ (* x (/ (pow z y) a)) y) (/ (/ x (* a (exp b))) y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -320000000000.0) || !(y <= 1.05e+44)) {
tmp = (x * (pow(z, y) / a)) / y;
} else {
tmp = (x / (a * exp(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 <= (-320000000000.0d0)) .or. (.not. (y <= 1.05d+44))) then
tmp = (x * ((z ** y) / a)) / y
else
tmp = (x / (a * exp(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 <= -320000000000.0) || !(y <= 1.05e+44)) {
tmp = (x * (Math.pow(z, y) / a)) / y;
} else {
tmp = (x / (a * Math.exp(b))) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (y <= -320000000000.0) or not (y <= 1.05e+44): tmp = (x * (math.pow(z, y) / a)) / y else: tmp = (x / (a * math.exp(b))) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((y <= -320000000000.0) || !(y <= 1.05e+44)) tmp = Float64(Float64(x * Float64((z ^ y) / a)) / y); else tmp = Float64(Float64(x / Float64(a * exp(b))) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((y <= -320000000000.0) || ~((y <= 1.05e+44))) tmp = (x * ((z ^ y) / a)) / y; else tmp = (x / (a * exp(b))) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -320000000000.0], N[Not[LessEqual[y, 1.05e+44]], $MachinePrecision]], N[(N[(x * N[(N[Power[z, y], $MachinePrecision] / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x / N[(a * N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -320000000000 \lor \neg \left(y \leq 1.05 \cdot 10^{+44}\right):\\
\;\;\;\;\frac{x \cdot \frac{{z}^{y}}{a}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{x}{a \cdot e^{b}}}{y}\\
\end{array}
\end{array}
if y < -3.2e11 or 1.04999999999999993e44 < y Initial program 100.0%
Taylor expanded in t around 0 92.6%
+-commutative92.6%
mul-1-neg92.6%
unsub-neg92.6%
Simplified92.6%
Taylor expanded in b around 0 85.2%
div-exp85.2%
*-commutative85.2%
exp-to-pow85.2%
rem-exp-log85.2%
Simplified85.2%
if -3.2e11 < y < 1.04999999999999993e44Initial program 98.1%
Taylor expanded in y around 0 97.9%
div-exp85.4%
exp-to-pow86.4%
sub-neg86.4%
metadata-eval86.4%
Simplified86.4%
Taylor expanded in t around 0 77.6%
Final simplification81.2%
(FPCore (x y z t a b) :precision binary64 (if (or (<= t -5.8e+113) (not (<= t 6e-9))) (/ (* x (pow a t)) y) (/ (/ x (* a (exp b))) y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((t <= -5.8e+113) || !(t <= 6e-9)) {
tmp = (x * pow(a, t)) / y;
} else {
tmp = (x / (a * exp(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 <= (-5.8d+113)) .or. (.not. (t <= 6d-9))) then
tmp = (x * (a ** t)) / y
else
tmp = (x / (a * exp(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 <= -5.8e+113) || !(t <= 6e-9)) {
tmp = (x * Math.pow(a, t)) / y;
} else {
tmp = (x / (a * Math.exp(b))) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (t <= -5.8e+113) or not (t <= 6e-9): tmp = (x * math.pow(a, t)) / y else: tmp = (x / (a * math.exp(b))) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((t <= -5.8e+113) || !(t <= 6e-9)) tmp = Float64(Float64(x * (a ^ t)) / y); else tmp = Float64(Float64(x / Float64(a * exp(b))) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((t <= -5.8e+113) || ~((t <= 6e-9))) tmp = (x * (a ^ t)) / y; else tmp = (x / (a * exp(b))) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[t, -5.8e+113], N[Not[LessEqual[t, 6e-9]], $MachinePrecision]], N[(N[(x * N[Power[a, t], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x / N[(a * N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -5.8 \cdot 10^{+113} \lor \neg \left(t \leq 6 \cdot 10^{-9}\right):\\
\;\;\;\;\frac{x \cdot {a}^{t}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{x}{a \cdot e^{b}}}{y}\\
\end{array}
\end{array}
if t < -5.79999999999999968e113 or 5.99999999999999996e-9 < t Initial program 100.0%
Taylor expanded in y around 0 91.7%
div-exp75.6%
exp-to-pow75.6%
sub-neg75.6%
metadata-eval75.6%
Simplified75.6%
Taylor expanded in b around 0 85.2%
Simplified85.2%
Taylor expanded in t around inf 85.2%
if -5.79999999999999968e113 < t < 5.99999999999999996e-9Initial program 98.3%
Taylor expanded in y around 0 78.7%
div-exp71.3%
exp-to-pow72.2%
sub-neg72.2%
metadata-eval72.2%
Simplified72.2%
Taylor expanded in t around 0 77.1%
Final simplification80.5%
(FPCore (x y z t a b) :precision binary64 (if (or (<= t -3.1e+116) (not (<= t 6e-9))) (/ (* x (pow a t)) y) (/ x (* a (* y (exp b))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((t <= -3.1e+116) || !(t <= 6e-9)) {
tmp = (x * pow(a, t)) / y;
} else {
tmp = x / (a * (y * 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 ((t <= (-3.1d+116)) .or. (.not. (t <= 6d-9))) then
tmp = (x * (a ** t)) / y
else
tmp = x / (a * (y * 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 ((t <= -3.1e+116) || !(t <= 6e-9)) {
tmp = (x * Math.pow(a, t)) / y;
} else {
tmp = x / (a * (y * Math.exp(b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (t <= -3.1e+116) or not (t <= 6e-9): tmp = (x * math.pow(a, t)) / y else: tmp = x / (a * (y * math.exp(b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((t <= -3.1e+116) || !(t <= 6e-9)) tmp = Float64(Float64(x * (a ^ t)) / y); else tmp = Float64(x / Float64(a * Float64(y * exp(b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((t <= -3.1e+116) || ~((t <= 6e-9))) tmp = (x * (a ^ t)) / y; else tmp = x / (a * (y * exp(b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[t, -3.1e+116], N[Not[LessEqual[t, 6e-9]], $MachinePrecision]], N[(N[(x * N[Power[a, t], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(x / N[(a * N[(y * N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -3.1 \cdot 10^{+116} \lor \neg \left(t \leq 6 \cdot 10^{-9}\right):\\
\;\;\;\;\frac{x \cdot {a}^{t}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot e^{b}\right)}\\
\end{array}
\end{array}
if t < -3.09999999999999996e116 or 5.99999999999999996e-9 < t Initial program 100.0%
Taylor expanded in y around 0 92.5%
div-exp76.3%
exp-to-pow76.3%
sub-neg76.3%
metadata-eval76.3%
Simplified76.3%
Taylor expanded in b around 0 86.0%
Simplified86.0%
Taylor expanded in t around inf 86.0%
if -3.09999999999999996e116 < t < 5.99999999999999996e-9Initial program 98.3%
Taylor expanded in y around 0 78.1%
div-exp70.9%
exp-to-pow71.7%
sub-neg71.7%
metadata-eval71.7%
Simplified71.7%
Taylor expanded in t around 0 75.0%
Final simplification79.5%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= t -7e+117) (not (<= t 5.2e-13)))
(/ (* x (pow a t)) y)
(/
(/ x (* a (- 1.0 (* b (- -1.0 (* b (+ 0.5 (* b 0.16666666666666666))))))))
y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((t <= -7e+117) || !(t <= 5.2e-13)) {
tmp = (x * pow(a, t)) / y;
} else {
tmp = (x / (a * (1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))))))) / 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 <= (-7d+117)) .or. (.not. (t <= 5.2d-13))) then
tmp = (x * (a ** t)) / y
else
tmp = (x / (a * (1.0d0 - (b * ((-1.0d0) - (b * (0.5d0 + (b * 0.16666666666666666d0)))))))) / 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 <= -7e+117) || !(t <= 5.2e-13)) {
tmp = (x * Math.pow(a, t)) / y;
} else {
tmp = (x / (a * (1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))))))) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (t <= -7e+117) or not (t <= 5.2e-13): tmp = (x * math.pow(a, t)) / y else: tmp = (x / (a * (1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))))))) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((t <= -7e+117) || !(t <= 5.2e-13)) tmp = Float64(Float64(x * (a ^ t)) / y); else tmp = Float64(Float64(x / Float64(a * Float64(1.0 - Float64(b * Float64(-1.0 - Float64(b * Float64(0.5 + Float64(b * 0.16666666666666666)))))))) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((t <= -7e+117) || ~((t <= 5.2e-13))) tmp = (x * (a ^ t)) / y; else tmp = (x / (a * (1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))))))) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[t, -7e+117], N[Not[LessEqual[t, 5.2e-13]], $MachinePrecision]], N[(N[(x * N[Power[a, t], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x / N[(a * N[(1.0 - N[(b * N[(-1.0 - N[(b * N[(0.5 + N[(b * 0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -7 \cdot 10^{+117} \lor \neg \left(t \leq 5.2 \cdot 10^{-13}\right):\\
\;\;\;\;\frac{x \cdot {a}^{t}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{x}{a \cdot \left(1 - b \cdot \left(-1 - b \cdot \left(0.5 + b \cdot 0.16666666666666666\right)\right)\right)}}{y}\\
\end{array}
\end{array}
if t < -6.99999999999999965e117 or 5.2000000000000001e-13 < t Initial program 100.0%
Taylor expanded in y around 0 93.5%
div-exp77.2%
exp-to-pow77.2%
sub-neg77.2%
metadata-eval77.2%
Simplified77.2%
Taylor expanded in b around 0 86.0%
Simplified86.0%
Taylor expanded in t around inf 86.0%
if -6.99999999999999965e117 < t < 5.2000000000000001e-13Initial program 98.3%
Taylor expanded in y around 0 77.5%
div-exp70.2%
exp-to-pow71.1%
sub-neg71.1%
metadata-eval71.1%
Simplified71.1%
Taylor expanded in t around 0 76.0%
Taylor expanded in b around 0 54.5%
*-commutative54.5%
Simplified54.5%
Final simplification67.4%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* 0.5 (/ x a)))
(t_2 (- 1.0 (* b (- -1.0 (* b (+ 0.5 (* b 0.16666666666666666))))))))
(if (<= b -3.1e+129)
(/
(-
(/ x a)
(*
b
(+
(/ x a)
(*
b
(+
(- t_1 (/ x a))
(*
b
(+
(- (/ x a) t_1)
(+ (* -0.5 (/ x a)) (* 0.16666666666666666 (/ x a))))))))))
y)
(if (<= b -3.7e+85)
(/ x (* a (* y t_2)))
(if (<= b -4.6e-188)
(/ (* b (- (/ x (* a b)) (/ x a))) y)
(/ (/ x (* a t_2)) y))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = 0.5 * (x / a);
double t_2 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))));
double tmp;
if (b <= -3.1e+129) {
tmp = ((x / a) - (b * ((x / a) + (b * ((t_1 - (x / a)) + (b * (((x / a) - t_1) + ((-0.5 * (x / a)) + (0.16666666666666666 * (x / a)))))))))) / y;
} else if (b <= -3.7e+85) {
tmp = x / (a * (y * t_2));
} else if (b <= -4.6e-188) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = (x / (a * t_2)) / 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) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = 0.5d0 * (x / a)
t_2 = 1.0d0 - (b * ((-1.0d0) - (b * (0.5d0 + (b * 0.16666666666666666d0)))))
if (b <= (-3.1d+129)) then
tmp = ((x / a) - (b * ((x / a) + (b * ((t_1 - (x / a)) + (b * (((x / a) - t_1) + (((-0.5d0) * (x / a)) + (0.16666666666666666d0 * (x / a)))))))))) / y
else if (b <= (-3.7d+85)) then
tmp = x / (a * (y * t_2))
else if (b <= (-4.6d-188)) then
tmp = (b * ((x / (a * b)) - (x / a))) / y
else
tmp = (x / (a * t_2)) / y
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 = 0.5 * (x / a);
double t_2 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))));
double tmp;
if (b <= -3.1e+129) {
tmp = ((x / a) - (b * ((x / a) + (b * ((t_1 - (x / a)) + (b * (((x / a) - t_1) + ((-0.5 * (x / a)) + (0.16666666666666666 * (x / a)))))))))) / y;
} else if (b <= -3.7e+85) {
tmp = x / (a * (y * t_2));
} else if (b <= -4.6e-188) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = (x / (a * t_2)) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = 0.5 * (x / a) t_2 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666))))) tmp = 0 if b <= -3.1e+129: tmp = ((x / a) - (b * ((x / a) + (b * ((t_1 - (x / a)) + (b * (((x / a) - t_1) + ((-0.5 * (x / a)) + (0.16666666666666666 * (x / a)))))))))) / y elif b <= -3.7e+85: tmp = x / (a * (y * t_2)) elif b <= -4.6e-188: tmp = (b * ((x / (a * b)) - (x / a))) / y else: tmp = (x / (a * t_2)) / y return tmp
function code(x, y, z, t, a, b) t_1 = Float64(0.5 * Float64(x / a)) t_2 = Float64(1.0 - Float64(b * Float64(-1.0 - Float64(b * Float64(0.5 + Float64(b * 0.16666666666666666)))))) tmp = 0.0 if (b <= -3.1e+129) tmp = Float64(Float64(Float64(x / a) - Float64(b * Float64(Float64(x / a) + Float64(b * Float64(Float64(t_1 - Float64(x / a)) + Float64(b * Float64(Float64(Float64(x / a) - t_1) + Float64(Float64(-0.5 * Float64(x / a)) + Float64(0.16666666666666666 * Float64(x / a)))))))))) / y); elseif (b <= -3.7e+85) tmp = Float64(x / Float64(a * Float64(y * t_2))); elseif (b <= -4.6e-188) tmp = Float64(Float64(b * Float64(Float64(x / Float64(a * b)) - Float64(x / a))) / y); else tmp = Float64(Float64(x / Float64(a * t_2)) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = 0.5 * (x / a); t_2 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666))))); tmp = 0.0; if (b <= -3.1e+129) tmp = ((x / a) - (b * ((x / a) + (b * ((t_1 - (x / a)) + (b * (((x / a) - t_1) + ((-0.5 * (x / a)) + (0.16666666666666666 * (x / a)))))))))) / y; elseif (b <= -3.7e+85) tmp = x / (a * (y * t_2)); elseif (b <= -4.6e-188) tmp = (b * ((x / (a * b)) - (x / a))) / y; else tmp = (x / (a * t_2)) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(0.5 * N[(x / a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(1.0 - N[(b * N[(-1.0 - N[(b * N[(0.5 + N[(b * 0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -3.1e+129], N[(N[(N[(x / a), $MachinePrecision] - N[(b * N[(N[(x / a), $MachinePrecision] + N[(b * N[(N[(t$95$1 - N[(x / a), $MachinePrecision]), $MachinePrecision] + N[(b * N[(N[(N[(x / a), $MachinePrecision] - t$95$1), $MachinePrecision] + N[(N[(-0.5 * N[(x / a), $MachinePrecision]), $MachinePrecision] + N[(0.16666666666666666 * N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[b, -3.7e+85], N[(x / N[(a * N[(y * t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4.6e-188], N[(N[(b * N[(N[(x / N[(a * b), $MachinePrecision]), $MachinePrecision] - N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x / N[(a * t$95$2), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 0.5 \cdot \frac{x}{a}\\
t_2 := 1 - b \cdot \left(-1 - b \cdot \left(0.5 + b \cdot 0.16666666666666666\right)\right)\\
\mathbf{if}\;b \leq -3.1 \cdot 10^{+129}:\\
\;\;\;\;\frac{\frac{x}{a} - b \cdot \left(\frac{x}{a} + b \cdot \left(\left(t\_1 - \frac{x}{a}\right) + b \cdot \left(\left(\frac{x}{a} - t\_1\right) + \left(-0.5 \cdot \frac{x}{a} + 0.16666666666666666 \cdot \frac{x}{a}\right)\right)\right)\right)}{y}\\
\mathbf{elif}\;b \leq -3.7 \cdot 10^{+85}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot t\_2\right)}\\
\mathbf{elif}\;b \leq -4.6 \cdot 10^{-188}:\\
\;\;\;\;\frac{b \cdot \left(\frac{x}{a \cdot b} - \frac{x}{a}\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{x}{a \cdot t\_2}}{y}\\
\end{array}
\end{array}
if b < -3.1e129Initial program 100.0%
Taylor expanded in y around 0 89.6%
div-exp60.6%
exp-to-pow60.6%
sub-neg60.6%
metadata-eval60.6%
Simplified60.6%
Taylor expanded in t around 0 92.2%
Taylor expanded in b around 0 74.0%
if -3.1e129 < b < -3.7000000000000002e85Initial program 100.0%
Taylor expanded in y around 0 69.2%
div-exp37.9%
exp-to-pow37.9%
sub-neg37.9%
metadata-eval37.9%
Simplified37.9%
Taylor expanded in t around 0 38.5%
Taylor expanded in b around 0 63.0%
*-commutative51.2%
Simplified63.0%
if -3.7000000000000002e85 < b < -4.6e-188Initial program 99.6%
Taylor expanded in y around 0 83.0%
div-exp79.9%
exp-to-pow80.3%
sub-neg80.3%
metadata-eval80.3%
Simplified80.3%
Taylor expanded in t around 0 49.0%
Taylor expanded in b around 0 35.8%
+-commutative35.8%
mul-1-neg35.8%
unsub-neg35.8%
associate-/l*35.8%
Simplified35.8%
Taylor expanded in b around inf 42.8%
if -4.6e-188 < b Initial program 98.3%
Taylor expanded in y around 0 84.7%
div-exp77.4%
exp-to-pow78.1%
sub-neg78.1%
metadata-eval78.1%
Simplified78.1%
Taylor expanded in t around 0 64.3%
Taylor expanded in b around 0 61.5%
*-commutative61.5%
Simplified61.5%
Final simplification58.7%
(FPCore (x y z t a b)
:precision binary64
(if (<= b -1.16e+125)
(* x (/ (- (/ 1.0 a) (/ b a)) y))
(if (or (<= b -6.8e+86) (not (<= b -4.9e-262)))
(/
x
(*
a
(* y (- 1.0 (* b (- -1.0 (* b (+ 0.5 (* b 0.16666666666666666)))))))))
(/ (* b (- (/ x (* a b)) (/ x a))) y))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -1.16e+125) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if ((b <= -6.8e+86) || !(b <= -4.9e-262)) {
tmp = x / (a * (y * (1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666))))))));
} else {
tmp = (b * ((x / (a * b)) - (x / a))) / 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 <= (-1.16d+125)) then
tmp = x * (((1.0d0 / a) - (b / a)) / y)
else if ((b <= (-6.8d+86)) .or. (.not. (b <= (-4.9d-262)))) then
tmp = x / (a * (y * (1.0d0 - (b * ((-1.0d0) - (b * (0.5d0 + (b * 0.16666666666666666d0))))))))
else
tmp = (b * ((x / (a * b)) - (x / a))) / 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 <= -1.16e+125) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if ((b <= -6.8e+86) || !(b <= -4.9e-262)) {
tmp = x / (a * (y * (1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666))))))));
} else {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -1.16e+125: tmp = x * (((1.0 / a) - (b / a)) / y) elif (b <= -6.8e+86) or not (b <= -4.9e-262): tmp = x / (a * (y * (1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))))))) else: tmp = (b * ((x / (a * b)) - (x / a))) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -1.16e+125) tmp = Float64(x * Float64(Float64(Float64(1.0 / a) - Float64(b / a)) / y)); elseif ((b <= -6.8e+86) || !(b <= -4.9e-262)) tmp = Float64(x / Float64(a * Float64(y * Float64(1.0 - Float64(b * Float64(-1.0 - Float64(b * Float64(0.5 + Float64(b * 0.16666666666666666))))))))); else tmp = Float64(Float64(b * Float64(Float64(x / Float64(a * b)) - Float64(x / a))) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -1.16e+125) tmp = x * (((1.0 / a) - (b / a)) / y); elseif ((b <= -6.8e+86) || ~((b <= -4.9e-262))) tmp = x / (a * (y * (1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))))))); else tmp = (b * ((x / (a * b)) - (x / a))) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -1.16e+125], N[(x * N[(N[(N[(1.0 / a), $MachinePrecision] - N[(b / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], If[Or[LessEqual[b, -6.8e+86], N[Not[LessEqual[b, -4.9e-262]], $MachinePrecision]], N[(x / N[(a * N[(y * N[(1.0 - N[(b * N[(-1.0 - N[(b * N[(0.5 + N[(b * 0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(b * N[(N[(x / N[(a * b), $MachinePrecision]), $MachinePrecision] - N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.16 \cdot 10^{+125}:\\
\;\;\;\;x \cdot \frac{\frac{1}{a} - \frac{b}{a}}{y}\\
\mathbf{elif}\;b \leq -6.8 \cdot 10^{+86} \lor \neg \left(b \leq -4.9 \cdot 10^{-262}\right):\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot \left(1 - b \cdot \left(-1 - b \cdot \left(0.5 + b \cdot 0.16666666666666666\right)\right)\right)\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{b \cdot \left(\frac{x}{a \cdot b} - \frac{x}{a}\right)}{y}\\
\end{array}
\end{array}
if b < -1.16000000000000009e125Initial program 100.0%
Taylor expanded in y around 0 89.9%
div-exp61.6%
exp-to-pow61.6%
sub-neg61.6%
metadata-eval61.6%
Simplified61.6%
Taylor expanded in t around 0 92.4%
Taylor expanded in b around 0 55.5%
+-commutative55.5%
mul-1-neg55.5%
unsub-neg55.5%
associate-/l*50.6%
Simplified50.6%
Taylor expanded in x around 0 62.9%
associate-/l*62.9%
Simplified62.9%
if -1.16000000000000009e125 < b < -6.7999999999999995e86 or -4.9000000000000003e-262 < b Initial program 98.5%
Taylor expanded in y around 0 82.9%
div-exp72.5%
exp-to-pow73.2%
sub-neg73.2%
metadata-eval73.2%
Simplified73.2%
Taylor expanded in t around 0 62.2%
Taylor expanded in b around 0 63.0%
*-commutative61.7%
Simplified63.0%
if -6.7999999999999995e86 < b < -4.9000000000000003e-262Initial program 99.5%
Taylor expanded in y around 0 83.2%
div-exp80.4%
exp-to-pow80.8%
sub-neg80.8%
metadata-eval80.8%
Simplified80.8%
Taylor expanded in t around 0 48.5%
Taylor expanded in b around 0 36.6%
+-commutative36.6%
mul-1-neg36.6%
unsub-neg36.6%
associate-/l*36.6%
Simplified36.6%
Taylor expanded in b around inf 42.9%
Final simplification57.3%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (- 1.0 (* b (- -1.0 (* b (+ 0.5 (* b 0.16666666666666666))))))))
(if (<= b -5.4e+130)
(/ (+ (/ x a) (* b (- (* b (- (/ x a) (* 0.5 (/ x a)))) (/ x a)))) y)
(if (<= b -4.5e+86)
(/ x (* a (* y t_1)))
(if (<= b -5e-187)
(/ (* b (- (/ x (* a b)) (/ x a))) y)
(/ (/ x (* a t_1)) y))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))));
double tmp;
if (b <= -5.4e+130) {
tmp = ((x / a) + (b * ((b * ((x / a) - (0.5 * (x / a)))) - (x / a)))) / y;
} else if (b <= -4.5e+86) {
tmp = x / (a * (y * t_1));
} else if (b <= -5e-187) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = (x / (a * t_1)) / 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) :: t_1
real(8) :: tmp
t_1 = 1.0d0 - (b * ((-1.0d0) - (b * (0.5d0 + (b * 0.16666666666666666d0)))))
if (b <= (-5.4d+130)) then
tmp = ((x / a) + (b * ((b * ((x / a) - (0.5d0 * (x / a)))) - (x / a)))) / y
else if (b <= (-4.5d+86)) then
tmp = x / (a * (y * t_1))
else if (b <= (-5d-187)) then
tmp = (b * ((x / (a * b)) - (x / a))) / y
else
tmp = (x / (a * t_1)) / y
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 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))));
double tmp;
if (b <= -5.4e+130) {
tmp = ((x / a) + (b * ((b * ((x / a) - (0.5 * (x / a)))) - (x / a)))) / y;
} else if (b <= -4.5e+86) {
tmp = x / (a * (y * t_1));
} else if (b <= -5e-187) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = (x / (a * t_1)) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666))))) tmp = 0 if b <= -5.4e+130: tmp = ((x / a) + (b * ((b * ((x / a) - (0.5 * (x / a)))) - (x / a)))) / y elif b <= -4.5e+86: tmp = x / (a * (y * t_1)) elif b <= -5e-187: tmp = (b * ((x / (a * b)) - (x / a))) / y else: tmp = (x / (a * t_1)) / y return tmp
function code(x, y, z, t, a, b) t_1 = Float64(1.0 - Float64(b * Float64(-1.0 - Float64(b * Float64(0.5 + Float64(b * 0.16666666666666666)))))) tmp = 0.0 if (b <= -5.4e+130) tmp = Float64(Float64(Float64(x / a) + Float64(b * Float64(Float64(b * Float64(Float64(x / a) - Float64(0.5 * Float64(x / a)))) - Float64(x / a)))) / y); elseif (b <= -4.5e+86) tmp = Float64(x / Float64(a * Float64(y * t_1))); elseif (b <= -5e-187) tmp = Float64(Float64(b * Float64(Float64(x / Float64(a * b)) - Float64(x / a))) / y); else tmp = Float64(Float64(x / Float64(a * t_1)) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666))))); tmp = 0.0; if (b <= -5.4e+130) tmp = ((x / a) + (b * ((b * ((x / a) - (0.5 * (x / a)))) - (x / a)))) / y; elseif (b <= -4.5e+86) tmp = x / (a * (y * t_1)); elseif (b <= -5e-187) tmp = (b * ((x / (a * b)) - (x / a))) / y; else tmp = (x / (a * t_1)) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(1.0 - N[(b * N[(-1.0 - N[(b * N[(0.5 + N[(b * 0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -5.4e+130], N[(N[(N[(x / a), $MachinePrecision] + N[(b * N[(N[(b * N[(N[(x / a), $MachinePrecision] - N[(0.5 * N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[b, -4.5e+86], N[(x / N[(a * N[(y * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -5e-187], N[(N[(b * N[(N[(x / N[(a * b), $MachinePrecision]), $MachinePrecision] - N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x / N[(a * t$95$1), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 1 - b \cdot \left(-1 - b \cdot \left(0.5 + b \cdot 0.16666666666666666\right)\right)\\
\mathbf{if}\;b \leq -5.4 \cdot 10^{+130}:\\
\;\;\;\;\frac{\frac{x}{a} + b \cdot \left(b \cdot \left(\frac{x}{a} - 0.5 \cdot \frac{x}{a}\right) - \frac{x}{a}\right)}{y}\\
\mathbf{elif}\;b \leq -4.5 \cdot 10^{+86}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot t\_1\right)}\\
\mathbf{elif}\;b \leq -5 \cdot 10^{-187}:\\
\;\;\;\;\frac{b \cdot \left(\frac{x}{a \cdot b} - \frac{x}{a}\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{x}{a \cdot t\_1}}{y}\\
\end{array}
\end{array}
if b < -5.3999999999999997e130Initial program 100.0%
Taylor expanded in y around 0 89.6%
div-exp60.6%
exp-to-pow60.6%
sub-neg60.6%
metadata-eval60.6%
Simplified60.6%
Taylor expanded in t around 0 92.2%
Taylor expanded in b around 0 69.0%
if -5.3999999999999997e130 < b < -4.49999999999999993e86Initial program 100.0%
Taylor expanded in y around 0 69.2%
div-exp37.9%
exp-to-pow37.9%
sub-neg37.9%
metadata-eval37.9%
Simplified37.9%
Taylor expanded in t around 0 38.5%
Taylor expanded in b around 0 63.0%
*-commutative51.2%
Simplified63.0%
if -4.49999999999999993e86 < b < -4.9999999999999996e-187Initial program 99.6%
Taylor expanded in y around 0 83.0%
div-exp79.9%
exp-to-pow80.3%
sub-neg80.3%
metadata-eval80.3%
Simplified80.3%
Taylor expanded in t around 0 49.0%
Taylor expanded in b around 0 35.8%
+-commutative35.8%
mul-1-neg35.8%
unsub-neg35.8%
associate-/l*35.8%
Simplified35.8%
Taylor expanded in b around inf 42.8%
if -4.9999999999999996e-187 < b Initial program 98.3%
Taylor expanded in y around 0 84.7%
div-exp77.4%
exp-to-pow78.1%
sub-neg78.1%
metadata-eval78.1%
Simplified78.1%
Taylor expanded in t around 0 64.3%
Taylor expanded in b around 0 61.5%
*-commutative61.5%
Simplified61.5%
Final simplification58.0%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (- 1.0 (* b (- -1.0 (* b (+ 0.5 (* b 0.16666666666666666))))))))
(if (<= b -2.15e+127)
(* x (/ (- (/ 1.0 a) (/ b a)) y))
(if (<= b -9.2e+85)
(/ x (* a (* y t_1)))
(if (<= b -1.5e-190)
(/ (* b (- (/ x (* a b)) (/ x a))) y)
(/ (/ x (* a t_1)) y))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))));
double tmp;
if (b <= -2.15e+127) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if (b <= -9.2e+85) {
tmp = x / (a * (y * t_1));
} else if (b <= -1.5e-190) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = (x / (a * t_1)) / 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) :: t_1
real(8) :: tmp
t_1 = 1.0d0 - (b * ((-1.0d0) - (b * (0.5d0 + (b * 0.16666666666666666d0)))))
if (b <= (-2.15d+127)) then
tmp = x * (((1.0d0 / a) - (b / a)) / y)
else if (b <= (-9.2d+85)) then
tmp = x / (a * (y * t_1))
else if (b <= (-1.5d-190)) then
tmp = (b * ((x / (a * b)) - (x / a))) / y
else
tmp = (x / (a * t_1)) / y
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 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666)))));
double tmp;
if (b <= -2.15e+127) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if (b <= -9.2e+85) {
tmp = x / (a * (y * t_1));
} else if (b <= -1.5e-190) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = (x / (a * t_1)) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666))))) tmp = 0 if b <= -2.15e+127: tmp = x * (((1.0 / a) - (b / a)) / y) elif b <= -9.2e+85: tmp = x / (a * (y * t_1)) elif b <= -1.5e-190: tmp = (b * ((x / (a * b)) - (x / a))) / y else: tmp = (x / (a * t_1)) / y return tmp
function code(x, y, z, t, a, b) t_1 = Float64(1.0 - Float64(b * Float64(-1.0 - Float64(b * Float64(0.5 + Float64(b * 0.16666666666666666)))))) tmp = 0.0 if (b <= -2.15e+127) tmp = Float64(x * Float64(Float64(Float64(1.0 / a) - Float64(b / a)) / y)); elseif (b <= -9.2e+85) tmp = Float64(x / Float64(a * Float64(y * t_1))); elseif (b <= -1.5e-190) tmp = Float64(Float64(b * Float64(Float64(x / Float64(a * b)) - Float64(x / a))) / y); else tmp = Float64(Float64(x / Float64(a * t_1)) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = 1.0 - (b * (-1.0 - (b * (0.5 + (b * 0.16666666666666666))))); tmp = 0.0; if (b <= -2.15e+127) tmp = x * (((1.0 / a) - (b / a)) / y); elseif (b <= -9.2e+85) tmp = x / (a * (y * t_1)); elseif (b <= -1.5e-190) tmp = (b * ((x / (a * b)) - (x / a))) / y; else tmp = (x / (a * t_1)) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(1.0 - N[(b * N[(-1.0 - N[(b * N[(0.5 + N[(b * 0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.15e+127], N[(x * N[(N[(N[(1.0 / a), $MachinePrecision] - N[(b / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -9.2e+85], N[(x / N[(a * N[(y * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.5e-190], N[(N[(b * N[(N[(x / N[(a * b), $MachinePrecision]), $MachinePrecision] - N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x / N[(a * t$95$1), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := 1 - b \cdot \left(-1 - b \cdot \left(0.5 + b \cdot 0.16666666666666666\right)\right)\\
\mathbf{if}\;b \leq -2.15 \cdot 10^{+127}:\\
\;\;\;\;x \cdot \frac{\frac{1}{a} - \frac{b}{a}}{y}\\
\mathbf{elif}\;b \leq -9.2 \cdot 10^{+85}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot t\_1\right)}\\
\mathbf{elif}\;b \leq -1.5 \cdot 10^{-190}:\\
\;\;\;\;\frac{b \cdot \left(\frac{x}{a \cdot b} - \frac{x}{a}\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{x}{a \cdot t\_1}}{y}\\
\end{array}
\end{array}
if b < -2.14999999999999992e127Initial program 100.0%
Taylor expanded in y around 0 89.9%
div-exp61.6%
exp-to-pow61.6%
sub-neg61.6%
metadata-eval61.6%
Simplified61.6%
Taylor expanded in t around 0 92.4%
Taylor expanded in b around 0 55.5%
+-commutative55.5%
mul-1-neg55.5%
unsub-neg55.5%
associate-/l*50.6%
Simplified50.6%
Taylor expanded in x around 0 62.9%
associate-/l*62.9%
Simplified62.9%
if -2.14999999999999992e127 < b < -9.1999999999999996e85Initial program 100.0%
Taylor expanded in y around 0 67.2%
div-exp33.8%
exp-to-pow33.8%
sub-neg33.8%
metadata-eval33.8%
Simplified33.8%
Taylor expanded in t around 0 34.4%
Taylor expanded in b around 0 67.1%
*-commutative54.5%
Simplified67.1%
if -9.1999999999999996e85 < b < -1.4999999999999999e-190Initial program 99.6%
Taylor expanded in y around 0 83.3%
div-exp80.2%
exp-to-pow80.6%
sub-neg80.6%
metadata-eval80.6%
Simplified80.6%
Taylor expanded in t around 0 48.3%
Taylor expanded in b around 0 35.2%
+-commutative35.2%
mul-1-neg35.2%
unsub-neg35.2%
associate-/l*35.2%
Simplified35.2%
Taylor expanded in b around inf 42.2%
if -1.4999999999999999e-190 < b Initial program 98.3%
Taylor expanded in y around 0 84.6%
div-exp77.2%
exp-to-pow78.0%
sub-neg78.0%
metadata-eval78.0%
Simplified78.0%
Taylor expanded in t around 0 64.8%
Taylor expanded in b around 0 62.0%
*-commutative62.0%
Simplified62.0%
Final simplification57.3%
(FPCore (x y z t a b)
:precision binary64
(if (<= b -2e+112)
(* x (/ (- (/ 1.0 a) (/ b a)) y))
(if (<= b -9.2e-188)
(/ (* b (- (/ x (* a b)) (/ x a))) y)
(/ (/ x (* a (- 1.0 (* b (- -1.0 (* b 0.5)))))) y))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -2e+112) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if (b <= -9.2e-188) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = (x / (a * (1.0 - (b * (-1.0 - (b * 0.5)))))) / 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 <= (-2d+112)) then
tmp = x * (((1.0d0 / a) - (b / a)) / y)
else if (b <= (-9.2d-188)) then
tmp = (b * ((x / (a * b)) - (x / a))) / y
else
tmp = (x / (a * (1.0d0 - (b * ((-1.0d0) - (b * 0.5d0)))))) / 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 <= -2e+112) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if (b <= -9.2e-188) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = (x / (a * (1.0 - (b * (-1.0 - (b * 0.5)))))) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -2e+112: tmp = x * (((1.0 / a) - (b / a)) / y) elif b <= -9.2e-188: tmp = (b * ((x / (a * b)) - (x / a))) / y else: tmp = (x / (a * (1.0 - (b * (-1.0 - (b * 0.5)))))) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -2e+112) tmp = Float64(x * Float64(Float64(Float64(1.0 / a) - Float64(b / a)) / y)); elseif (b <= -9.2e-188) tmp = Float64(Float64(b * Float64(Float64(x / Float64(a * b)) - Float64(x / a))) / y); else tmp = Float64(Float64(x / Float64(a * Float64(1.0 - Float64(b * Float64(-1.0 - Float64(b * 0.5)))))) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -2e+112) tmp = x * (((1.0 / a) - (b / a)) / y); elseif (b <= -9.2e-188) tmp = (b * ((x / (a * b)) - (x / a))) / y; else tmp = (x / (a * (1.0 - (b * (-1.0 - (b * 0.5)))))) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -2e+112], N[(x * N[(N[(N[(1.0 / a), $MachinePrecision] - N[(b / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -9.2e-188], N[(N[(b * N[(N[(x / N[(a * b), $MachinePrecision]), $MachinePrecision] - N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x / N[(a * N[(1.0 - N[(b * N[(-1.0 - N[(b * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2 \cdot 10^{+112}:\\
\;\;\;\;x \cdot \frac{\frac{1}{a} - \frac{b}{a}}{y}\\
\mathbf{elif}\;b \leq -9.2 \cdot 10^{-188}:\\
\;\;\;\;\frac{b \cdot \left(\frac{x}{a \cdot b} - \frac{x}{a}\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{x}{a \cdot \left(1 - b \cdot \left(-1 - b \cdot 0.5\right)\right)}}{y}\\
\end{array}
\end{array}
if b < -1.9999999999999999e112Initial program 100.0%
Taylor expanded in y around 0 87.2%
div-exp56.7%
exp-to-pow56.7%
sub-neg56.7%
metadata-eval56.7%
Simplified56.7%
Taylor expanded in t around 0 82.9%
Taylor expanded in b around 0 47.6%
+-commutative47.6%
mul-1-neg47.6%
unsub-neg47.6%
associate-/l*43.5%
Simplified43.5%
Taylor expanded in x around 0 53.9%
associate-/l*55.9%
Simplified55.9%
if -1.9999999999999999e112 < b < -9.1999999999999999e-188Initial program 99.6%
Taylor expanded in y around 0 80.8%
div-exp75.3%
exp-to-pow75.6%
sub-neg75.6%
metadata-eval75.6%
Simplified75.6%
Taylor expanded in t around 0 47.9%
Taylor expanded in b around 0 36.2%
+-commutative36.2%
mul-1-neg36.2%
unsub-neg36.2%
associate-/l*36.2%
Simplified36.2%
Taylor expanded in b around inf 42.5%
if -9.1999999999999999e-188 < b Initial program 98.3%
Taylor expanded in y around 0 84.7%
div-exp77.4%
exp-to-pow78.1%
sub-neg78.1%
metadata-eval78.1%
Simplified78.1%
Taylor expanded in t around 0 64.3%
Taylor expanded in b around 0 57.4%
*-commutative57.4%
Simplified57.4%
Final simplification52.9%
(FPCore (x y z t a b)
:precision binary64
(if (<= b -2e+112)
(* x (/ (- (/ 1.0 a) (/ b a)) y))
(if (<= b -6.6e-259)
(/ (* b (- (/ x (* a b)) (/ x a))) y)
(/ x (* a (+ y (* b (+ y (* 0.5 (* y b))))))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -2e+112) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if (b <= -6.6e-259) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = x / (a * (y + (b * (y + (0.5 * (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 <= (-2d+112)) then
tmp = x * (((1.0d0 / a) - (b / a)) / y)
else if (b <= (-6.6d-259)) then
tmp = (b * ((x / (a * b)) - (x / a))) / y
else
tmp = x / (a * (y + (b * (y + (0.5d0 * (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 <= -2e+112) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if (b <= -6.6e-259) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = x / (a * (y + (b * (y + (0.5 * (y * b))))));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -2e+112: tmp = x * (((1.0 / a) - (b / a)) / y) elif b <= -6.6e-259: tmp = (b * ((x / (a * b)) - (x / a))) / y else: tmp = x / (a * (y + (b * (y + (0.5 * (y * b)))))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -2e+112) tmp = Float64(x * Float64(Float64(Float64(1.0 / a) - Float64(b / a)) / y)); elseif (b <= -6.6e-259) tmp = Float64(Float64(b * Float64(Float64(x / Float64(a * b)) - Float64(x / a))) / y); else tmp = Float64(x / Float64(a * Float64(y + Float64(b * Float64(y + Float64(0.5 * Float64(y * b))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -2e+112) tmp = x * (((1.0 / a) - (b / a)) / y); elseif (b <= -6.6e-259) tmp = (b * ((x / (a * b)) - (x / a))) / y; else tmp = x / (a * (y + (b * (y + (0.5 * (y * b)))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -2e+112], N[(x * N[(N[(N[(1.0 / a), $MachinePrecision] - N[(b / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -6.6e-259], N[(N[(b * N[(N[(x / N[(a * b), $MachinePrecision]), $MachinePrecision] - N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(x / N[(a * N[(y + N[(b * N[(y + N[(0.5 * N[(y * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2 \cdot 10^{+112}:\\
\;\;\;\;x \cdot \frac{\frac{1}{a} - \frac{b}{a}}{y}\\
\mathbf{elif}\;b \leq -6.6 \cdot 10^{-259}:\\
\;\;\;\;\frac{b \cdot \left(\frac{x}{a \cdot b} - \frac{x}{a}\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y + b \cdot \left(y + 0.5 \cdot \left(y \cdot b\right)\right)\right)}\\
\end{array}
\end{array}
if b < -1.9999999999999999e112Initial program 100.0%
Taylor expanded in y around 0 87.2%
div-exp56.7%
exp-to-pow56.7%
sub-neg56.7%
metadata-eval56.7%
Simplified56.7%
Taylor expanded in t around 0 82.9%
Taylor expanded in b around 0 47.6%
+-commutative47.6%
mul-1-neg47.6%
unsub-neg47.6%
associate-/l*43.5%
Simplified43.5%
Taylor expanded in x around 0 53.9%
associate-/l*55.9%
Simplified55.9%
if -1.9999999999999999e112 < b < -6.6e-259Initial program 99.5%
Taylor expanded in y around 0 81.2%
div-exp76.1%
exp-to-pow76.6%
sub-neg76.6%
metadata-eval76.6%
Simplified76.6%
Taylor expanded in t around 0 47.5%
Taylor expanded in b around 0 36.8%
+-commutative36.8%
mul-1-neg36.8%
unsub-neg36.8%
associate-/l*36.9%
Simplified36.9%
Taylor expanded in b around inf 42.6%
if -6.6e-259 < b Initial program 98.3%
Taylor expanded in y around 0 84.7%
div-exp77.0%
exp-to-pow77.7%
sub-neg77.7%
metadata-eval77.7%
Simplified77.7%
Taylor expanded in t around 0 65.4%
Taylor expanded in b around 0 55.8%
*-commutative55.8%
Simplified55.8%
(FPCore (x y z t a b)
:precision binary64
(if (<= b -7e+110)
(* x (/ (- (/ 1.0 a) (/ b a)) y))
(if (<= b -7e-264)
(/ (* b (- (/ x (* a b)) (/ x a))) y)
(/ x (* a (* y (+ 1.0 b)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -7e+110) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if (b <= -7e-264) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = x / (a * (y * (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 <= (-7d+110)) then
tmp = x * (((1.0d0 / a) - (b / a)) / y)
else if (b <= (-7d-264)) then
tmp = (b * ((x / (a * b)) - (x / a))) / y
else
tmp = x / (a * (y * (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 <= -7e+110) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if (b <= -7e-264) {
tmp = (b * ((x / (a * b)) - (x / a))) / y;
} else {
tmp = x / (a * (y * (1.0 + b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -7e+110: tmp = x * (((1.0 / a) - (b / a)) / y) elif b <= -7e-264: tmp = (b * ((x / (a * b)) - (x / a))) / y else: tmp = x / (a * (y * (1.0 + b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -7e+110) tmp = Float64(x * Float64(Float64(Float64(1.0 / a) - Float64(b / a)) / y)); elseif (b <= -7e-264) tmp = Float64(Float64(b * Float64(Float64(x / Float64(a * b)) - Float64(x / a))) / y); else tmp = Float64(x / Float64(a * Float64(y * Float64(1.0 + b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -7e+110) tmp = x * (((1.0 / a) - (b / a)) / y); elseif (b <= -7e-264) tmp = (b * ((x / (a * b)) - (x / a))) / y; else tmp = x / (a * (y * (1.0 + b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -7e+110], N[(x * N[(N[(N[(1.0 / a), $MachinePrecision] - N[(b / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -7e-264], N[(N[(b * N[(N[(x / N[(a * b), $MachinePrecision]), $MachinePrecision] - N[(x / a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(x / N[(a * N[(y * N[(1.0 + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -7 \cdot 10^{+110}:\\
\;\;\;\;x \cdot \frac{\frac{1}{a} - \frac{b}{a}}{y}\\
\mathbf{elif}\;b \leq -7 \cdot 10^{-264}:\\
\;\;\;\;\frac{b \cdot \left(\frac{x}{a \cdot b} - \frac{x}{a}\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot \left(1 + b\right)\right)}\\
\end{array}
\end{array}
if b < -6.9999999999999998e110Initial program 100.0%
Taylor expanded in y around 0 87.2%
div-exp56.7%
exp-to-pow56.7%
sub-neg56.7%
metadata-eval56.7%
Simplified56.7%
Taylor expanded in t around 0 82.9%
Taylor expanded in b around 0 47.6%
+-commutative47.6%
mul-1-neg47.6%
unsub-neg47.6%
associate-/l*43.5%
Simplified43.5%
Taylor expanded in x around 0 53.9%
associate-/l*55.9%
Simplified55.9%
if -6.9999999999999998e110 < b < -7.0000000000000001e-264Initial program 99.5%
Taylor expanded in y around 0 81.2%
div-exp76.1%
exp-to-pow76.6%
sub-neg76.6%
metadata-eval76.6%
Simplified76.6%
Taylor expanded in t around 0 47.5%
Taylor expanded in b around 0 36.8%
+-commutative36.8%
mul-1-neg36.8%
unsub-neg36.8%
associate-/l*36.9%
Simplified36.9%
Taylor expanded in b around inf 42.6%
if -7.0000000000000001e-264 < b Initial program 98.3%
Taylor expanded in y around 0 84.7%
div-exp77.0%
exp-to-pow77.7%
sub-neg77.7%
metadata-eval77.7%
Simplified77.7%
Taylor expanded in t around 0 65.4%
Taylor expanded in b around 0 42.6%
distribute-lft-out42.6%
distribute-rgt1-in42.6%
Simplified42.6%
Final simplification45.0%
(FPCore (x y z t a b) :precision binary64 (if (<= b -2.2e+110) (* x (/ (- (/ 1.0 a) (/ b a)) y)) (if (<= b 9.2e-42) (/ (/ x a) y) (/ x (* a (* y (+ 1.0 b)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -2.2e+110) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if (b <= 9.2e-42) {
tmp = (x / a) / y;
} else {
tmp = x / (a * (y * (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 <= (-2.2d+110)) then
tmp = x * (((1.0d0 / a) - (b / a)) / y)
else if (b <= 9.2d-42) then
tmp = (x / a) / y
else
tmp = x / (a * (y * (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 <= -2.2e+110) {
tmp = x * (((1.0 / a) - (b / a)) / y);
} else if (b <= 9.2e-42) {
tmp = (x / a) / y;
} else {
tmp = x / (a * (y * (1.0 + b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -2.2e+110: tmp = x * (((1.0 / a) - (b / a)) / y) elif b <= 9.2e-42: tmp = (x / a) / y else: tmp = x / (a * (y * (1.0 + b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -2.2e+110) tmp = Float64(x * Float64(Float64(Float64(1.0 / a) - Float64(b / a)) / y)); elseif (b <= 9.2e-42) tmp = Float64(Float64(x / a) / y); else tmp = Float64(x / Float64(a * Float64(y * Float64(1.0 + b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -2.2e+110) tmp = x * (((1.0 / a) - (b / a)) / y); elseif (b <= 9.2e-42) tmp = (x / a) / y; else tmp = x / (a * (y * (1.0 + b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -2.2e+110], N[(x * N[(N[(N[(1.0 / a), $MachinePrecision] - N[(b / a), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 9.2e-42], N[(N[(x / a), $MachinePrecision] / y), $MachinePrecision], N[(x / N[(a * N[(y * N[(1.0 + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.2 \cdot 10^{+110}:\\
\;\;\;\;x \cdot \frac{\frac{1}{a} - \frac{b}{a}}{y}\\
\mathbf{elif}\;b \leq 9.2 \cdot 10^{-42}:\\
\;\;\;\;\frac{\frac{x}{a}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot \left(1 + b\right)\right)}\\
\end{array}
\end{array}
if b < -2.19999999999999992e110Initial program 100.0%
Taylor expanded in y around 0 87.4%
div-exp57.6%
exp-to-pow57.6%
sub-neg57.6%
metadata-eval57.6%
Simplified57.6%
Taylor expanded in t around 0 83.2%
Taylor expanded in b around 0 48.7%
+-commutative48.7%
mul-1-neg48.7%
unsub-neg48.7%
associate-/l*44.7%
Simplified44.7%
Taylor expanded in x around 0 54.8%
associate-/l*56.9%
Simplified56.9%
if -2.19999999999999992e110 < b < 9.20000000000000015e-42Initial program 98.1%
Taylor expanded in y around 0 80.2%
div-exp77.3%
exp-to-pow78.2%
sub-neg78.2%
metadata-eval78.2%
Simplified78.2%
Taylor expanded in t around 0 48.0%
Taylor expanded in b around 0 42.4%
if 9.20000000000000015e-42 < b Initial program 100.0%
Taylor expanded in y around 0 89.1%
div-exp75.2%
exp-to-pow75.2%
sub-neg75.2%
metadata-eval75.2%
Simplified75.2%
Taylor expanded in t around 0 79.6%
Taylor expanded in b around 0 38.3%
distribute-lft-out38.3%
distribute-rgt1-in38.3%
Simplified38.3%
Final simplification43.9%
(FPCore (x y z t a b) :precision binary64 (if (<= b -2.2e+110) (/ (/ (* x b) a) (- y)) (if (<= b 2.2e-47) (/ (/ x a) y) (/ x (* a (* y (+ 1.0 b)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -2.2e+110) {
tmp = ((x * b) / a) / -y;
} else if (b <= 2.2e-47) {
tmp = (x / a) / y;
} else {
tmp = x / (a * (y * (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 <= (-2.2d+110)) then
tmp = ((x * b) / a) / -y
else if (b <= 2.2d-47) then
tmp = (x / a) / y
else
tmp = x / (a * (y * (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 <= -2.2e+110) {
tmp = ((x * b) / a) / -y;
} else if (b <= 2.2e-47) {
tmp = (x / a) / y;
} else {
tmp = x / (a * (y * (1.0 + b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -2.2e+110: tmp = ((x * b) / a) / -y elif b <= 2.2e-47: tmp = (x / a) / y else: tmp = x / (a * (y * (1.0 + b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -2.2e+110) tmp = Float64(Float64(Float64(x * b) / a) / Float64(-y)); elseif (b <= 2.2e-47) tmp = Float64(Float64(x / a) / y); else tmp = Float64(x / Float64(a * Float64(y * Float64(1.0 + b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -2.2e+110) tmp = ((x * b) / a) / -y; elseif (b <= 2.2e-47) tmp = (x / a) / y; else tmp = x / (a * (y * (1.0 + b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -2.2e+110], N[(N[(N[(x * b), $MachinePrecision] / a), $MachinePrecision] / (-y)), $MachinePrecision], If[LessEqual[b, 2.2e-47], N[(N[(x / a), $MachinePrecision] / y), $MachinePrecision], N[(x / N[(a * N[(y * N[(1.0 + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.2 \cdot 10^{+110}:\\
\;\;\;\;\frac{\frac{x \cdot b}{a}}{-y}\\
\mathbf{elif}\;b \leq 2.2 \cdot 10^{-47}:\\
\;\;\;\;\frac{\frac{x}{a}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot \left(1 + b\right)\right)}\\
\end{array}
\end{array}
if b < -2.19999999999999992e110Initial program 100.0%
Taylor expanded in y around 0 87.4%
div-exp57.6%
exp-to-pow57.6%
sub-neg57.6%
metadata-eval57.6%
Simplified57.6%
Taylor expanded in t around 0 83.2%
Taylor expanded in b around 0 48.7%
+-commutative48.7%
mul-1-neg48.7%
unsub-neg48.7%
associate-/l*44.7%
Simplified44.7%
Taylor expanded in b around inf 48.7%
if -2.19999999999999992e110 < b < 2.20000000000000019e-47Initial program 98.2%
Taylor expanded in y around 0 80.0%
div-exp77.0%
exp-to-pow77.9%
sub-neg77.9%
metadata-eval77.9%
Simplified77.9%
Taylor expanded in t around 0 47.9%
Taylor expanded in b around 0 42.3%
if 2.20000000000000019e-47 < b Initial program 99.9%
Taylor expanded in y around 0 89.3%
div-exp75.8%
exp-to-pow75.9%
sub-neg75.9%
metadata-eval75.9%
Simplified75.9%
Taylor expanded in t around 0 78.8%
Taylor expanded in b around 0 38.6%
distribute-lft-out38.6%
distribute-rgt1-in38.6%
Simplified38.6%
Final simplification42.4%
(FPCore (x y z t a b) :precision binary64 (if (<= b -2.2e+110) (/ (* b (/ x (- a))) y) (if (<= b 6.8e-43) (/ (/ x a) y) (/ x (* a (* y (+ 1.0 b)))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -2.2e+110) {
tmp = (b * (x / -a)) / y;
} else if (b <= 6.8e-43) {
tmp = (x / a) / y;
} else {
tmp = x / (a * (y * (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 <= (-2.2d+110)) then
tmp = (b * (x / -a)) / y
else if (b <= 6.8d-43) then
tmp = (x / a) / y
else
tmp = x / (a * (y * (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 <= -2.2e+110) {
tmp = (b * (x / -a)) / y;
} else if (b <= 6.8e-43) {
tmp = (x / a) / y;
} else {
tmp = x / (a * (y * (1.0 + b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -2.2e+110: tmp = (b * (x / -a)) / y elif b <= 6.8e-43: tmp = (x / a) / y else: tmp = x / (a * (y * (1.0 + b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -2.2e+110) tmp = Float64(Float64(b * Float64(x / Float64(-a))) / y); elseif (b <= 6.8e-43) tmp = Float64(Float64(x / a) / y); else tmp = Float64(x / Float64(a * Float64(y * Float64(1.0 + b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -2.2e+110) tmp = (b * (x / -a)) / y; elseif (b <= 6.8e-43) tmp = (x / a) / y; else tmp = x / (a * (y * (1.0 + b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -2.2e+110], N[(N[(b * N[(x / (-a)), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[b, 6.8e-43], N[(N[(x / a), $MachinePrecision] / y), $MachinePrecision], N[(x / N[(a * N[(y * N[(1.0 + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.2 \cdot 10^{+110}:\\
\;\;\;\;\frac{b \cdot \frac{x}{-a}}{y}\\
\mathbf{elif}\;b \leq 6.8 \cdot 10^{-43}:\\
\;\;\;\;\frac{\frac{x}{a}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot \left(1 + b\right)\right)}\\
\end{array}
\end{array}
if b < -2.19999999999999992e110Initial program 100.0%
Taylor expanded in y around 0 87.4%
div-exp57.6%
exp-to-pow57.6%
sub-neg57.6%
metadata-eval57.6%
Simplified57.6%
Taylor expanded in t around 0 83.2%
Taylor expanded in b around 0 48.7%
+-commutative48.7%
mul-1-neg48.7%
unsub-neg48.7%
associate-/l*44.7%
Simplified44.7%
Taylor expanded in b around inf 48.7%
neg-mul-148.7%
associate-/l*44.7%
distribute-lft-neg-out44.7%
*-commutative44.7%
Simplified44.7%
if -2.19999999999999992e110 < b < 6.8000000000000001e-43Initial program 98.1%
Taylor expanded in y around 0 80.2%
div-exp77.3%
exp-to-pow78.2%
sub-neg78.2%
metadata-eval78.2%
Simplified78.2%
Taylor expanded in t around 0 48.0%
Taylor expanded in b around 0 42.4%
if 6.8000000000000001e-43 < b Initial program 100.0%
Taylor expanded in y around 0 89.1%
div-exp75.2%
exp-to-pow75.2%
sub-neg75.2%
metadata-eval75.2%
Simplified75.2%
Taylor expanded in t around 0 79.6%
Taylor expanded in b around 0 38.3%
distribute-lft-out38.3%
distribute-rgt1-in38.3%
Simplified38.3%
Final simplification41.7%
(FPCore (x y z t a b) :precision binary64 (if (<= b -2.2e+110) (/ (* b (/ x (- a))) y) (/ (/ x a) y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -2.2e+110) {
tmp = (b * (x / -a)) / y;
} else {
tmp = (x / a) / 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 <= (-2.2d+110)) then
tmp = (b * (x / -a)) / y
else
tmp = (x / a) / 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 <= -2.2e+110) {
tmp = (b * (x / -a)) / y;
} else {
tmp = (x / a) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -2.2e+110: tmp = (b * (x / -a)) / y else: tmp = (x / a) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -2.2e+110) tmp = Float64(Float64(b * Float64(x / Float64(-a))) / y); else tmp = Float64(Float64(x / a) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -2.2e+110) tmp = (b * (x / -a)) / y; else tmp = (x / a) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -2.2e+110], N[(N[(b * N[(x / (-a)), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(N[(x / a), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.2 \cdot 10^{+110}:\\
\;\;\;\;\frac{b \cdot \frac{x}{-a}}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{x}{a}}{y}\\
\end{array}
\end{array}
if b < -2.19999999999999992e110Initial program 100.0%
Taylor expanded in y around 0 87.4%
div-exp57.6%
exp-to-pow57.6%
sub-neg57.6%
metadata-eval57.6%
Simplified57.6%
Taylor expanded in t around 0 83.2%
Taylor expanded in b around 0 48.7%
+-commutative48.7%
mul-1-neg48.7%
unsub-neg48.7%
associate-/l*44.7%
Simplified44.7%
Taylor expanded in b around inf 48.7%
neg-mul-148.7%
associate-/l*44.7%
distribute-lft-neg-out44.7%
*-commutative44.7%
Simplified44.7%
if -2.19999999999999992e110 < b Initial program 98.8%
Taylor expanded in y around 0 83.3%
div-exp76.6%
exp-to-pow77.2%
sub-neg77.2%
metadata-eval77.2%
Simplified77.2%
Taylor expanded in t around 0 58.4%
Taylor expanded in b around 0 34.5%
Final simplification36.4%
(FPCore (x y z t a b) :precision binary64 (if (<= b -2.2e+110) (/ (* x b) (* y (- a))) (/ (/ x a) y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -2.2e+110) {
tmp = (x * b) / (y * -a);
} else {
tmp = (x / a) / 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 <= (-2.2d+110)) then
tmp = (x * b) / (y * -a)
else
tmp = (x / a) / 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 <= -2.2e+110) {
tmp = (x * b) / (y * -a);
} else {
tmp = (x / a) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -2.2e+110: tmp = (x * b) / (y * -a) else: tmp = (x / a) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -2.2e+110) tmp = Float64(Float64(x * b) / Float64(y * Float64(-a))); else tmp = Float64(Float64(x / a) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -2.2e+110) tmp = (x * b) / (y * -a); else tmp = (x / a) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -2.2e+110], N[(N[(x * b), $MachinePrecision] / N[(y * (-a)), $MachinePrecision]), $MachinePrecision], N[(N[(x / a), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.2 \cdot 10^{+110}:\\
\;\;\;\;\frac{x \cdot b}{y \cdot \left(-a\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{x}{a}}{y}\\
\end{array}
\end{array}
if b < -2.19999999999999992e110Initial program 100.0%
Taylor expanded in y around 0 87.4%
div-exp57.6%
exp-to-pow57.6%
sub-neg57.6%
metadata-eval57.6%
Simplified57.6%
Taylor expanded in t around 0 83.2%
Taylor expanded in b around 0 48.7%
+-commutative48.7%
mul-1-neg48.7%
unsub-neg48.7%
associate-/l*44.7%
Simplified44.7%
Taylor expanded in b around inf 42.6%
associate-*r/42.6%
associate-*r*42.6%
neg-mul-142.6%
Simplified42.6%
if -2.19999999999999992e110 < b Initial program 98.8%
Taylor expanded in y around 0 83.3%
div-exp76.6%
exp-to-pow77.2%
sub-neg77.2%
metadata-eval77.2%
Simplified77.2%
Taylor expanded in t around 0 58.4%
Taylor expanded in b around 0 34.5%
Final simplification36.0%
(FPCore (x y z t a b) :precision binary64 (if (<= b -3.3e+31) (* b (/ x (* y (- a)))) (/ (/ x a) y)))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -3.3e+31) {
tmp = b * (x / (y * -a));
} else {
tmp = (x / a) / 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 <= (-3.3d+31)) then
tmp = b * (x / (y * -a))
else
tmp = (x / a) / 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 <= -3.3e+31) {
tmp = b * (x / (y * -a));
} else {
tmp = (x / a) / y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -3.3e+31: tmp = b * (x / (y * -a)) else: tmp = (x / a) / y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -3.3e+31) tmp = Float64(b * Float64(x / Float64(y * Float64(-a)))); else tmp = Float64(Float64(x / a) / y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -3.3e+31) tmp = b * (x / (y * -a)); else tmp = (x / a) / y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -3.3e+31], N[(b * N[(x / N[(y * (-a)), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x / a), $MachinePrecision] / y), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -3.3 \cdot 10^{+31}:\\
\;\;\;\;b \cdot \frac{x}{y \cdot \left(-a\right)}\\
\mathbf{else}:\\
\;\;\;\;\frac{\frac{x}{a}}{y}\\
\end{array}
\end{array}
if b < -3.29999999999999992e31Initial program 100.0%
Taylor expanded in y around 0 83.1%
div-exp56.4%
exp-to-pow56.4%
sub-neg56.4%
metadata-eval56.4%
Simplified56.4%
Taylor expanded in t around 0 76.9%
Taylor expanded in b around 0 44.2%
+-commutative44.2%
mul-1-neg44.2%
unsub-neg44.2%
associate-/l*41.2%
Simplified41.2%
Taylor expanded in b around inf 39.7%
mul-1-neg39.7%
associate-/l*41.1%
distribute-rgt-neg-in41.1%
distribute-neg-frac241.1%
distribute-rgt-neg-out41.1%
Simplified41.1%
if -3.29999999999999992e31 < b Initial program 98.7%
Taylor expanded in y around 0 84.4%
div-exp78.6%
exp-to-pow79.3%
sub-neg79.3%
metadata-eval79.3%
Simplified79.3%
Taylor expanded in t around 0 58.3%
Taylor expanded in b around 0 34.3%
Final simplification36.0%
(FPCore (x y z t a b) :precision binary64 (/ (/ x a) y))
double code(double x, double y, double z, double t, double a, double b) {
return (x / a) / 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 / a) / y
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return (x / a) / y;
}
def code(x, y, z, t, a, b): return (x / a) / y
function code(x, y, z, t, a, b) return Float64(Float64(x / a) / y) end
function tmp = code(x, y, z, t, a, b) tmp = (x / a) / y; end
code[x_, y_, z_, t_, a_, b_] := N[(N[(x / a), $MachinePrecision] / y), $MachinePrecision]
\begin{array}{l}
\\
\frac{\frac{x}{a}}{y}
\end{array}
Initial program 99.0%
Taylor expanded in y around 0 84.0%
div-exp73.1%
exp-to-pow73.6%
sub-neg73.6%
metadata-eval73.6%
Simplified73.6%
Taylor expanded in t around 0 63.0%
Taylor expanded in b around 0 32.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 99.0%
Taylor expanded in y around 0 84.0%
div-exp73.1%
exp-to-pow73.6%
sub-neg73.6%
metadata-eval73.6%
Simplified73.6%
Taylor expanded in t around 0 61.4%
Taylor expanded in b around 0 29.1%
Final simplification29.1%
(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 2024170
(FPCore (x y z t a b)
:name "Numeric.SpecFunctions:incompleteBetaWorker from math-functions-0.1.5.2, A"
:precision binary64
:alt
(! :herbie-platform default (if (< t -8845848504127471/10000000000000000) (/ (* x (/ (pow a (- t 1)) y)) (- (+ b 1) (* y (log z)))) (if (< t 8520312288374073/10000000000) (/ (* (/ x y) (pow a (- t 1))) (exp (- b (* (log z) y)))) (/ (* x (/ (pow a (- t 1)) y)) (- (+ b 1) (* y (log z)))))))
(/ (* x (exp (- (+ (* y (log z)) (* (- t 1.0) (log a))) b))) y))