
(FPCore (x y z t a b) :precision binary64 (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b)))
double code(double x, double y, double z, double t, double a, double b) {
return ((x + (y * z)) + (t * a)) + ((a * z) * b);
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = ((x + (y * z)) + (t * a)) + ((a * z) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return ((x + (y * z)) + (t * a)) + ((a * z) * b);
}
def code(x, y, z, t, a, b): return ((x + (y * z)) + (t * a)) + ((a * z) * b)
function code(x, y, z, t, a, b) return Float64(Float64(Float64(x + Float64(y * z)) + Float64(t * a)) + Float64(Float64(a * z) * b)) end
function tmp = code(x, y, z, t, a, b) tmp = ((x + (y * z)) + (t * a)) + ((a * z) * b); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(x + N[(y * z), $MachinePrecision]), $MachinePrecision] + N[(t * a), $MachinePrecision]), $MachinePrecision] + N[(N[(a * z), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(x + y \cdot z\right) + t \cdot a\right) + \left(a \cdot z\right) \cdot b
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 17 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b) :precision binary64 (+ (+ (+ x (* y z)) (* t a)) (* (* a z) b)))
double code(double x, double y, double z, double t, double a, double b) {
return ((x + (y * z)) + (t * a)) + ((a * z) * b);
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = ((x + (y * z)) + (t * a)) + ((a * z) * b)
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return ((x + (y * z)) + (t * a)) + ((a * z) * b);
}
def code(x, y, z, t, a, b): return ((x + (y * z)) + (t * a)) + ((a * z) * b)
function code(x, y, z, t, a, b) return Float64(Float64(Float64(x + Float64(y * z)) + Float64(t * a)) + Float64(Float64(a * z) * b)) end
function tmp = code(x, y, z, t, a, b) tmp = ((x + (y * z)) + (t * a)) + ((a * z) * b); end
code[x_, y_, z_, t_, a_, b_] := N[(N[(N[(x + N[(y * z), $MachinePrecision]), $MachinePrecision] + N[(t * a), $MachinePrecision]), $MachinePrecision] + N[(N[(a * z), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(\left(x + y \cdot z\right) + t \cdot a\right) + \left(a \cdot z\right) \cdot b
\end{array}
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -5e+132) (not (<= z 4.6e+14))) (* z (+ y (+ (/ x z) (* a (+ b (/ t z)))))) (+ (fma y z x) (* a (+ t (* z b))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -5e+132) || !(z <= 4.6e+14)) {
tmp = z * (y + ((x / z) + (a * (b + (t / z)))));
} else {
tmp = fma(y, z, x) + (a * (t + (z * b)));
}
return tmp;
}
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -5e+132) || !(z <= 4.6e+14)) tmp = Float64(z * Float64(y + Float64(Float64(x / z) + Float64(a * Float64(b + Float64(t / z)))))); else tmp = Float64(fma(y, z, x) + Float64(a * Float64(t + Float64(z * b)))); end return tmp end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -5e+132], N[Not[LessEqual[z, 4.6e+14]], $MachinePrecision]], N[(z * N[(y + N[(N[(x / z), $MachinePrecision] + N[(a * N[(b + N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(y * z + x), $MachinePrecision] + N[(a * N[(t + N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5 \cdot 10^{+132} \lor \neg \left(z \leq 4.6 \cdot 10^{+14}\right):\\
\;\;\;\;z \cdot \left(y + \left(\frac{x}{z} + a \cdot \left(b + \frac{t}{z}\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(y, z, x\right) + a \cdot \left(t + z \cdot b\right)\\
\end{array}
\end{array}
if z < -5.0000000000000001e132 or 4.6e14 < z Initial program 82.5%
associate-+l+82.5%
associate-*l*83.4%
Simplified83.4%
Taylor expanded in z around inf 96.3%
+-commutative96.3%
associate-+l+96.3%
+-commutative96.3%
associate-/l*99.0%
distribute-lft-out99.9%
Simplified99.9%
if -5.0000000000000001e132 < z < 4.6e14Initial program 97.9%
associate-+l+97.9%
+-commutative97.9%
fma-define97.9%
associate-*l*98.5%
*-commutative98.5%
*-commutative98.5%
distribute-rgt-out99.9%
*-commutative99.9%
Simplified99.9%
Final simplification99.9%
(FPCore (x y z t a b)
:precision binary64
(if (or (<= a -1.26e+82)
(not
(or (<= a -12500000.0)
(and (not (<= a -1.22e-14))
(or (<= a -1.8e-111)
(and (not (<= a -2.5e-128)) (<= a 2.25e+39)))))))
(* a (+ t (* z b)))
(+ x (* z y))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((a <= -1.26e+82) || !((a <= -12500000.0) || (!(a <= -1.22e-14) && ((a <= -1.8e-111) || (!(a <= -2.5e-128) && (a <= 2.25e+39)))))) {
tmp = a * (t + (z * b));
} else {
tmp = x + (z * 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 ((a <= (-1.26d+82)) .or. (.not. (a <= (-12500000.0d0)) .or. (.not. (a <= (-1.22d-14))) .and. (a <= (-1.8d-111)) .or. (.not. (a <= (-2.5d-128))) .and. (a <= 2.25d+39))) then
tmp = a * (t + (z * b))
else
tmp = x + (z * 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 ((a <= -1.26e+82) || !((a <= -12500000.0) || (!(a <= -1.22e-14) && ((a <= -1.8e-111) || (!(a <= -2.5e-128) && (a <= 2.25e+39)))))) {
tmp = a * (t + (z * b));
} else {
tmp = x + (z * y);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (a <= -1.26e+82) or not ((a <= -12500000.0) or (not (a <= -1.22e-14) and ((a <= -1.8e-111) or (not (a <= -2.5e-128) and (a <= 2.25e+39))))): tmp = a * (t + (z * b)) else: tmp = x + (z * y) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((a <= -1.26e+82) || !((a <= -12500000.0) || (!(a <= -1.22e-14) && ((a <= -1.8e-111) || (!(a <= -2.5e-128) && (a <= 2.25e+39)))))) tmp = Float64(a * Float64(t + Float64(z * b))); else tmp = Float64(x + Float64(z * y)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((a <= -1.26e+82) || ~(((a <= -12500000.0) || (~((a <= -1.22e-14)) && ((a <= -1.8e-111) || (~((a <= -2.5e-128)) && (a <= 2.25e+39))))))) tmp = a * (t + (z * b)); else tmp = x + (z * y); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[a, -1.26e+82], N[Not[Or[LessEqual[a, -12500000.0], And[N[Not[LessEqual[a, -1.22e-14]], $MachinePrecision], Or[LessEqual[a, -1.8e-111], And[N[Not[LessEqual[a, -2.5e-128]], $MachinePrecision], LessEqual[a, 2.25e+39]]]]]], $MachinePrecision]], N[(a * N[(t + N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(z * y), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.26 \cdot 10^{+82} \lor \neg \left(a \leq -12500000 \lor \neg \left(a \leq -1.22 \cdot 10^{-14}\right) \land \left(a \leq -1.8 \cdot 10^{-111} \lor \neg \left(a \leq -2.5 \cdot 10^{-128}\right) \land a \leq 2.25 \cdot 10^{+39}\right)\right):\\
\;\;\;\;a \cdot \left(t + z \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;x + z \cdot y\\
\end{array}
\end{array}
if a < -1.2600000000000001e82 or -1.25e7 < a < -1.21999999999999994e-14 or -1.80000000000000005e-111 < a < -2.5000000000000001e-128 or 2.24999999999999998e39 < a Initial program 81.4%
associate-+l+81.4%
associate-*l*90.4%
Simplified90.4%
Taylor expanded in a around inf 84.9%
if -1.2600000000000001e82 < a < -1.25e7 or -1.21999999999999994e-14 < a < -1.80000000000000005e-111 or -2.5000000000000001e-128 < a < 2.24999999999999998e39Initial program 96.9%
associate-+l+96.9%
associate-*l*92.8%
Simplified92.8%
Taylor expanded in a around 0 74.2%
Final simplification78.2%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* a (* z b))))
(if (<= a -1.4e-159)
t_1
(if (<= a 1.9e-260)
x
(if (<= a 1.05e-159)
(* z y)
(if (<= a 4.4e-61) x (if (<= a 1.8e+50) (* z y) t_1)))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = a * (z * b);
double tmp;
if (a <= -1.4e-159) {
tmp = t_1;
} else if (a <= 1.9e-260) {
tmp = x;
} else if (a <= 1.05e-159) {
tmp = z * y;
} else if (a <= 4.4e-61) {
tmp = x;
} else if (a <= 1.8e+50) {
tmp = z * 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 = a * (z * b)
if (a <= (-1.4d-159)) then
tmp = t_1
else if (a <= 1.9d-260) then
tmp = x
else if (a <= 1.05d-159) then
tmp = z * y
else if (a <= 4.4d-61) then
tmp = x
else if (a <= 1.8d+50) then
tmp = z * 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 = a * (z * b);
double tmp;
if (a <= -1.4e-159) {
tmp = t_1;
} else if (a <= 1.9e-260) {
tmp = x;
} else if (a <= 1.05e-159) {
tmp = z * y;
} else if (a <= 4.4e-61) {
tmp = x;
} else if (a <= 1.8e+50) {
tmp = z * y;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = a * (z * b) tmp = 0 if a <= -1.4e-159: tmp = t_1 elif a <= 1.9e-260: tmp = x elif a <= 1.05e-159: tmp = z * y elif a <= 4.4e-61: tmp = x elif a <= 1.8e+50: tmp = z * y else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(a * Float64(z * b)) tmp = 0.0 if (a <= -1.4e-159) tmp = t_1; elseif (a <= 1.9e-260) tmp = x; elseif (a <= 1.05e-159) tmp = Float64(z * y); elseif (a <= 4.4e-61) tmp = x; elseif (a <= 1.8e+50) tmp = Float64(z * y); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = a * (z * b); tmp = 0.0; if (a <= -1.4e-159) tmp = t_1; elseif (a <= 1.9e-260) tmp = x; elseif (a <= 1.05e-159) tmp = z * y; elseif (a <= 4.4e-61) tmp = x; elseif (a <= 1.8e+50) tmp = z * y; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(a * N[(z * b), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.4e-159], t$95$1, If[LessEqual[a, 1.9e-260], x, If[LessEqual[a, 1.05e-159], N[(z * y), $MachinePrecision], If[LessEqual[a, 4.4e-61], x, If[LessEqual[a, 1.8e+50], N[(z * y), $MachinePrecision], t$95$1]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := a \cdot \left(z \cdot b\right)\\
\mathbf{if}\;a \leq -1.4 \cdot 10^{-159}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 1.9 \cdot 10^{-260}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq 1.05 \cdot 10^{-159}:\\
\;\;\;\;z \cdot y\\
\mathbf{elif}\;a \leq 4.4 \cdot 10^{-61}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq 1.8 \cdot 10^{+50}:\\
\;\;\;\;z \cdot y\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if a < -1.4000000000000001e-159 or 1.79999999999999993e50 < a Initial program 84.1%
associate-+l+84.1%
+-commutative84.1%
fma-define84.1%
associate-*l*90.7%
*-commutative90.7%
*-commutative90.7%
distribute-rgt-out94.5%
*-commutative94.5%
Simplified94.5%
Taylor expanded in x around inf 82.8%
Taylor expanded in b around inf 46.7%
if -1.4000000000000001e-159 < a < 1.9000000000000002e-260 or 1.05e-159 < a < 4.40000000000000017e-61Initial program 98.7%
associate-+l+98.7%
associate-*l*96.2%
Simplified96.2%
Taylor expanded in x around inf 61.1%
if 1.9000000000000002e-260 < a < 1.05e-159 or 4.40000000000000017e-61 < a < 1.79999999999999993e50Initial program 97.9%
associate-+l+97.9%
associate-*l*88.5%
Simplified88.5%
Taylor expanded in y around inf 49.5%
*-commutative49.5%
Simplified49.5%
Final simplification51.5%
(FPCore (x y z t a b)
:precision binary64
(if (<= a -6.2e-160)
(* z (* a b))
(if (<= a 1.46e-263)
x
(if (<= a 5e-160)
(* z y)
(if (<= a 9e-62) x (if (<= a 2.1e+50) (* z y) (* a (* z b))))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (a <= -6.2e-160) {
tmp = z * (a * b);
} else if (a <= 1.46e-263) {
tmp = x;
} else if (a <= 5e-160) {
tmp = z * y;
} else if (a <= 9e-62) {
tmp = x;
} else if (a <= 2.1e+50) {
tmp = z * y;
} else {
tmp = a * (z * 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 (a <= (-6.2d-160)) then
tmp = z * (a * b)
else if (a <= 1.46d-263) then
tmp = x
else if (a <= 5d-160) then
tmp = z * y
else if (a <= 9d-62) then
tmp = x
else if (a <= 2.1d+50) then
tmp = z * y
else
tmp = a * (z * 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 (a <= -6.2e-160) {
tmp = z * (a * b);
} else if (a <= 1.46e-263) {
tmp = x;
} else if (a <= 5e-160) {
tmp = z * y;
} else if (a <= 9e-62) {
tmp = x;
} else if (a <= 2.1e+50) {
tmp = z * y;
} else {
tmp = a * (z * b);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if a <= -6.2e-160: tmp = z * (a * b) elif a <= 1.46e-263: tmp = x elif a <= 5e-160: tmp = z * y elif a <= 9e-62: tmp = x elif a <= 2.1e+50: tmp = z * y else: tmp = a * (z * b) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (a <= -6.2e-160) tmp = Float64(z * Float64(a * b)); elseif (a <= 1.46e-263) tmp = x; elseif (a <= 5e-160) tmp = Float64(z * y); elseif (a <= 9e-62) tmp = x; elseif (a <= 2.1e+50) tmp = Float64(z * y); else tmp = Float64(a * Float64(z * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (a <= -6.2e-160) tmp = z * (a * b); elseif (a <= 1.46e-263) tmp = x; elseif (a <= 5e-160) tmp = z * y; elseif (a <= 9e-62) tmp = x; elseif (a <= 2.1e+50) tmp = z * y; else tmp = a * (z * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[a, -6.2e-160], N[(z * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.46e-263], x, If[LessEqual[a, 5e-160], N[(z * y), $MachinePrecision], If[LessEqual[a, 9e-62], x, If[LessEqual[a, 2.1e+50], N[(z * y), $MachinePrecision], N[(a * N[(z * b), $MachinePrecision]), $MachinePrecision]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -6.2 \cdot 10^{-160}:\\
\;\;\;\;z \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;a \leq 1.46 \cdot 10^{-263}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq 5 \cdot 10^{-160}:\\
\;\;\;\;z \cdot y\\
\mathbf{elif}\;a \leq 9 \cdot 10^{-62}:\\
\;\;\;\;x\\
\mathbf{elif}\;a \leq 2.1 \cdot 10^{+50}:\\
\;\;\;\;z \cdot y\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(z \cdot b\right)\\
\end{array}
\end{array}
if a < -6.2000000000000001e-160Initial program 86.7%
associate-+l+86.7%
associate-*l*90.8%
Simplified90.8%
Taylor expanded in z around inf 60.2%
Taylor expanded in y around 0 41.3%
if -6.2000000000000001e-160 < a < 1.46e-263 or 4.99999999999999994e-160 < a < 9.00000000000000036e-62Initial program 98.7%
associate-+l+98.7%
associate-*l*96.2%
Simplified96.2%
Taylor expanded in x around inf 61.1%
if 1.46e-263 < a < 4.99999999999999994e-160 or 9.00000000000000036e-62 < a < 2.1e50Initial program 97.9%
associate-+l+97.9%
associate-*l*88.5%
Simplified88.5%
Taylor expanded in y around inf 49.5%
*-commutative49.5%
Simplified49.5%
if 2.1e50 < a Initial program 78.7%
associate-+l+78.7%
+-commutative78.7%
fma-define78.7%
associate-*l*90.4%
*-commutative90.4%
*-commutative90.4%
distribute-rgt-out97.5%
*-commutative97.5%
Simplified97.5%
Taylor expanded in x around inf 86.3%
Taylor expanded in b around inf 58.1%
Final simplification51.5%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* z (+ y (* a b)))))
(if (<= z -1.1e+109)
t_1
(if (<= z -1.4e-125)
(+ x (* a (* z b)))
(if (<= z -1.05e-169)
(* a (+ t (* z b)))
(if (<= z 6e-68) (+ x (* a t)) t_1))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = z * (y + (a * b));
double tmp;
if (z <= -1.1e+109) {
tmp = t_1;
} else if (z <= -1.4e-125) {
tmp = x + (a * (z * b));
} else if (z <= -1.05e-169) {
tmp = a * (t + (z * b));
} else if (z <= 6e-68) {
tmp = x + (a * t);
} 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 = z * (y + (a * b))
if (z <= (-1.1d+109)) then
tmp = t_1
else if (z <= (-1.4d-125)) then
tmp = x + (a * (z * b))
else if (z <= (-1.05d-169)) then
tmp = a * (t + (z * b))
else if (z <= 6d-68) then
tmp = x + (a * t)
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 = z * (y + (a * b));
double tmp;
if (z <= -1.1e+109) {
tmp = t_1;
} else if (z <= -1.4e-125) {
tmp = x + (a * (z * b));
} else if (z <= -1.05e-169) {
tmp = a * (t + (z * b));
} else if (z <= 6e-68) {
tmp = x + (a * t);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = z * (y + (a * b)) tmp = 0 if z <= -1.1e+109: tmp = t_1 elif z <= -1.4e-125: tmp = x + (a * (z * b)) elif z <= -1.05e-169: tmp = a * (t + (z * b)) elif z <= 6e-68: tmp = x + (a * t) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(z * Float64(y + Float64(a * b))) tmp = 0.0 if (z <= -1.1e+109) tmp = t_1; elseif (z <= -1.4e-125) tmp = Float64(x + Float64(a * Float64(z * b))); elseif (z <= -1.05e-169) tmp = Float64(a * Float64(t + Float64(z * b))); elseif (z <= 6e-68) tmp = Float64(x + Float64(a * t)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = z * (y + (a * b)); tmp = 0.0; if (z <= -1.1e+109) tmp = t_1; elseif (z <= -1.4e-125) tmp = x + (a * (z * b)); elseif (z <= -1.05e-169) tmp = a * (t + (z * b)); elseif (z <= 6e-68) tmp = x + (a * t); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(z * N[(y + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.1e+109], t$95$1, If[LessEqual[z, -1.4e-125], N[(x + N[(a * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, -1.05e-169], N[(a * N[(t + N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 6e-68], N[(x + N[(a * t), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(y + a \cdot b\right)\\
\mathbf{if}\;z \leq -1.1 \cdot 10^{+109}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -1.4 \cdot 10^{-125}:\\
\;\;\;\;x + a \cdot \left(z \cdot b\right)\\
\mathbf{elif}\;z \leq -1.05 \cdot 10^{-169}:\\
\;\;\;\;a \cdot \left(t + z \cdot b\right)\\
\mathbf{elif}\;z \leq 6 \cdot 10^{-68}:\\
\;\;\;\;x + a \cdot t\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -1.1e109 or 6e-68 < z Initial program 83.7%
associate-+l+83.7%
associate-*l*84.5%
Simplified84.5%
Taylor expanded in z around inf 81.7%
if -1.1e109 < z < -1.4e-125Initial program 97.7%
associate-+l+97.7%
associate-*l*97.7%
Simplified97.7%
Taylor expanded in t around 0 77.1%
+-commutative77.1%
+-commutative77.1%
associate-*r*79.2%
distribute-rgt-in79.2%
Simplified79.2%
Taylor expanded in y around 0 69.5%
if -1.4e-125 < z < -1.05e-169Initial program 100.0%
associate-+l+100.0%
associate-*l*99.7%
Simplified99.7%
Taylor expanded in a around inf 84.2%
if -1.05e-169 < z < 6e-68Initial program 98.6%
associate-+l+98.6%
associate-*l*99.9%
Simplified99.9%
Taylor expanded in z around 0 85.9%
+-commutative85.9%
Simplified85.9%
Final simplification80.8%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -2.8e-126) (not (<= z 7.2e-64))) (* z (+ y (+ (/ x z) (* a (+ b (/ t z)))))) (+ x (+ (* a t) (* z y)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -2.8e-126) || !(z <= 7.2e-64)) {
tmp = z * (y + ((x / z) + (a * (b + (t / z)))));
} else {
tmp = x + ((a * t) + (z * 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 ((z <= (-2.8d-126)) .or. (.not. (z <= 7.2d-64))) then
tmp = z * (y + ((x / z) + (a * (b + (t / z)))))
else
tmp = x + ((a * t) + (z * 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 ((z <= -2.8e-126) || !(z <= 7.2e-64)) {
tmp = z * (y + ((x / z) + (a * (b + (t / z)))));
} else {
tmp = x + ((a * t) + (z * y));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -2.8e-126) or not (z <= 7.2e-64): tmp = z * (y + ((x / z) + (a * (b + (t / z))))) else: tmp = x + ((a * t) + (z * y)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -2.8e-126) || !(z <= 7.2e-64)) tmp = Float64(z * Float64(y + Float64(Float64(x / z) + Float64(a * Float64(b + Float64(t / z)))))); else tmp = Float64(x + Float64(Float64(a * t) + Float64(z * y))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -2.8e-126) || ~((z <= 7.2e-64))) tmp = z * (y + ((x / z) + (a * (b + (t / z))))); else tmp = x + ((a * t) + (z * y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -2.8e-126], N[Not[LessEqual[z, 7.2e-64]], $MachinePrecision]], N[(z * N[(y + N[(N[(x / z), $MachinePrecision] + N[(a * N[(b + N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(a * t), $MachinePrecision] + N[(z * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.8 \cdot 10^{-126} \lor \neg \left(z \leq 7.2 \cdot 10^{-64}\right):\\
\;\;\;\;z \cdot \left(y + \left(\frac{x}{z} + a \cdot \left(b + \frac{t}{z}\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;x + \left(a \cdot t + z \cdot y\right)\\
\end{array}
\end{array}
if z < -2.79999999999999992e-126 or 7.1999999999999996e-64 < z Initial program 87.4%
associate-+l+87.4%
associate-*l*88.0%
Simplified88.0%
Taylor expanded in z around inf 95.4%
+-commutative95.4%
associate-+l+95.4%
+-commutative95.4%
associate-/l*97.1%
distribute-lft-out98.3%
Simplified98.3%
if -2.79999999999999992e-126 < z < 7.1999999999999996e-64Initial program 98.8%
associate-+l+98.8%
associate-*l*99.9%
Simplified99.9%
Taylor expanded in b around 0 93.0%
Final simplification96.5%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -1200000000.0) (not (<= z 15000000000000.0))) (* z (+ y (+ (/ x z) (* a (+ b (/ t z)))))) (+ (+ x (* z y)) (+ (* a t) (* a (* z b))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1200000000.0) || !(z <= 15000000000000.0)) {
tmp = z * (y + ((x / z) + (a * (b + (t / z)))));
} else {
tmp = (x + (z * y)) + ((a * t) + (a * (z * b)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-1200000000.0d0)) .or. (.not. (z <= 15000000000000.0d0))) then
tmp = z * (y + ((x / z) + (a * (b + (t / z)))))
else
tmp = (x + (z * y)) + ((a * t) + (a * (z * b)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -1200000000.0) || !(z <= 15000000000000.0)) {
tmp = z * (y + ((x / z) + (a * (b + (t / z)))));
} else {
tmp = (x + (z * y)) + ((a * t) + (a * (z * b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -1200000000.0) or not (z <= 15000000000000.0): tmp = z * (y + ((x / z) + (a * (b + (t / z))))) else: tmp = (x + (z * y)) + ((a * t) + (a * (z * b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -1200000000.0) || !(z <= 15000000000000.0)) tmp = Float64(z * Float64(y + Float64(Float64(x / z) + Float64(a * Float64(b + Float64(t / z)))))); else tmp = Float64(Float64(x + Float64(z * y)) + Float64(Float64(a * t) + Float64(a * Float64(z * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -1200000000.0) || ~((z <= 15000000000000.0))) tmp = z * (y + ((x / z) + (a * (b + (t / z))))); else tmp = (x + (z * y)) + ((a * t) + (a * (z * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -1200000000.0], N[Not[LessEqual[z, 15000000000000.0]], $MachinePrecision]], N[(z * N[(y + N[(N[(x / z), $MachinePrecision] + N[(a * N[(b + N[(t / z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(x + N[(z * y), $MachinePrecision]), $MachinePrecision] + N[(N[(a * t), $MachinePrecision] + N[(a * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1200000000 \lor \neg \left(z \leq 15000000000000\right):\\
\;\;\;\;z \cdot \left(y + \left(\frac{x}{z} + a \cdot \left(b + \frac{t}{z}\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(x + z \cdot y\right) + \left(a \cdot t + a \cdot \left(z \cdot b\right)\right)\\
\end{array}
\end{array}
if z < -1.2e9 or 1.5e13 < z Initial program 83.5%
associate-+l+83.5%
associate-*l*84.2%
Simplified84.2%
Taylor expanded in z around inf 95.3%
+-commutative95.3%
associate-+l+95.3%
+-commutative95.3%
associate-/l*98.4%
distribute-lft-out99.9%
Simplified99.9%
if -1.2e9 < z < 1.5e13Initial program 99.2%
associate-+l+99.2%
associate-*l*99.9%
Simplified99.9%
Final simplification99.9%
(FPCore (x y z t a b)
:precision binary64
(if (<= z -1.55e+91)
(* z y)
(if (<= z -9e-126)
x
(if (<= z -9.5e-170) (* a t) (if (<= z 3.25e-71) x (* z y))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (z <= -1.55e+91) {
tmp = z * y;
} else if (z <= -9e-126) {
tmp = x;
} else if (z <= -9.5e-170) {
tmp = a * t;
} else if (z <= 3.25e-71) {
tmp = x;
} else {
tmp = z * 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 (z <= (-1.55d+91)) then
tmp = z * y
else if (z <= (-9d-126)) then
tmp = x
else if (z <= (-9.5d-170)) then
tmp = a * t
else if (z <= 3.25d-71) then
tmp = x
else
tmp = z * 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 (z <= -1.55e+91) {
tmp = z * y;
} else if (z <= -9e-126) {
tmp = x;
} else if (z <= -9.5e-170) {
tmp = a * t;
} else if (z <= 3.25e-71) {
tmp = x;
} else {
tmp = z * y;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if z <= -1.55e+91: tmp = z * y elif z <= -9e-126: tmp = x elif z <= -9.5e-170: tmp = a * t elif z <= 3.25e-71: tmp = x else: tmp = z * y return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (z <= -1.55e+91) tmp = Float64(z * y); elseif (z <= -9e-126) tmp = x; elseif (z <= -9.5e-170) tmp = Float64(a * t); elseif (z <= 3.25e-71) tmp = x; else tmp = Float64(z * y); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (z <= -1.55e+91) tmp = z * y; elseif (z <= -9e-126) tmp = x; elseif (z <= -9.5e-170) tmp = a * t; elseif (z <= 3.25e-71) tmp = x; else tmp = z * y; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[z, -1.55e+91], N[(z * y), $MachinePrecision], If[LessEqual[z, -9e-126], x, If[LessEqual[z, -9.5e-170], N[(a * t), $MachinePrecision], If[LessEqual[z, 3.25e-71], x, N[(z * y), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.55 \cdot 10^{+91}:\\
\;\;\;\;z \cdot y\\
\mathbf{elif}\;z \leq -9 \cdot 10^{-126}:\\
\;\;\;\;x\\
\mathbf{elif}\;z \leq -9.5 \cdot 10^{-170}:\\
\;\;\;\;a \cdot t\\
\mathbf{elif}\;z \leq 3.25 \cdot 10^{-71}:\\
\;\;\;\;x\\
\mathbf{else}:\\
\;\;\;\;z \cdot y\\
\end{array}
\end{array}
if z < -1.54999999999999999e91 or 3.25000000000000003e-71 < z Initial program 84.2%
associate-+l+84.2%
associate-*l*85.0%
Simplified85.0%
Taylor expanded in y around inf 44.3%
*-commutative44.3%
Simplified44.3%
if -1.54999999999999999e91 < z < -9.0000000000000005e-126 or -9.5000000000000001e-170 < z < 3.25000000000000003e-71Initial program 98.2%
associate-+l+98.2%
associate-*l*99.0%
Simplified99.0%
Taylor expanded in x around inf 52.8%
if -9.0000000000000005e-126 < z < -9.5000000000000001e-170Initial program 100.0%
associate-+l+100.0%
associate-*l*99.9%
Simplified99.9%
Taylor expanded in t around inf 56.4%
Final simplification48.6%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (* z (+ y (* a b)))))
(if (<= z -1.8e+109)
t_1
(if (<= z -2.8e-126)
(+ x (* z (* a b)))
(if (<= z 2.15e-69) (+ x (* a t)) t_1)))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = z * (y + (a * b));
double tmp;
if (z <= -1.8e+109) {
tmp = t_1;
} else if (z <= -2.8e-126) {
tmp = x + (z * (a * b));
} else if (z <= 2.15e-69) {
tmp = x + (a * t);
} 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 = z * (y + (a * b))
if (z <= (-1.8d+109)) then
tmp = t_1
else if (z <= (-2.8d-126)) then
tmp = x + (z * (a * b))
else if (z <= 2.15d-69) then
tmp = x + (a * t)
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 = z * (y + (a * b));
double tmp;
if (z <= -1.8e+109) {
tmp = t_1;
} else if (z <= -2.8e-126) {
tmp = x + (z * (a * b));
} else if (z <= 2.15e-69) {
tmp = x + (a * t);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = z * (y + (a * b)) tmp = 0 if z <= -1.8e+109: tmp = t_1 elif z <= -2.8e-126: tmp = x + (z * (a * b)) elif z <= 2.15e-69: tmp = x + (a * t) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(z * Float64(y + Float64(a * b))) tmp = 0.0 if (z <= -1.8e+109) tmp = t_1; elseif (z <= -2.8e-126) tmp = Float64(x + Float64(z * Float64(a * b))); elseif (z <= 2.15e-69) tmp = Float64(x + Float64(a * t)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = z * (y + (a * b)); tmp = 0.0; if (z <= -1.8e+109) tmp = t_1; elseif (z <= -2.8e-126) tmp = x + (z * (a * b)); elseif (z <= 2.15e-69) tmp = x + (a * t); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(z * N[(y + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.8e+109], t$95$1, If[LessEqual[z, -2.8e-126], N[(x + N[(z * N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.15e-69], N[(x + N[(a * t), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(y + a \cdot b\right)\\
\mathbf{if}\;z \leq -1.8 \cdot 10^{+109}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -2.8 \cdot 10^{-126}:\\
\;\;\;\;x + z \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;z \leq 2.15 \cdot 10^{-69}:\\
\;\;\;\;x + a \cdot t\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -1.8e109 or 2.15e-69 < z Initial program 83.7%
associate-+l+83.7%
associate-*l*84.5%
Simplified84.5%
Taylor expanded in z around inf 81.7%
if -1.8e109 < z < -2.79999999999999992e-126Initial program 97.8%
associate-+l+97.8%
associate-*l*97.7%
Simplified97.7%
Taylor expanded in t around 0 78.0%
+-commutative78.0%
+-commutative78.0%
associate-*r*80.1%
distribute-rgt-in80.1%
Simplified80.1%
Taylor expanded in y around 0 72.8%
if -2.79999999999999992e-126 < z < 2.15e-69Initial program 98.8%
associate-+l+98.8%
associate-*l*99.9%
Simplified99.9%
Taylor expanded in z around 0 84.1%
+-commutative84.1%
Simplified84.1%
Final simplification80.8%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ x (* a t))))
(if (<= a -1.3e+82)
t_1
(if (<= a 33000000000000.0)
(+ x (* z y))
(if (<= a 1.2e+156) t_1 (* a (* z b)))))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = x + (a * t);
double tmp;
if (a <= -1.3e+82) {
tmp = t_1;
} else if (a <= 33000000000000.0) {
tmp = x + (z * y);
} else if (a <= 1.2e+156) {
tmp = t_1;
} else {
tmp = a * (z * 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 = x + (a * t)
if (a <= (-1.3d+82)) then
tmp = t_1
else if (a <= 33000000000000.0d0) then
tmp = x + (z * y)
else if (a <= 1.2d+156) then
tmp = t_1
else
tmp = a * (z * 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 = x + (a * t);
double tmp;
if (a <= -1.3e+82) {
tmp = t_1;
} else if (a <= 33000000000000.0) {
tmp = x + (z * y);
} else if (a <= 1.2e+156) {
tmp = t_1;
} else {
tmp = a * (z * b);
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = x + (a * t) tmp = 0 if a <= -1.3e+82: tmp = t_1 elif a <= 33000000000000.0: tmp = x + (z * y) elif a <= 1.2e+156: tmp = t_1 else: tmp = a * (z * b) return tmp
function code(x, y, z, t, a, b) t_1 = Float64(x + Float64(a * t)) tmp = 0.0 if (a <= -1.3e+82) tmp = t_1; elseif (a <= 33000000000000.0) tmp = Float64(x + Float64(z * y)); elseif (a <= 1.2e+156) tmp = t_1; else tmp = Float64(a * Float64(z * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = x + (a * t); tmp = 0.0; if (a <= -1.3e+82) tmp = t_1; elseif (a <= 33000000000000.0) tmp = x + (z * y); elseif (a <= 1.2e+156) tmp = t_1; else tmp = a * (z * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(x + N[(a * t), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[a, -1.3e+82], t$95$1, If[LessEqual[a, 33000000000000.0], N[(x + N[(z * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.2e+156], t$95$1, N[(a * N[(z * b), $MachinePrecision]), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := x + a \cdot t\\
\mathbf{if}\;a \leq -1.3 \cdot 10^{+82}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;a \leq 33000000000000:\\
\;\;\;\;x + z \cdot y\\
\mathbf{elif}\;a \leq 1.2 \cdot 10^{+156}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(z \cdot b\right)\\
\end{array}
\end{array}
if a < -1.2999999999999999e82 or 3.3e13 < a < 1.2000000000000001e156Initial program 83.2%
associate-+l+83.2%
associate-*l*92.0%
Simplified92.0%
Taylor expanded in z around 0 54.8%
+-commutative54.8%
Simplified54.8%
if -1.2999999999999999e82 < a < 3.3e13Initial program 96.9%
associate-+l+96.9%
associate-*l*92.8%
Simplified92.8%
Taylor expanded in a around 0 71.0%
if 1.2000000000000001e156 < a Initial program 74.1%
associate-+l+74.1%
+-commutative74.1%
fma-define74.1%
associate-*l*84.1%
*-commutative84.1%
*-commutative84.1%
distribute-rgt-out94.7%
*-commutative94.7%
Simplified94.7%
Taylor expanded in x around inf 84.8%
Taylor expanded in b around inf 74.3%
Final simplification66.5%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -8.2e+132) (not (<= z 2.5e+78))) (* z (+ y (* a b))) (+ x (* a (+ t (* z b))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -8.2e+132) || !(z <= 2.5e+78)) {
tmp = z * (y + (a * b));
} else {
tmp = x + (a * (t + (z * b)));
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-8.2d+132)) .or. (.not. (z <= 2.5d+78))) then
tmp = z * (y + (a * b))
else
tmp = x + (a * (t + (z * b)))
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -8.2e+132) || !(z <= 2.5e+78)) {
tmp = z * (y + (a * b));
} else {
tmp = x + (a * (t + (z * b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -8.2e+132) or not (z <= 2.5e+78): tmp = z * (y + (a * b)) else: tmp = x + (a * (t + (z * b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -8.2e+132) || !(z <= 2.5e+78)) tmp = Float64(z * Float64(y + Float64(a * b))); else tmp = Float64(x + Float64(a * Float64(t + Float64(z * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -8.2e+132) || ~((z <= 2.5e+78))) tmp = z * (y + (a * b)); else tmp = x + (a * (t + (z * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -8.2e+132], N[Not[LessEqual[z, 2.5e+78]], $MachinePrecision]], N[(z * N[(y + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(a * N[(t + N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -8.2 \cdot 10^{+132} \lor \neg \left(z \leq 2.5 \cdot 10^{+78}\right):\\
\;\;\;\;z \cdot \left(y + a \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;x + a \cdot \left(t + z \cdot b\right)\\
\end{array}
\end{array}
if z < -8.19999999999999983e132 or 2.49999999999999992e78 < z Initial program 81.7%
associate-+l+81.7%
associate-*l*81.8%
Simplified81.8%
Taylor expanded in z around inf 88.7%
if -8.19999999999999983e132 < z < 2.49999999999999992e78Initial program 96.9%
associate-+l+96.9%
+-commutative96.9%
fma-define96.9%
associate-*l*98.0%
*-commutative98.0%
*-commutative98.0%
distribute-rgt-out99.9%
*-commutative99.9%
Simplified99.9%
Taylor expanded in y around 0 87.9%
Final simplification88.2%
(FPCore (x y z t a b) :precision binary64 (if (or (<= y -0.0033) (not (<= y 6.7e+24))) (+ x (+ (* a t) (* z y))) (+ x (* a (+ t (* z b))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((y <= -0.0033) || !(y <= 6.7e+24)) {
tmp = x + ((a * t) + (z * y));
} else {
tmp = x + (a * (t + (z * 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 <= (-0.0033d0)) .or. (.not. (y <= 6.7d+24))) then
tmp = x + ((a * t) + (z * y))
else
tmp = x + (a * (t + (z * 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 <= -0.0033) || !(y <= 6.7e+24)) {
tmp = x + ((a * t) + (z * y));
} else {
tmp = x + (a * (t + (z * b)));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (y <= -0.0033) or not (y <= 6.7e+24): tmp = x + ((a * t) + (z * y)) else: tmp = x + (a * (t + (z * b))) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((y <= -0.0033) || !(y <= 6.7e+24)) tmp = Float64(x + Float64(Float64(a * t) + Float64(z * y))); else tmp = Float64(x + Float64(a * Float64(t + Float64(z * b)))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((y <= -0.0033) || ~((y <= 6.7e+24))) tmp = x + ((a * t) + (z * y)); else tmp = x + (a * (t + (z * b))); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[y, -0.0033], N[Not[LessEqual[y, 6.7e+24]], $MachinePrecision]], N[(x + N[(N[(a * t), $MachinePrecision] + N[(z * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(a * N[(t + N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;y \leq -0.0033 \lor \neg \left(y \leq 6.7 \cdot 10^{+24}\right):\\
\;\;\;\;x + \left(a \cdot t + z \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;x + a \cdot \left(t + z \cdot b\right)\\
\end{array}
\end{array}
if y < -0.0033 or 6.6999999999999999e24 < y Initial program 89.3%
associate-+l+89.3%
associate-*l*89.3%
Simplified89.3%
Taylor expanded in b around 0 90.3%
if -0.0033 < y < 6.6999999999999999e24Initial program 92.5%
associate-+l+92.5%
+-commutative92.5%
fma-define92.5%
associate-*l*93.9%
*-commutative93.9%
*-commutative93.9%
distribute-rgt-out96.0%
*-commutative96.0%
Simplified96.0%
Taylor expanded in y around 0 88.5%
Final simplification89.3%
(FPCore (x y z t a b) :precision binary64 (if (<= t -2.05e+145) (+ x (* a (+ t (* z b)))) (if (<= t 3.9e-76) (+ x (* z (+ y (* a b)))) (+ x (+ (* a t) (* z y))))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (t <= -2.05e+145) {
tmp = x + (a * (t + (z * b)));
} else if (t <= 3.9e-76) {
tmp = x + (z * (y + (a * b)));
} else {
tmp = x + ((a * t) + (z * 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 <= (-2.05d+145)) then
tmp = x + (a * (t + (z * b)))
else if (t <= 3.9d-76) then
tmp = x + (z * (y + (a * b)))
else
tmp = x + ((a * t) + (z * 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 <= -2.05e+145) {
tmp = x + (a * (t + (z * b)));
} else if (t <= 3.9e-76) {
tmp = x + (z * (y + (a * b)));
} else {
tmp = x + ((a * t) + (z * y));
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if t <= -2.05e+145: tmp = x + (a * (t + (z * b))) elif t <= 3.9e-76: tmp = x + (z * (y + (a * b))) else: tmp = x + ((a * t) + (z * y)) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (t <= -2.05e+145) tmp = Float64(x + Float64(a * Float64(t + Float64(z * b)))); elseif (t <= 3.9e-76) tmp = Float64(x + Float64(z * Float64(y + Float64(a * b)))); else tmp = Float64(x + Float64(Float64(a * t) + Float64(z * y))); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (t <= -2.05e+145) tmp = x + (a * (t + (z * b))); elseif (t <= 3.9e-76) tmp = x + (z * (y + (a * b))); else tmp = x + ((a * t) + (z * y)); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[t, -2.05e+145], N[(x + N[(a * N[(t + N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[t, 3.9e-76], N[(x + N[(z * N[(y + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(N[(a * t), $MachinePrecision] + N[(z * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -2.05 \cdot 10^{+145}:\\
\;\;\;\;x + a \cdot \left(t + z \cdot b\right)\\
\mathbf{elif}\;t \leq 3.9 \cdot 10^{-76}:\\
\;\;\;\;x + z \cdot \left(y + a \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;x + \left(a \cdot t + z \cdot y\right)\\
\end{array}
\end{array}
if t < -2.0500000000000001e145Initial program 85.9%
associate-+l+85.9%
+-commutative85.9%
fma-define85.9%
associate-*l*88.6%
*-commutative88.6%
*-commutative88.6%
distribute-rgt-out94.3%
*-commutative94.3%
Simplified94.3%
Taylor expanded in y around 0 86.1%
if -2.0500000000000001e145 < t < 3.90000000000000025e-76Initial program 87.8%
associate-+l+87.8%
associate-*l*88.6%
Simplified88.6%
Taylor expanded in t around 0 85.6%
+-commutative85.6%
+-commutative85.6%
associate-*r*89.1%
distribute-rgt-in93.4%
Simplified93.4%
if 3.90000000000000025e-76 < t Initial program 98.8%
associate-+l+98.8%
associate-*l*98.8%
Simplified98.8%
Taylor expanded in b around 0 93.1%
Final simplification92.3%
(FPCore (x y z t a b) :precision binary64 (if (or (<= z -8.5e+79) (not (<= z 2.15e-69))) (* z (+ y (* a b))) (+ x (* a t))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -8.5e+79) || !(z <= 2.15e-69)) {
tmp = z * (y + (a * b));
} else {
tmp = x + (a * t);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((z <= (-8.5d+79)) .or. (.not. (z <= 2.15d-69))) then
tmp = z * (y + (a * b))
else
tmp = x + (a * t)
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((z <= -8.5e+79) || !(z <= 2.15e-69)) {
tmp = z * (y + (a * b));
} else {
tmp = x + (a * t);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (z <= -8.5e+79) or not (z <= 2.15e-69): tmp = z * (y + (a * b)) else: tmp = x + (a * t) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((z <= -8.5e+79) || !(z <= 2.15e-69)) tmp = Float64(z * Float64(y + Float64(a * b))); else tmp = Float64(x + Float64(a * t)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((z <= -8.5e+79) || ~((z <= 2.15e-69))) tmp = z * (y + (a * b)); else tmp = x + (a * t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[z, -8.5e+79], N[Not[LessEqual[z, 2.15e-69]], $MachinePrecision]], N[(z * N[(y + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x + N[(a * t), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -8.5 \cdot 10^{+79} \lor \neg \left(z \leq 2.15 \cdot 10^{-69}\right):\\
\;\;\;\;z \cdot \left(y + a \cdot b\right)\\
\mathbf{else}:\\
\;\;\;\;x + a \cdot t\\
\end{array}
\end{array}
if z < -8.4999999999999998e79 or 2.15e-69 < z Initial program 84.1%
associate-+l+84.1%
associate-*l*84.9%
Simplified84.9%
Taylor expanded in z around inf 81.3%
if -8.4999999999999998e79 < z < 2.15e-69Initial program 98.4%
associate-+l+98.4%
associate-*l*99.1%
Simplified99.1%
Taylor expanded in z around 0 77.0%
+-commutative77.0%
Simplified77.0%
Final simplification79.2%
(FPCore (x y z t a b) :precision binary64 (if (<= a -1.55e+94) (* z (* a b)) (if (<= a 1.3e+52) (+ x (* z y)) (* a (* z b)))))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if (a <= -1.55e+94) {
tmp = z * (a * b);
} else if (a <= 1.3e+52) {
tmp = x + (z * y);
} else {
tmp = a * (z * 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 (a <= (-1.55d+94)) then
tmp = z * (a * b)
else if (a <= 1.3d+52) then
tmp = x + (z * y)
else
tmp = a * (z * 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 (a <= -1.55e+94) {
tmp = z * (a * b);
} else if (a <= 1.3e+52) {
tmp = x + (z * y);
} else {
tmp = a * (z * b);
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if a <= -1.55e+94: tmp = z * (a * b) elif a <= 1.3e+52: tmp = x + (z * y) else: tmp = a * (z * b) return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if (a <= -1.55e+94) tmp = Float64(z * Float64(a * b)); elseif (a <= 1.3e+52) tmp = Float64(x + Float64(z * y)); else tmp = Float64(a * Float64(z * b)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if (a <= -1.55e+94) tmp = z * (a * b); elseif (a <= 1.3e+52) tmp = x + (z * y); else tmp = a * (z * b); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[LessEqual[a, -1.55e+94], N[(z * N[(a * b), $MachinePrecision]), $MachinePrecision], If[LessEqual[a, 1.3e+52], N[(x + N[(z * y), $MachinePrecision]), $MachinePrecision], N[(a * N[(z * b), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -1.55 \cdot 10^{+94}:\\
\;\;\;\;z \cdot \left(a \cdot b\right)\\
\mathbf{elif}\;a \leq 1.3 \cdot 10^{+52}:\\
\;\;\;\;x + z \cdot y\\
\mathbf{else}:\\
\;\;\;\;a \cdot \left(z \cdot b\right)\\
\end{array}
\end{array}
if a < -1.54999999999999996e94Initial program 77.6%
associate-+l+77.6%
associate-*l*86.9%
Simplified86.9%
Taylor expanded in z around inf 60.2%
Taylor expanded in y around 0 47.2%
if -1.54999999999999996e94 < a < 1.3e52Initial program 97.1%
associate-+l+97.1%
associate-*l*93.3%
Simplified93.3%
Taylor expanded in a around 0 69.1%
if 1.3e52 < a Initial program 78.7%
associate-+l+78.7%
+-commutative78.7%
fma-define78.7%
associate-*l*90.4%
*-commutative90.4%
*-commutative90.4%
distribute-rgt-out97.5%
*-commutative97.5%
Simplified97.5%
Taylor expanded in x around inf 86.3%
Taylor expanded in b around inf 58.1%
Final simplification63.9%
(FPCore (x y z t a b) :precision binary64 (if (or (<= t -4.8e+82) (not (<= t 1.45e+110))) (* a t) x))
double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((t <= -4.8e+82) || !(t <= 1.45e+110)) {
tmp = a * t;
} else {
tmp = x;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: tmp
if ((t <= (-4.8d+82)) .or. (.not. (t <= 1.45d+110))) then
tmp = a * t
else
tmp = x
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double tmp;
if ((t <= -4.8e+82) || !(t <= 1.45e+110)) {
tmp = a * t;
} else {
tmp = x;
}
return tmp;
}
def code(x, y, z, t, a, b): tmp = 0 if (t <= -4.8e+82) or not (t <= 1.45e+110): tmp = a * t else: tmp = x return tmp
function code(x, y, z, t, a, b) tmp = 0.0 if ((t <= -4.8e+82) || !(t <= 1.45e+110)) tmp = Float64(a * t); else tmp = x; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) tmp = 0.0; if ((t <= -4.8e+82) || ~((t <= 1.45e+110))) tmp = a * t; else tmp = x; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := If[Or[LessEqual[t, -4.8e+82], N[Not[LessEqual[t, 1.45e+110]], $MachinePrecision]], N[(a * t), $MachinePrecision], x]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -4.8 \cdot 10^{+82} \lor \neg \left(t \leq 1.45 \cdot 10^{+110}\right):\\
\;\;\;\;a \cdot t\\
\mathbf{else}:\\
\;\;\;\;x\\
\end{array}
\end{array}
if t < -4.79999999999999996e82 or 1.45e110 < t Initial program 91.9%
associate-+l+91.9%
associate-*l*93.0%
Simplified93.0%
Taylor expanded in t around inf 50.2%
if -4.79999999999999996e82 < t < 1.45e110Initial program 90.7%
associate-+l+90.7%
associate-*l*91.3%
Simplified91.3%
Taylor expanded in x around inf 35.2%
Final simplification40.2%
(FPCore (x y z t a b) :precision binary64 x)
double code(double x, double y, double z, double t, double a, double b) {
return x;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
code = x
end function
public static double code(double x, double y, double z, double t, double a, double b) {
return x;
}
def code(x, y, z, t, a, b): return x
function code(x, y, z, t, a, b) return x end
function tmp = code(x, y, z, t, a, b) tmp = x; end
code[x_, y_, z_, t_, a_, b_] := x
\begin{array}{l}
\\
x
\end{array}
Initial program 91.1%
associate-+l+91.1%
associate-*l*91.9%
Simplified91.9%
Taylor expanded in x around inf 28.9%
Final simplification28.9%
(FPCore (x y z t a b)
:precision binary64
(let* ((t_1 (+ (* z (+ (* b a) y)) (+ x (* t a)))))
(if (< z -11820553527347888000.0)
t_1
(if (< z 4.7589743188364287e-122)
(+ (* (+ (* b z) t) a) (+ (* z y) x))
t_1))))
double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (z * ((b * a) + y)) + (x + (t * a));
double tmp;
if (z < -11820553527347888000.0) {
tmp = t_1;
} else if (z < 4.7589743188364287e-122) {
tmp = (((b * z) + t) * a) + ((z * y) + x);
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b)
real(8), intent (in) :: x
real(8), intent (in) :: y
real(8), intent (in) :: z
real(8), intent (in) :: t
real(8), intent (in) :: a
real(8), intent (in) :: b
real(8) :: t_1
real(8) :: tmp
t_1 = (z * ((b * a) + y)) + (x + (t * a))
if (z < (-11820553527347888000.0d0)) then
tmp = t_1
else if (z < 4.7589743188364287d-122) then
tmp = (((b * z) + t) * a) + ((z * y) + x)
else
tmp = t_1
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b) {
double t_1 = (z * ((b * a) + y)) + (x + (t * a));
double tmp;
if (z < -11820553527347888000.0) {
tmp = t_1;
} else if (z < 4.7589743188364287e-122) {
tmp = (((b * z) + t) * a) + ((z * y) + x);
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b): t_1 = (z * ((b * a) + y)) + (x + (t * a)) tmp = 0 if z < -11820553527347888000.0: tmp = t_1 elif z < 4.7589743188364287e-122: tmp = (((b * z) + t) * a) + ((z * y) + x) else: tmp = t_1 return tmp
function code(x, y, z, t, a, b) t_1 = Float64(Float64(z * Float64(Float64(b * a) + y)) + Float64(x + Float64(t * a))) tmp = 0.0 if (z < -11820553527347888000.0) tmp = t_1; elseif (z < 4.7589743188364287e-122) tmp = Float64(Float64(Float64(Float64(b * z) + t) * a) + Float64(Float64(z * y) + x)); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b) t_1 = (z * ((b * a) + y)) + (x + (t * a)); tmp = 0.0; if (z < -11820553527347888000.0) tmp = t_1; elseif (z < 4.7589743188364287e-122) tmp = (((b * z) + t) * a) + ((z * y) + x); else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_] := Block[{t$95$1 = N[(N[(z * N[(N[(b * a), $MachinePrecision] + y), $MachinePrecision]), $MachinePrecision] + N[(x + N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[z, -11820553527347888000.0], t$95$1, If[Less[z, 4.7589743188364287e-122], N[(N[(N[(N[(b * z), $MachinePrecision] + t), $MachinePrecision] * a), $MachinePrecision] + N[(N[(z * y), $MachinePrecision] + x), $MachinePrecision]), $MachinePrecision], t$95$1]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := z \cdot \left(b \cdot a + y\right) + \left(x + t \cdot a\right)\\
\mathbf{if}\;z < -11820553527347888000:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z < 4.7589743188364287 \cdot 10^{-122}:\\
\;\;\;\;\left(b \cdot z + t\right) \cdot a + \left(z \cdot y + x\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
herbie shell --seed 2024079
(FPCore (x y z t a b)
:name "Graphics.Rasterific.CubicBezier:cachedBezierAt from Rasterific-0.6.1"
:precision binary64
:alt
(if (< z -11820553527347888000.0) (+ (* z (+ (* b a) y)) (+ x (* t a))) (if (< z 4.7589743188364287e-122) (+ (* (+ (* b z) t) a) (+ (* z y) x)) (+ (* z (+ (* b a) y)) (+ x (* t a)))))
(+ (+ (+ x (* y z)) (* t a)) (* (* a z) b)))