
(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 18 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 98.6%
Final simplification98.6%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (/ x (/ y (pow z y)))))
(if (<= y -4.1e+33)
t_1
(if (<= y 2.65e+68) (/ (* x (/ (pow a (+ t -1.0)) (exp b))) y) t_1))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x / (y / pow(z, y));
double tmp;
if (y <= -4.1e+33) {
tmp = t_1;
} else if (y <= 2.65e+68) {
tmp = (x * (pow(a, (t + -1.0)) / exp(b))) / y;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = x / (y / (z ** y))
if (y <= (-4.1d+33)) then
tmp = t_1
else if (y <= 2.65d+68) then
tmp = (x * ((a ** (t + (-1.0d0))) / exp(b))) / y
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x / (y / Math.pow(z, y));
double tmp;
if (y <= -4.1e+33) {
tmp = t_1;
} else if (y <= 2.65e+68) {
tmp = (x * (Math.pow(a, (t + -1.0)) / Math.exp(b))) / y;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x / (y / math.pow(z, y)) tmp = 0 if y <= -4.1e+33: tmp = t_1 elif y <= 2.65e+68: tmp = (x * (math.pow(a, (t + -1.0)) / math.exp(b))) / y else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x / Float64(y / (z ^ y))) tmp = 0.0 if (y <= -4.1e+33) tmp = t_1; elseif (y <= 2.65e+68) tmp = Float64(Float64(x * Float64((a ^ Float64(t + -1.0)) / exp(b))) / y); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x / (y / (z ^ y)); tmp = 0.0; if (y <= -4.1e+33) tmp = t_1; elseif (y <= 2.65e+68) tmp = (x * ((a ^ (t + -1.0)) / exp(b))) / y; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x / N[(y / N[Power[z, y], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y, -4.1e+33], t$95$1, If[LessEqual[y, 2.65e+68], N[(N[(x * N[(N[Power[a, N[(t + -1.0), $MachinePrecision]], $MachinePrecision] / N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{\frac{y}{{z}^{y}}}\\
\mathbf{if}\;y \leq -4.1 \cdot 10^{+33}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;y \leq 2.65 \cdot 10^{+68}:\\
\;\;\;\;\frac{x \cdot \frac{{a}^{\left(t + -1\right)}}{e^{b}}}{y}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if y < -4.09999999999999995e33 or 2.6500000000000001e68 < y Initial program 100.0%
Taylor expanded in y around inf
*-lowering-*.f64N/A
log-lowering-log.f6484.6%
Simplified84.6%
associate-/l*N/A
*-commutativeN/A
pow-to-expN/A
clear-numN/A
un-div-invN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
pow-lowering-pow.f6484.6%
Applied egg-rr84.6%
if -4.09999999999999995e33 < y < 2.6500000000000001e68Initial program 97.8%
Taylor expanded in y around 0
exp-diffN/A
/-lowering-/.f64N/A
exp-to-powN/A
pow-lowering-pow.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
exp-lowering-exp.f6479.5%
Simplified79.5%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (/ (/ x (exp b)) y)))
(if (<= b -12.2)
t_1
(if (<= b -2.5e-270)
(/
x
(*
y
(+
a
(* b (+ a (* b (+ (* a (* b 0.16666666666666666)) (* a 0.5))))))))
(if (<= b 2.1e-71)
(/ (* 0.5 (* x (* b b))) y)
(if (<= b 9.2e+24) (/ x (* y a)) t_1))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (x / exp(b)) / y;
double tmp;
if (b <= -12.2) {
tmp = t_1;
} else if (b <= -2.5e-270) {
tmp = x / (y * (a + (b * (a + (b * ((a * (b * 0.16666666666666666)) + (a * 0.5)))))));
} else if (b <= 2.1e-71) {
tmp = (0.5 * (x * (b * b))) / y;
} else if (b <= 9.2e+24) {
tmp = x / (y * a);
} 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 / exp(b)) / y
if (b <= (-12.2d0)) then
tmp = t_1
else if (b <= (-2.5d-270)) then
tmp = x / (y * (a + (b * (a + (b * ((a * (b * 0.16666666666666666d0)) + (a * 0.5d0)))))))
else if (b <= 2.1d-71) then
tmp = (0.5d0 * (x * (b * b))) / y
else if (b <= 9.2d+24) then
tmp = x / (y * a)
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.exp(b)) / y;
double tmp;
if (b <= -12.2) {
tmp = t_1;
} else if (b <= -2.5e-270) {
tmp = x / (y * (a + (b * (a + (b * ((a * (b * 0.16666666666666666)) + (a * 0.5)))))));
} else if (b <= 2.1e-71) {
tmp = (0.5 * (x * (b * b))) / y;
} else if (b <= 9.2e+24) {
tmp = x / (y * a);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = (x / math.exp(b)) / y tmp = 0 if b <= -12.2: tmp = t_1 elif b <= -2.5e-270: tmp = x / (y * (a + (b * (a + (b * ((a * (b * 0.16666666666666666)) + (a * 0.5))))))) elif b <= 2.1e-71: tmp = (0.5 * (x * (b * b))) / y elif b <= 9.2e+24: tmp = x / (y * a) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(x / exp(b)) / y) tmp = 0.0 if (b <= -12.2) tmp = t_1; elseif (b <= -2.5e-270) tmp = Float64(x / Float64(y * Float64(a + Float64(b * Float64(a + Float64(b * Float64(Float64(a * Float64(b * 0.16666666666666666)) + Float64(a * 0.5)))))))); elseif (b <= 2.1e-71) tmp = Float64(Float64(0.5 * Float64(x * Float64(b * b))) / y); elseif (b <= 9.2e+24) tmp = Float64(x / Float64(y * a)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = (x / exp(b)) / y; tmp = 0.0; if (b <= -12.2) tmp = t_1; elseif (b <= -2.5e-270) tmp = x / (y * (a + (b * (a + (b * ((a * (b * 0.16666666666666666)) + (a * 0.5))))))); elseif (b <= 2.1e-71) tmp = (0.5 * (x * (b * b))) / y; elseif (b <= 9.2e+24) tmp = x / (y * a); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(x / N[Exp[b], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]}, If[LessEqual[b, -12.2], t$95$1, If[LessEqual[b, -2.5e-270], N[(x / N[(y * N[(a + N[(b * N[(a + N[(b * N[(N[(a * N[(b * 0.16666666666666666), $MachinePrecision]), $MachinePrecision] + N[(a * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.1e-71], N[(N[(0.5 * N[(x * N[(b * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], If[LessEqual[b, 9.2e+24], N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{\frac{x}{e^{b}}}{y}\\
\mathbf{if}\;b \leq -12.2:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq -2.5 \cdot 10^{-270}:\\
\;\;\;\;\frac{x}{y \cdot \left(a + b \cdot \left(a + b \cdot \left(a \cdot \left(b \cdot 0.16666666666666666\right) + a \cdot 0.5\right)\right)\right)}\\
\mathbf{elif}\;b \leq 2.1 \cdot 10^{-71}:\\
\;\;\;\;\frac{0.5 \cdot \left(x \cdot \left(b \cdot b\right)\right)}{y}\\
\mathbf{elif}\;b \leq 9.2 \cdot 10^{+24}:\\
\;\;\;\;\frac{x}{y \cdot a}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -12.199999999999999 or 9.1999999999999996e24 < b Initial program 100.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6478.5%
Simplified78.5%
sub0-negN/A
rec-expN/A
div-invN/A
/-lowering-/.f64N/A
exp-lowering-exp.f6478.5%
Applied egg-rr78.5%
if -12.199999999999999 < b < -2.4999999999999999e-270Initial program 97.0%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified76.5%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6470.9%
Simplified70.9%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6445.2%
Simplified45.2%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6445.2%
Simplified45.2%
if -2.4999999999999999e-270 < b < 2.1000000000000001e-71Initial program 97.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6417.5%
Simplified17.5%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6417.5%
Simplified17.5%
Taylor expanded in x around -inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified17.5%
Taylor expanded in b around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6455.2%
Simplified55.2%
if 2.1000000000000001e-71 < b < 9.1999999999999996e24Initial program 98.5%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified60.3%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6454.7%
Simplified54.7%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6439.2%
Simplified39.2%
Taylor expanded in b around 0
Simplified45.8%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* x (/ (pow a t) y))) (t_2 (/ x (* y a))))
(if (<= t -1.65e+32)
t_1
(if (<= t -1.1e-173)
(+ (* b (- (/ (* b (* x 0.5)) (* y a)) t_2)) t_2)
(if (<= t 2.2e+60) (/ (/ x (exp b)) y) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x * (pow(a, t) / y);
double t_2 = x / (y * a);
double tmp;
if (t <= -1.65e+32) {
tmp = t_1;
} else if (t <= -1.1e-173) {
tmp = (b * (((b * (x * 0.5)) / (y * a)) - t_2)) + t_2;
} else if (t <= 2.2e+60) {
tmp = (x / exp(b)) / y;
} 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) :: t_2
real(8) :: tmp
t_1 = x * ((a ** t) / y)
t_2 = x / (y * a)
if (t <= (-1.65d+32)) then
tmp = t_1
else if (t <= (-1.1d-173)) then
tmp = (b * (((b * (x * 0.5d0)) / (y * a)) - t_2)) + t_2
else if (t <= 2.2d+60) then
tmp = (x / exp(b)) / y
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(a, t) / y);
double t_2 = x / (y * a);
double tmp;
if (t <= -1.65e+32) {
tmp = t_1;
} else if (t <= -1.1e-173) {
tmp = (b * (((b * (x * 0.5)) / (y * a)) - t_2)) + t_2;
} else if (t <= 2.2e+60) {
tmp = (x / Math.exp(b)) / y;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x * (math.pow(a, t) / y) t_2 = x / (y * a) tmp = 0 if t <= -1.65e+32: tmp = t_1 elif t <= -1.1e-173: tmp = (b * (((b * (x * 0.5)) / (y * a)) - t_2)) + t_2 elif t <= 2.2e+60: tmp = (x / math.exp(b)) / y else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x * Float64((a ^ t) / y)) t_2 = Float64(x / Float64(y * a)) tmp = 0.0 if (t <= -1.65e+32) tmp = t_1; elseif (t <= -1.1e-173) tmp = Float64(Float64(b * Float64(Float64(Float64(b * Float64(x * 0.5)) / Float64(y * a)) - t_2)) + t_2); elseif (t <= 2.2e+60) tmp = Float64(Float64(x / exp(b)) / y); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x * ((a ^ t) / y); t_2 = x / (y * a); tmp = 0.0; if (t <= -1.65e+32) tmp = t_1; elseif (t <= -1.1e-173) tmp = (b * (((b * (x * 0.5)) / (y * a)) - t_2)) + t_2; elseif (t <= 2.2e+60) tmp = (x / exp(b)) / y; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x * N[(N[Power[a, t], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.65e+32], t$95$1, If[LessEqual[t, -1.1e-173], N[(N[(b * N[(N[(N[(b * N[(x * 0.5), $MachinePrecision]), $MachinePrecision] / N[(y * a), $MachinePrecision]), $MachinePrecision] - t$95$2), $MachinePrecision]), $MachinePrecision] + t$95$2), $MachinePrecision], If[LessEqual[t, 2.2e+60], N[(N[(x / N[Exp[b], $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \frac{{a}^{t}}{y}\\
t_2 := \frac{x}{y \cdot a}\\
\mathbf{if}\;t \leq -1.65 \cdot 10^{+32}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq -1.1 \cdot 10^{-173}:\\
\;\;\;\;b \cdot \left(\frac{b \cdot \left(x \cdot 0.5\right)}{y \cdot a} - t\_2\right) + t\_2\\
\mathbf{elif}\;t \leq 2.2 \cdot 10^{+60}:\\
\;\;\;\;\frac{\frac{x}{e^{b}}}{y}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.6500000000000001e32 or 2.19999999999999996e60 < t Initial program 100.0%
Taylor expanded in t around inf
*-commutativeN/A
*-lowering-*.f64N/A
log-lowering-log.f6481.4%
Simplified81.4%
associate-/l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
exp-to-powN/A
pow-lowering-pow.f6481.4%
Applied egg-rr81.4%
if -1.6500000000000001e32 < t < -1.1e-173Initial program 94.0%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified63.1%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6470.6%
Simplified70.6%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6477.7%
Simplified77.7%
Taylor expanded in b around 0
+-commutativeN/A
+-lowering-+.f64N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
--lowering--.f64N/A
Simplified57.2%
if -1.1e-173 < t < 2.19999999999999996e60Initial program 99.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6459.7%
Simplified59.7%
sub0-negN/A
rec-expN/A
div-invN/A
/-lowering-/.f64N/A
exp-lowering-exp.f6459.7%
Applied egg-rr59.7%
Final simplification68.7%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* x (/ (pow a t) y))))
(if (<= t -1.36e+41)
t_1
(if (<= t 1.55e+59) (/ x (* y (* a (exp b)))) t_1))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x * (pow(a, t) / y);
double tmp;
if (t <= -1.36e+41) {
tmp = t_1;
} else if (t <= 1.55e+59) {
tmp = x / (y * (a * exp(b)));
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = x * ((a ** t) / y)
if (t <= (-1.36d+41)) then
tmp = t_1
else if (t <= 1.55d+59) then
tmp = x / (y * (a * exp(b)))
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x * (Math.pow(a, t) / y);
double tmp;
if (t <= -1.36e+41) {
tmp = t_1;
} else if (t <= 1.55e+59) {
tmp = x / (y * (a * Math.exp(b)));
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x * (math.pow(a, t) / y) tmp = 0 if t <= -1.36e+41: tmp = t_1 elif t <= 1.55e+59: tmp = x / (y * (a * math.exp(b))) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x * Float64((a ^ t) / y)) tmp = 0.0 if (t <= -1.36e+41) tmp = t_1; elseif (t <= 1.55e+59) tmp = Float64(x / Float64(y * Float64(a * exp(b)))); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x * ((a ^ t) / y); tmp = 0.0; if (t <= -1.36e+41) tmp = t_1; elseif (t <= 1.55e+59) tmp = x / (y * (a * exp(b))); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x * N[(N[Power[a, t], $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t, -1.36e+41], t$95$1, If[LessEqual[t, 1.55e+59], N[(x / N[(y * N[(a * N[Exp[b], $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x \cdot \frac{{a}^{t}}{y}\\
\mathbf{if}\;t \leq -1.36 \cdot 10^{+41}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t \leq 1.55 \cdot 10^{+59}:\\
\;\;\;\;\frac{x}{y \cdot \left(a \cdot e^{b}\right)}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if t < -1.35999999999999995e41 or 1.55000000000000007e59 < t Initial program 100.0%
Taylor expanded in t around inf
*-commutativeN/A
*-lowering-*.f64N/A
log-lowering-log.f6481.0%
Simplified81.0%
associate-/l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
exp-to-powN/A
pow-lowering-pow.f6481.0%
Applied egg-rr81.0%
if -1.35999999999999995e41 < t < 1.55000000000000007e59Initial program 97.6%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified69.6%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6473.9%
Simplified73.9%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6474.8%
Simplified74.8%
Final simplification77.5%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ -1.0 (* b 0.5))) (t_2 (* x (* b t_1))))
(if (<= b -2.75e+69)
(+
(/ x y)
(*
b
(-
(*
b
(/
(/ (+ (* x (* y (* b -0.16666666666666666))) (* y (* x 0.5))) y)
y))
(/ x y))))
(if (<= b -0.0026)
(/
(* (+ (* x (* x x)) (* t_2 (* b (* t_2 (* x t_1))))) (/ 1.0 y))
(* x x))
(if (<= b -2e-270)
(/
x
(*
y
(+
a
(* b (+ a (* b (+ (* a (* b 0.16666666666666666)) (* a 0.5))))))))
(if (<= b 1.75e-71)
(/ (* 0.5 (* x (* b b))) y)
(/
x
(*
y
(*
a
(+
1.0
(* b (+ 1.0 (* b (+ 0.5 (* b 0.16666666666666666)))))))))))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = -1.0 + (b * 0.5);
double t_2 = x * (b * t_1);
double tmp;
if (b <= -2.75e+69) {
tmp = (x / y) + (b * ((b * ((((x * (y * (b * -0.16666666666666666))) + (y * (x * 0.5))) / y) / y)) - (x / y)));
} else if (b <= -0.0026) {
tmp = (((x * (x * x)) + (t_2 * (b * (t_2 * (x * t_1))))) * (1.0 / y)) / (x * x);
} else if (b <= -2e-270) {
tmp = x / (y * (a + (b * (a + (b * ((a * (b * 0.16666666666666666)) + (a * 0.5)))))));
} else if (b <= 1.75e-71) {
tmp = (0.5 * (x * (b * b))) / y;
} else {
tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * (0.5 + (b * 0.16666666666666666))))))));
}
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 = (-1.0d0) + (b * 0.5d0)
t_2 = x * (b * t_1)
if (b <= (-2.75d+69)) then
tmp = (x / y) + (b * ((b * ((((x * (y * (b * (-0.16666666666666666d0)))) + (y * (x * 0.5d0))) / y) / y)) - (x / y)))
else if (b <= (-0.0026d0)) then
tmp = (((x * (x * x)) + (t_2 * (b * (t_2 * (x * t_1))))) * (1.0d0 / y)) / (x * x)
else if (b <= (-2d-270)) then
tmp = x / (y * (a + (b * (a + (b * ((a * (b * 0.16666666666666666d0)) + (a * 0.5d0)))))))
else if (b <= 1.75d-71) then
tmp = (0.5d0 * (x * (b * b))) / y
else
tmp = x / (y * (a * (1.0d0 + (b * (1.0d0 + (b * (0.5d0 + (b * 0.16666666666666666d0))))))))
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 * 0.5);
double t_2 = x * (b * t_1);
double tmp;
if (b <= -2.75e+69) {
tmp = (x / y) + (b * ((b * ((((x * (y * (b * -0.16666666666666666))) + (y * (x * 0.5))) / y) / y)) - (x / y)));
} else if (b <= -0.0026) {
tmp = (((x * (x * x)) + (t_2 * (b * (t_2 * (x * t_1))))) * (1.0 / y)) / (x * x);
} else if (b <= -2e-270) {
tmp = x / (y * (a + (b * (a + (b * ((a * (b * 0.16666666666666666)) + (a * 0.5)))))));
} else if (b <= 1.75e-71) {
tmp = (0.5 * (x * (b * b))) / y;
} else {
tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * (0.5 + (b * 0.16666666666666666))))))));
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = -1.0 + (b * 0.5) t_2 = x * (b * t_1) tmp = 0 if b <= -2.75e+69: tmp = (x / y) + (b * ((b * ((((x * (y * (b * -0.16666666666666666))) + (y * (x * 0.5))) / y) / y)) - (x / y))) elif b <= -0.0026: tmp = (((x * (x * x)) + (t_2 * (b * (t_2 * (x * t_1))))) * (1.0 / y)) / (x * x) elif b <= -2e-270: tmp = x / (y * (a + (b * (a + (b * ((a * (b * 0.16666666666666666)) + (a * 0.5))))))) elif b <= 1.75e-71: tmp = (0.5 * (x * (b * b))) / y else: tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * (0.5 + (b * 0.16666666666666666)))))))) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(-1.0 + Float64(b * 0.5)) t_2 = Float64(x * Float64(b * t_1)) tmp = 0.0 if (b <= -2.75e+69) tmp = Float64(Float64(x / y) + Float64(b * Float64(Float64(b * Float64(Float64(Float64(Float64(x * Float64(y * Float64(b * -0.16666666666666666))) + Float64(y * Float64(x * 0.5))) / y) / y)) - Float64(x / y)))); elseif (b <= -0.0026) tmp = Float64(Float64(Float64(Float64(x * Float64(x * x)) + Float64(t_2 * Float64(b * Float64(t_2 * Float64(x * t_1))))) * Float64(1.0 / y)) / Float64(x * x)); elseif (b <= -2e-270) tmp = Float64(x / Float64(y * Float64(a + Float64(b * Float64(a + Float64(b * Float64(Float64(a * Float64(b * 0.16666666666666666)) + Float64(a * 0.5)))))))); elseif (b <= 1.75e-71) tmp = Float64(Float64(0.5 * Float64(x * Float64(b * b))) / y); else tmp = Float64(x / Float64(y * Float64(a * Float64(1.0 + Float64(b * Float64(1.0 + Float64(b * Float64(0.5 + Float64(b * 0.16666666666666666))))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = -1.0 + (b * 0.5); t_2 = x * (b * t_1); tmp = 0.0; if (b <= -2.75e+69) tmp = (x / y) + (b * ((b * ((((x * (y * (b * -0.16666666666666666))) + (y * (x * 0.5))) / y) / y)) - (x / y))); elseif (b <= -0.0026) tmp = (((x * (x * x)) + (t_2 * (b * (t_2 * (x * t_1))))) * (1.0 / y)) / (x * x); elseif (b <= -2e-270) tmp = x / (y * (a + (b * (a + (b * ((a * (b * 0.16666666666666666)) + (a * 0.5))))))); elseif (b <= 1.75e-71) tmp = (0.5 * (x * (b * b))) / y; else tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * (0.5 + (b * 0.16666666666666666)))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(-1.0 + N[(b * 0.5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(b * t$95$1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -2.75e+69], N[(N[(x / y), $MachinePrecision] + N[(b * N[(N[(b * N[(N[(N[(N[(x * N[(y * N[(b * -0.16666666666666666), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y * N[(x * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision] - N[(x / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -0.0026], N[(N[(N[(N[(x * N[(x * x), $MachinePrecision]), $MachinePrecision] + N[(t$95$2 * N[(b * N[(t$95$2 * N[(x * t$95$1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * N[(1.0 / y), $MachinePrecision]), $MachinePrecision] / N[(x * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -2e-270], N[(x / N[(y * N[(a + N[(b * N[(a + N[(b * N[(N[(a * N[(b * 0.16666666666666666), $MachinePrecision]), $MachinePrecision] + N[(a * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.75e-71], N[(N[(0.5 * N[(x * N[(b * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(x / N[(y * 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]), $MachinePrecision]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := -1 + b \cdot 0.5\\
t_2 := x \cdot \left(b \cdot t\_1\right)\\
\mathbf{if}\;b \leq -2.75 \cdot 10^{+69}:\\
\;\;\;\;\frac{x}{y} + b \cdot \left(b \cdot \frac{\frac{x \cdot \left(y \cdot \left(b \cdot -0.16666666666666666\right)\right) + y \cdot \left(x \cdot 0.5\right)}{y}}{y} - \frac{x}{y}\right)\\
\mathbf{elif}\;b \leq -0.0026:\\
\;\;\;\;\frac{\left(x \cdot \left(x \cdot x\right) + t\_2 \cdot \left(b \cdot \left(t\_2 \cdot \left(x \cdot t\_1\right)\right)\right)\right) \cdot \frac{1}{y}}{x \cdot x}\\
\mathbf{elif}\;b \leq -2 \cdot 10^{-270}:\\
\;\;\;\;\frac{x}{y \cdot \left(a + b \cdot \left(a + b \cdot \left(a \cdot \left(b \cdot 0.16666666666666666\right) + a \cdot 0.5\right)\right)\right)}\\
\mathbf{elif}\;b \leq 1.75 \cdot 10^{-71}:\\
\;\;\;\;\frac{0.5 \cdot \left(x \cdot \left(b \cdot b\right)\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot \left(a \cdot \left(1 + b \cdot \left(1 + b \cdot \left(0.5 + b \cdot 0.16666666666666666\right)\right)\right)\right)}\\
\end{array}
\end{array}
if b < -2.75000000000000001e69Initial program 100.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6481.7%
Simplified81.7%
Taylor expanded in b around 0
+-commutativeN/A
+-lowering-+.f64N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
Simplified75.0%
frac-addN/A
associate-/r*N/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
+-lowering-+.f64N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6479.6%
Applied egg-rr79.6%
if -2.75000000000000001e69 < b < -0.0025999999999999999Initial program 100.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6477.7%
Simplified77.7%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6415.5%
Simplified15.5%
div-invN/A
flip3-+N/A
associate-*l/N/A
/-lowering-/.f64N/A
Applied egg-rr28.2%
Taylor expanded in b around 0
unpow2N/A
*-lowering-*.f6450.3%
Simplified50.3%
if -0.0025999999999999999 < b < -2.0000000000000001e-270Initial program 97.0%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified76.2%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6470.5%
Simplified70.5%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6445.8%
Simplified45.8%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f6445.8%
Simplified45.8%
if -2.0000000000000001e-270 < b < 1.75e-71Initial program 97.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6417.5%
Simplified17.5%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6417.5%
Simplified17.5%
Taylor expanded in x around -inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified17.5%
Taylor expanded in b around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6455.2%
Simplified55.2%
if 1.75e-71 < b Initial program 99.7%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified50.7%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6456.0%
Simplified56.0%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6468.5%
Simplified68.5%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6463.7%
Simplified63.7%
Final simplification59.2%
(FPCore (x y z t a b)
:precision binary64
(if (<= b -6.8e+115)
(+ (/ x y) (* -0.16666666666666666 (/ (* x (* b (* b b))) y)))
(if (<= b -4.5e-270)
(/ x (* y (* a (+ 1.0 (* b (+ 1.0 (* b 0.5)))))))
(if (<= b 1.75e-71)
(/ (* 0.5 (* x (* b b))) y)
(/
x
(*
y
(*
a
(+ 1.0 (* b (+ 1.0 (* b (+ 0.5 (* b 0.16666666666666666)))))))))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -6.8e+115) {
tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y));
} else if (b <= -4.5e-270) {
tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * 0.5))))));
} else if (b <= 1.75e-71) {
tmp = (0.5 * (x * (b * b))) / y;
} else {
tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * (0.5 + (b * 0.16666666666666666))))))));
}
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 <= (-6.8d+115)) then
tmp = (x / y) + ((-0.16666666666666666d0) * ((x * (b * (b * b))) / y))
else if (b <= (-4.5d-270)) then
tmp = x / (y * (a * (1.0d0 + (b * (1.0d0 + (b * 0.5d0))))))
else if (b <= 1.75d-71) then
tmp = (0.5d0 * (x * (b * b))) / y
else
tmp = x / (y * (a * (1.0d0 + (b * (1.0d0 + (b * (0.5d0 + (b * 0.16666666666666666d0))))))))
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 <= -6.8e+115) {
tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y));
} else if (b <= -4.5e-270) {
tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * 0.5))))));
} else if (b <= 1.75e-71) {
tmp = (0.5 * (x * (b * b))) / y;
} else {
tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * (0.5 + (b * 0.16666666666666666))))))));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -6.8e+115: tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y)) elif b <= -4.5e-270: tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * 0.5)))))) elif b <= 1.75e-71: tmp = (0.5 * (x * (b * b))) / y else: tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * (0.5 + (b * 0.16666666666666666)))))))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -6.8e+115) tmp = Float64(Float64(x / y) + Float64(-0.16666666666666666 * Float64(Float64(x * Float64(b * Float64(b * b))) / y))); elseif (b <= -4.5e-270) tmp = Float64(x / Float64(y * Float64(a * Float64(1.0 + Float64(b * Float64(1.0 + Float64(b * 0.5))))))); elseif (b <= 1.75e-71) tmp = Float64(Float64(0.5 * Float64(x * Float64(b * b))) / y); else tmp = Float64(x / Float64(y * Float64(a * Float64(1.0 + Float64(b * Float64(1.0 + Float64(b * Float64(0.5 + Float64(b * 0.16666666666666666))))))))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (b <= -6.8e+115) tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y)); elseif (b <= -4.5e-270) tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * 0.5)))))); elseif (b <= 1.75e-71) tmp = (0.5 * (x * (b * b))) / y; else tmp = x / (y * (a * (1.0 + (b * (1.0 + (b * (0.5 + (b * 0.16666666666666666)))))))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -6.8e+115], N[(N[(x / y), $MachinePrecision] + N[(-0.16666666666666666 * N[(N[(x * N[(b * N[(b * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -4.5e-270], N[(x / N[(y * N[(a * N[(1.0 + N[(b * N[(1.0 + N[(b * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.75e-71], N[(N[(0.5 * N[(x * N[(b * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(x / N[(y * 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]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -6.8 \cdot 10^{+115}:\\
\;\;\;\;\frac{x}{y} + -0.16666666666666666 \cdot \frac{x \cdot \left(b \cdot \left(b \cdot b\right)\right)}{y}\\
\mathbf{elif}\;b \leq -4.5 \cdot 10^{-270}:\\
\;\;\;\;\frac{x}{y \cdot \left(a \cdot \left(1 + b \cdot \left(1 + b \cdot 0.5\right)\right)\right)}\\
\mathbf{elif}\;b \leq 1.75 \cdot 10^{-71}:\\
\;\;\;\;\frac{0.5 \cdot \left(x \cdot \left(b \cdot b\right)\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot \left(a \cdot \left(1 + b \cdot \left(1 + b \cdot \left(0.5 + b \cdot 0.16666666666666666\right)\right)\right)\right)}\\
\end{array}
\end{array}
if b < -6.8000000000000001e115Initial program 100.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6489.4%
Simplified89.4%
Taylor expanded in b around 0
+-commutativeN/A
+-lowering-+.f64N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
Simplified81.6%
*-commutativeN/A
frac-addN/A
associate-*l/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6470.6%
Applied egg-rr70.6%
Taylor expanded in b around inf
*-lowering-*.f64N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
cube-multN/A
unpow2N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6489.4%
Simplified89.4%
if -6.8000000000000001e115 < b < -4.49999999999999998e-270Initial program 97.9%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified68.0%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6467.5%
Simplified67.5%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6452.9%
Simplified52.9%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6440.0%
Simplified40.0%
if -4.49999999999999998e-270 < b < 1.75e-71Initial program 97.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6417.5%
Simplified17.5%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6417.5%
Simplified17.5%
Taylor expanded in x around -inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified17.5%
Taylor expanded in b around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6455.2%
Simplified55.2%
if 1.75e-71 < b Initial program 99.7%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified50.7%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6456.0%
Simplified56.0%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6468.5%
Simplified68.5%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6463.7%
Simplified63.7%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (/ x (* y (* a (+ 1.0 (* b (+ 1.0 (* b 0.5)))))))))
(if (<= b -6.8e+115)
(+ (/ x y) (* -0.16666666666666666 (/ (* x (* b (* b b))) y)))
(if (<= b -3e-270)
t_1
(if (<= b 1.75e-71) (/ (* 0.5 (* x (* b b))) y) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x / (y * (a * (1.0 + (b * (1.0 + (b * 0.5))))));
double tmp;
if (b <= -6.8e+115) {
tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y));
} else if (b <= -3e-270) {
tmp = t_1;
} else if (b <= 1.75e-71) {
tmp = (0.5 * (x * (b * b))) / y;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = x / (y * (a * (1.0d0 + (b * (1.0d0 + (b * 0.5d0))))))
if (b <= (-6.8d+115)) then
tmp = (x / y) + ((-0.16666666666666666d0) * ((x * (b * (b * b))) / y))
else if (b <= (-3d-270)) then
tmp = t_1
else if (b <= 1.75d-71) then
tmp = (0.5d0 * (x * (b * b))) / y
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x / (y * (a * (1.0 + (b * (1.0 + (b * 0.5))))));
double tmp;
if (b <= -6.8e+115) {
tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y));
} else if (b <= -3e-270) {
tmp = t_1;
} else if (b <= 1.75e-71) {
tmp = (0.5 * (x * (b * b))) / y;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x / (y * (a * (1.0 + (b * (1.0 + (b * 0.5)))))) tmp = 0 if b <= -6.8e+115: tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y)) elif b <= -3e-270: tmp = t_1 elif b <= 1.75e-71: tmp = (0.5 * (x * (b * b))) / y else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x / Float64(y * Float64(a * Float64(1.0 + Float64(b * Float64(1.0 + Float64(b * 0.5))))))) tmp = 0.0 if (b <= -6.8e+115) tmp = Float64(Float64(x / y) + Float64(-0.16666666666666666 * Float64(Float64(x * Float64(b * Float64(b * b))) / y))); elseif (b <= -3e-270) tmp = t_1; elseif (b <= 1.75e-71) tmp = Float64(Float64(0.5 * Float64(x * Float64(b * b))) / y); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x / (y * (a * (1.0 + (b * (1.0 + (b * 0.5)))))); tmp = 0.0; if (b <= -6.8e+115) tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y)); elseif (b <= -3e-270) tmp = t_1; elseif (b <= 1.75e-71) tmp = (0.5 * (x * (b * b))) / y; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x / N[(y * N[(a * N[(1.0 + N[(b * N[(1.0 + N[(b * 0.5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -6.8e+115], N[(N[(x / y), $MachinePrecision] + N[(-0.16666666666666666 * N[(N[(x * N[(b * N[(b * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -3e-270], t$95$1, If[LessEqual[b, 1.75e-71], N[(N[(0.5 * N[(x * N[(b * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{x}{y \cdot \left(a \cdot \left(1 + b \cdot \left(1 + b \cdot 0.5\right)\right)\right)}\\
\mathbf{if}\;b \leq -6.8 \cdot 10^{+115}:\\
\;\;\;\;\frac{x}{y} + -0.16666666666666666 \cdot \frac{x \cdot \left(b \cdot \left(b \cdot b\right)\right)}{y}\\
\mathbf{elif}\;b \leq -3 \cdot 10^{-270}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq 1.75 \cdot 10^{-71}:\\
\;\;\;\;\frac{0.5 \cdot \left(x \cdot \left(b \cdot b\right)\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if b < -6.8000000000000001e115Initial program 100.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6489.4%
Simplified89.4%
Taylor expanded in b around 0
+-commutativeN/A
+-lowering-+.f64N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
Simplified81.6%
*-commutativeN/A
frac-addN/A
associate-*l/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6470.6%
Applied egg-rr70.6%
Taylor expanded in b around inf
*-lowering-*.f64N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
cube-multN/A
unpow2N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6489.4%
Simplified89.4%
if -6.8000000000000001e115 < b < -3.00000000000000013e-270 or 1.75e-71 < b Initial program 98.8%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified59.9%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6462.1%
Simplified62.1%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6460.2%
Simplified60.2%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6448.3%
Simplified48.3%
if -3.00000000000000013e-270 < b < 1.75e-71Initial program 97.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6417.5%
Simplified17.5%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6417.5%
Simplified17.5%
Taylor expanded in x around -inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified17.5%
Taylor expanded in b around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6455.2%
Simplified55.2%
(FPCore (x y z t a b)
:precision binary64
(if (<= b -6.8e+115)
(+ (/ x y) (* -0.16666666666666666 (/ (* x (* b (* b b))) y)))
(if (<= b -1.65e-270)
(/ x (* y a))
(if (<= b 1.75e-71)
(/ (* 0.5 (* x (* b b))) 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 <= -6.8e+115) {
tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y));
} else if (b <= -1.65e-270) {
tmp = x / (y * a);
} else if (b <= 1.75e-71) {
tmp = (0.5 * (x * (b * b))) / 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 <= (-6.8d+115)) then
tmp = (x / y) + ((-0.16666666666666666d0) * ((x * (b * (b * b))) / y))
else if (b <= (-1.65d-270)) then
tmp = x / (y * a)
else if (b <= 1.75d-71) then
tmp = (0.5d0 * (x * (b * b))) / 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 <= -6.8e+115) {
tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y));
} else if (b <= -1.65e-270) {
tmp = x / (y * a);
} else if (b <= 1.75e-71) {
tmp = (0.5 * (x * (b * b))) / y;
} else {
tmp = x / (a * (y * (1.0 + b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -6.8e+115: tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y)) elif b <= -1.65e-270: tmp = x / (y * a) elif b <= 1.75e-71: tmp = (0.5 * (x * (b * b))) / y else: tmp = x / (a * (y * (1.0 + b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -6.8e+115) tmp = Float64(Float64(x / y) + Float64(-0.16666666666666666 * Float64(Float64(x * Float64(b * Float64(b * b))) / y))); elseif (b <= -1.65e-270) tmp = Float64(x / Float64(y * a)); elseif (b <= 1.75e-71) tmp = Float64(Float64(0.5 * Float64(x * Float64(b * b))) / 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 <= -6.8e+115) tmp = (x / y) + (-0.16666666666666666 * ((x * (b * (b * b))) / y)); elseif (b <= -1.65e-270) tmp = x / (y * a); elseif (b <= 1.75e-71) tmp = (0.5 * (x * (b * b))) / y; else tmp = x / (a * (y * (1.0 + b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -6.8e+115], N[(N[(x / y), $MachinePrecision] + N[(-0.16666666666666666 * N[(N[(x * N[(b * N[(b * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -1.65e-270], N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.75e-71], N[(N[(0.5 * N[(x * N[(b * b), $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 -6.8 \cdot 10^{+115}:\\
\;\;\;\;\frac{x}{y} + -0.16666666666666666 \cdot \frac{x \cdot \left(b \cdot \left(b \cdot b\right)\right)}{y}\\
\mathbf{elif}\;b \leq -1.65 \cdot 10^{-270}:\\
\;\;\;\;\frac{x}{y \cdot a}\\
\mathbf{elif}\;b \leq 1.75 \cdot 10^{-71}:\\
\;\;\;\;\frac{0.5 \cdot \left(x \cdot \left(b \cdot b\right)\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot \left(1 + b\right)\right)}\\
\end{array}
\end{array}
if b < -6.8000000000000001e115Initial program 100.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6489.4%
Simplified89.4%
Taylor expanded in b around 0
+-commutativeN/A
+-lowering-+.f64N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
mul-1-negN/A
unsub-negN/A
--lowering--.f64N/A
Simplified81.6%
*-commutativeN/A
frac-addN/A
associate-*l/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
+-lowering-+.f64N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
*-lowering-*.f6470.6%
Applied egg-rr70.6%
Taylor expanded in b around inf
*-lowering-*.f64N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
cube-multN/A
unpow2N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6489.4%
Simplified89.4%
if -6.8000000000000001e115 < b < -1.65000000000000009e-270Initial program 97.9%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified68.0%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6467.5%
Simplified67.5%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6452.9%
Simplified52.9%
Taylor expanded in b around 0
Simplified39.5%
if -1.65000000000000009e-270 < b < 1.75e-71Initial program 97.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6417.5%
Simplified17.5%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6417.5%
Simplified17.5%
Taylor expanded in x around -inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified17.5%
Taylor expanded in b around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6455.2%
Simplified55.2%
if 1.75e-71 < b Initial program 99.7%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified50.7%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6456.0%
Simplified56.0%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6468.5%
Simplified68.5%
Taylor expanded in b around 0
distribute-lft-outN/A
*-lowering-*.f64N/A
distribute-rgt1-inN/A
*-lowering-*.f64N/A
+-lowering-+.f6440.6%
Simplified40.6%
Final simplification50.1%
(FPCore (x y z t a b)
:precision binary64
(if (<= b -1.3e+117)
(* x (/ (* (* b b) -0.5) (- 0.0 y)))
(if (<= b -3.7e-270)
(/ x (* y a))
(if (<= b 1.75e-71)
(/ (* 0.5 (* x (* b b))) 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 <= -1.3e+117) {
tmp = x * (((b * b) * -0.5) / (0.0 - y));
} else if (b <= -3.7e-270) {
tmp = x / (y * a);
} else if (b <= 1.75e-71) {
tmp = (0.5 * (x * (b * b))) / 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 <= (-1.3d+117)) then
tmp = x * (((b * b) * (-0.5d0)) / (0.0d0 - y))
else if (b <= (-3.7d-270)) then
tmp = x / (y * a)
else if (b <= 1.75d-71) then
tmp = (0.5d0 * (x * (b * b))) / 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 <= -1.3e+117) {
tmp = x * (((b * b) * -0.5) / (0.0 - y));
} else if (b <= -3.7e-270) {
tmp = x / (y * a);
} else if (b <= 1.75e-71) {
tmp = (0.5 * (x * (b * b))) / y;
} else {
tmp = x / (a * (y * (1.0 + b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -1.3e+117: tmp = x * (((b * b) * -0.5) / (0.0 - y)) elif b <= -3.7e-270: tmp = x / (y * a) elif b <= 1.75e-71: tmp = (0.5 * (x * (b * b))) / y else: tmp = x / (a * (y * (1.0 + b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -1.3e+117) tmp = Float64(x * Float64(Float64(Float64(b * b) * -0.5) / Float64(0.0 - y))); elseif (b <= -3.7e-270) tmp = Float64(x / Float64(y * a)); elseif (b <= 1.75e-71) tmp = Float64(Float64(0.5 * Float64(x * Float64(b * b))) / 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 <= -1.3e+117) tmp = x * (((b * b) * -0.5) / (0.0 - y)); elseif (b <= -3.7e-270) tmp = x / (y * a); elseif (b <= 1.75e-71) tmp = (0.5 * (x * (b * b))) / y; else tmp = x / (a * (y * (1.0 + b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -1.3e+117], N[(x * N[(N[(N[(b * b), $MachinePrecision] * -0.5), $MachinePrecision] / N[(0.0 - y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, -3.7e-270], N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 1.75e-71], N[(N[(0.5 * N[(x * N[(b * b), $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 -1.3 \cdot 10^{+117}:\\
\;\;\;\;x \cdot \frac{\left(b \cdot b\right) \cdot -0.5}{0 - y}\\
\mathbf{elif}\;b \leq -3.7 \cdot 10^{-270}:\\
\;\;\;\;\frac{x}{y \cdot a}\\
\mathbf{elif}\;b \leq 1.75 \cdot 10^{-71}:\\
\;\;\;\;\frac{0.5 \cdot \left(x \cdot \left(b \cdot b\right)\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot \left(1 + b\right)\right)}\\
\end{array}
\end{array}
if b < -1.3e117Initial program 100.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6489.1%
Simplified89.1%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6473.2%
Simplified73.2%
Taylor expanded in x around -inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified86.4%
Taylor expanded in b around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6486.4%
Simplified86.4%
if -1.3e117 < b < -3.7000000000000001e-270Initial program 97.9%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified68.4%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6467.9%
Simplified67.9%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6453.4%
Simplified53.4%
Taylor expanded in b around 0
Simplified39.1%
if -3.7000000000000001e-270 < b < 1.75e-71Initial program 97.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6417.5%
Simplified17.5%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6417.5%
Simplified17.5%
Taylor expanded in x around -inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified17.5%
Taylor expanded in b around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6455.2%
Simplified55.2%
if 1.75e-71 < b Initial program 99.7%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified50.7%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6456.0%
Simplified56.0%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6468.5%
Simplified68.5%
Taylor expanded in b around 0
distribute-lft-outN/A
*-lowering-*.f64N/A
distribute-rgt1-inN/A
*-lowering-*.f64N/A
+-lowering-+.f6440.6%
Simplified40.6%
Final simplification49.4%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (/ (* 0.5 (* x (* b b))) y)))
(if (<= b -1.3e+117)
t_1
(if (<= b -3.6e-270)
(/ x (* y a))
(if (<= b 3.4e-69) t_1 (/ x (* a (* y (+ 1.0 b)))))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (0.5 * (x * (b * b))) / y;
double tmp;
if (b <= -1.3e+117) {
tmp = t_1;
} else if (b <= -3.6e-270) {
tmp = x / (y * a);
} else if (b <= 3.4e-69) {
tmp = t_1;
} 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) :: t_1
real(8) :: tmp
t_1 = (0.5d0 * (x * (b * b))) / y
if (b <= (-1.3d+117)) then
tmp = t_1
else if (b <= (-3.6d-270)) then
tmp = x / (y * a)
else if (b <= 3.4d-69) then
tmp = t_1
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 t_1 = (0.5 * (x * (b * b))) / y;
double tmp;
if (b <= -1.3e+117) {
tmp = t_1;
} else if (b <= -3.6e-270) {
tmp = x / (y * a);
} else if (b <= 3.4e-69) {
tmp = t_1;
} else {
tmp = x / (a * (y * (1.0 + b)));
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = (0.5 * (x * (b * b))) / y tmp = 0 if b <= -1.3e+117: tmp = t_1 elif b <= -3.6e-270: tmp = x / (y * a) elif b <= 3.4e-69: tmp = t_1 else: tmp = x / (a * (y * (1.0 + b))) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(0.5 * Float64(x * Float64(b * b))) / y) tmp = 0.0 if (b <= -1.3e+117) tmp = t_1; elseif (b <= -3.6e-270) tmp = Float64(x / Float64(y * a)); elseif (b <= 3.4e-69) tmp = t_1; 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) t_1 = (0.5 * (x * (b * b))) / y; tmp = 0.0; if (b <= -1.3e+117) tmp = t_1; elseif (b <= -3.6e-270) tmp = x / (y * a); elseif (b <= 3.4e-69) tmp = t_1; else tmp = x / (a * (y * (1.0 + b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(0.5 * N[(x * N[(b * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]}, If[LessEqual[b, -1.3e+117], t$95$1, If[LessEqual[b, -3.6e-270], N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 3.4e-69], t$95$1, N[(x / N[(a * N[(y * N[(1.0 + b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \frac{0.5 \cdot \left(x \cdot \left(b \cdot b\right)\right)}{y}\\
\mathbf{if}\;b \leq -1.3 \cdot 10^{+117}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;b \leq -3.6 \cdot 10^{-270}:\\
\;\;\;\;\frac{x}{y \cdot a}\\
\mathbf{elif}\;b \leq 3.4 \cdot 10^{-69}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot \left(1 + b\right)\right)}\\
\end{array}
\end{array}
if b < -1.3e117 or -3.5999999999999998e-270 < b < 3.40000000000000008e-69Initial program 98.3%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6447.4%
Simplified47.4%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6440.8%
Simplified40.8%
Taylor expanded in x around -inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified46.3%
Taylor expanded in b around inf
associate-*r/N/A
/-lowering-/.f64N/A
*-lowering-*.f64N/A
*-commutativeN/A
*-lowering-*.f64N/A
unpow2N/A
*-lowering-*.f6467.2%
Simplified67.2%
if -1.3e117 < b < -3.5999999999999998e-270Initial program 97.9%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified68.4%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6467.9%
Simplified67.9%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6453.4%
Simplified53.4%
Taylor expanded in b around 0
Simplified39.1%
if 3.40000000000000008e-69 < b Initial program 99.7%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified50.7%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6456.0%
Simplified56.0%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6468.5%
Simplified68.5%
Taylor expanded in b around 0
distribute-lft-outN/A
*-lowering-*.f64N/A
distribute-rgt1-inN/A
*-lowering-*.f64N/A
+-lowering-+.f6440.6%
Simplified40.6%
Final simplification49.0%
(FPCore (x y z t a b) :precision binary64 (if (<= b -1.32) (* 0.5 (* b (/ (* x b) 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 <= -1.32) {
tmp = 0.5 * (b * ((x * b) / 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 <= (-1.32d0)) then
tmp = 0.5d0 * (b * ((x * b) / 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 <= -1.32) {
tmp = 0.5 * (b * ((x * b) / y));
} else {
tmp = x / (a * (y * (1.0 + b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -1.32: tmp = 0.5 * (b * ((x * b) / y)) else: tmp = x / (a * (y * (1.0 + b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -1.32) tmp = Float64(0.5 * Float64(b * Float64(Float64(x * b) / 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 <= -1.32) tmp = 0.5 * (b * ((x * b) / y)); else tmp = x / (a * (y * (1.0 + b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -1.32], N[(0.5 * N[(b * N[(N[(x * b), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $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 -1.32:\\
\;\;\;\;0.5 \cdot \left(b \cdot \frac{x \cdot b}{y}\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{a \cdot \left(y \cdot \left(1 + b\right)\right)}\\
\end{array}
\end{array}
if b < -1.32000000000000006Initial program 100.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6481.5%
Simplified81.5%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6448.3%
Simplified48.3%
Taylor expanded in b around inf
associate-/l*N/A
*-commutativeN/A
associate-*l*N/A
unpow2N/A
associate-*r*N/A
associate-*l*N/A
*-commutativeN/A
associate-/l*N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6446.0%
Simplified46.0%
if -1.32000000000000006 < b Initial program 98.1%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified63.7%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6462.8%
Simplified62.8%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6453.0%
Simplified53.0%
Taylor expanded in b around 0
distribute-lft-outN/A
*-lowering-*.f64N/A
distribute-rgt1-inN/A
*-lowering-*.f64N/A
+-lowering-+.f6441.4%
Simplified41.4%
Final simplification42.6%
(FPCore (x y z t a b) :precision binary64 (if (<= b -1.7e+119) (* 0.5 (* b (/ (* x b) y))) (/ x (* y a))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -1.7e+119) {
tmp = 0.5 * (b * ((x * b) / 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 (b <= (-1.7d+119)) then
tmp = 0.5d0 * (b * ((x * b) / 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 (b <= -1.7e+119) {
tmp = 0.5 * (b * ((x * b) / y));
} else {
tmp = x / (y * a);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -1.7e+119: tmp = 0.5 * (b * ((x * b) / y)) else: tmp = x / (y * a) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -1.7e+119) tmp = Float64(0.5 * Float64(b * Float64(Float64(x * b) / 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 (b <= -1.7e+119) tmp = 0.5 * (b * ((x * b) / y)); else tmp = x / (y * a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -1.7e+119], N[(0.5 * N[(b * N[(N[(x * b), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -1.7 \cdot 10^{+119}:\\
\;\;\;\;0.5 \cdot \left(b \cdot \frac{x \cdot b}{y}\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot a}\\
\end{array}
\end{array}
if b < -1.70000000000000007e119Initial program 100.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6489.1%
Simplified89.1%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6473.2%
Simplified73.2%
Taylor expanded in b around inf
associate-/l*N/A
*-commutativeN/A
associate-*l*N/A
unpow2N/A
associate-*r*N/A
associate-*l*N/A
*-commutativeN/A
associate-/l*N/A
associate-*l*N/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
*-commutativeN/A
*-lowering-*.f6465.6%
Simplified65.6%
if -1.70000000000000007e119 < b Initial program 98.4%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified62.0%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6462.6%
Simplified62.6%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6455.4%
Simplified55.4%
Taylor expanded in b around 0
Simplified34.5%
Final simplification38.8%
(FPCore (x y z t a b) :precision binary64 (if (<= b -3.5e+106) (* (/ x y) (- 0.0 (+ b -1.0))) (/ x (* y a))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -3.5e+106) {
tmp = (x / y) * (0.0 - (b + -1.0));
} 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 (b <= (-3.5d+106)) then
tmp = (x / y) * (0.0d0 - (b + (-1.0d0)))
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 (b <= -3.5e+106) {
tmp = (x / y) * (0.0 - (b + -1.0));
} else {
tmp = x / (y * a);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -3.5e+106: tmp = (x / y) * (0.0 - (b + -1.0)) else: tmp = x / (y * a) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -3.5e+106) tmp = Float64(Float64(x / y) * Float64(0.0 - Float64(b + -1.0))); 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 (b <= -3.5e+106) tmp = (x / y) * (0.0 - (b + -1.0)); else tmp = x / (y * a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -3.5e+106], N[(N[(x / y), $MachinePrecision] * N[(0.0 - N[(b + -1.0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -3.5 \cdot 10^{+106}:\\
\;\;\;\;\frac{x}{y} \cdot \left(0 - \left(b + -1\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot a}\\
\end{array}
\end{array}
if b < -3.49999999999999981e106Initial program 100.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6484.9%
Simplified84.9%
Taylor expanded in b around 0
+-lowering-+.f64N/A
*-lowering-*.f64N/A
+-commutativeN/A
associate-*r*N/A
distribute-rgt-outN/A
metadata-evalN/A
sub-negN/A
*-lowering-*.f64N/A
sub-negN/A
metadata-evalN/A
+-lowering-+.f64N/A
*-commutativeN/A
*-lowering-*.f6467.8%
Simplified67.8%
Taylor expanded in x around -inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f64N/A
associate-/l*N/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
Simplified80.0%
Taylor expanded in b around 0
distribute-lft-out--N/A
mul-1-negN/A
neg-lowering-neg.f64N/A
sub-negN/A
mul-1-negN/A
associate-/l*N/A
distribute-rgt-outN/A
*-lowering-*.f64N/A
/-lowering-/.f64N/A
+-lowering-+.f6438.3%
Simplified38.3%
if -3.49999999999999981e106 < b Initial program 98.3%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified62.4%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6463.0%
Simplified63.0%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6455.7%
Simplified55.7%
Taylor expanded in b around 0
Simplified34.9%
Final simplification35.4%
(FPCore (x y z t a b) :precision binary64 (if (<= b -2.8e+111) (/ (* x (- 1.0 b)) y) (/ x (* y a))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (b <= -2.8e+111) {
tmp = (x * (1.0 - b)) / 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 (b <= (-2.8d+111)) then
tmp = (x * (1.0d0 - b)) / 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 (b <= -2.8e+111) {
tmp = (x * (1.0 - b)) / y;
} else {
tmp = x / (y * a);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if b <= -2.8e+111: tmp = (x * (1.0 - b)) / y else: tmp = x / (y * a) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (b <= -2.8e+111) tmp = Float64(Float64(x * Float64(1.0 - b)) / 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 (b <= -2.8e+111) tmp = (x * (1.0 - b)) / y; else tmp = x / (y * a); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[b, -2.8e+111], N[(N[(x * N[(1.0 - b), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision], N[(x / N[(y * a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;b \leq -2.8 \cdot 10^{+111}:\\
\;\;\;\;\frac{x \cdot \left(1 - b\right)}{y}\\
\mathbf{else}:\\
\;\;\;\;\frac{x}{y \cdot a}\\
\end{array}
\end{array}
if b < -2.7999999999999999e111Initial program 100.0%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6484.9%
Simplified84.9%
Taylor expanded in b around 0
associate-*r*N/A
distribute-rgt1-inN/A
+-commutativeN/A
*-lowering-*.f64N/A
neg-mul-1N/A
unsub-negN/A
--lowering--.f6438.3%
Simplified38.3%
if -2.7999999999999999e111 < b Initial program 98.3%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified62.4%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6463.0%
Simplified63.0%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6455.7%
Simplified55.7%
Taylor expanded in b around 0
Simplified34.9%
Final simplification35.4%
(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.6%
associate-*l/N/A
exp-diffN/A
associate-*r/N/A
associate-*l/N/A
associate-/r/N/A
exp-diffN/A
/-lowering-/.f64N/A
/-lowering-/.f64N/A
exp-diffN/A
/-lowering-/.f64N/A
exp-lowering-exp.f64N/A
exp-sumN/A
*-lowering-*.f64N/A
*-commutativeN/A
exp-to-powN/A
pow-lowering-pow.f64N/A
Simplified59.5%
Taylor expanded in t around 0
/-lowering-/.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f64N/A
pow-lowering-pow.f6462.4%
Simplified62.4%
Taylor expanded in y around 0
/-lowering-/.f64N/A
*-commutativeN/A
associate-*l*N/A
*-commutativeN/A
*-lowering-*.f64N/A
*-lowering-*.f64N/A
exp-lowering-exp.f6460.2%
Simplified60.2%
Taylor expanded in b around 0
Simplified33.8%
(FPCore (x y z t a b) :precision binary64 (/ 1.0 (/ y x)))
double code(double x, double y, double z, double t, double a, double b) {
return 1.0 / (y / x);
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = 1.0d0 / (y / x)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return 1.0 / (y / x);
}
def code(x, y, z, t, a, b): return 1.0 / (y / x)
function code(x, y, z, t, a, b) return Float64(1.0 / Float64(y / x)) end
function tmp = code(x, y, z, t, a, b) tmp = 1.0 / (y / x); end
code[x_, y_, z_, t_, a_, b_] := N[(1.0 / N[(y / x), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\frac{1}{\frac{y}{x}}
\end{array}
Initial program 98.6%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6447.9%
Simplified47.9%
Taylor expanded in b around 0
Simplified16.9%
clear-numN/A
metadata-evalN/A
/-lowering-/.f64N/A
metadata-evalN/A
/-lowering-/.f6417.2%
Applied egg-rr17.2%
(FPCore (x y z t a b) :precision binary64 (/ x y))
double code(double x, double y, double z, double t, double a, double b) {
return x / 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 / y
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x / y;
}
def code(x, y, z, t, a, b): return x / y
function code(x, y, z, t, a, b) return Float64(x / y) end
function tmp = code(x, y, z, t, a, b) tmp = x / y; end
code[x_, y_, z_, t_, a_, b_] := N[(x / y), $MachinePrecision]
\begin{array}{l}
\\
\frac{x}{y}
\end{array}
Initial program 98.6%
Taylor expanded in b around inf
mul-1-negN/A
neg-sub0N/A
--lowering--.f6447.9%
Simplified47.9%
Taylor expanded in b around 0
Simplified16.9%
(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 2024161
(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))