
(FPCore (x y z t a b c i j) :precision binary64 (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
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), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
}
def code(x, y, z, t, a, b, c, i, j): return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
function code(x, y, z, t, a, b, c, i, j) return Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(i * a)))) + Float64(j * Float64(Float64(c * t) - Float64(i * y)))) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)
\end{array}
Sampling outcomes in binary64 precision:
Herbie found 24 alternatives:
| Alternative | Accuracy | Speedup |
|---|
(FPCore (x y z t a b c i j) :precision binary64 (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
}
real(8) function code(x, y, z, t, a, b, c, i, j)
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), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
}
def code(x, y, z, t, a, b, c, i, j): return ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)))
function code(x, y, z, t, a, b, c, i, j) return Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(i * a)))) + Float64(j * Float64(Float64(c * t) - Float64(i * y)))) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y))); end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}
\\
\left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)
\end{array}
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1
(+
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
(* j (- (* c t) (* i y))))))
(if (<= t_1 5e+264)
t_1
(if (<= t_1 INFINITY)
(fma
(fma (- z) c (* i a))
b
(fma (fma (- a) x (* j c)) t (* (fma (- j) i (* z x)) y)))
(* (- y) (fma j i (- (fma z x (/ (* (- b) (* c z)) y)))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
double tmp;
if (t_1 <= 5e+264) {
tmp = t_1;
} else if (t_1 <= ((double) INFINITY)) {
tmp = fma(fma(-z, c, (i * a)), b, fma(fma(-a, x, (j * c)), t, (fma(-j, i, (z * x)) * y)));
} else {
tmp = -y * fma(j, i, -fma(z, x, ((-b * (c * z)) / y)));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(i * a)))) + Float64(j * Float64(Float64(c * t) - Float64(i * y)))) tmp = 0.0 if (t_1 <= 5e+264) tmp = t_1; elseif (t_1 <= Inf) tmp = fma(fma(Float64(-z), c, Float64(i * a)), b, fma(fma(Float64(-a), x, Float64(j * c)), t, Float64(fma(Float64(-j), i, Float64(z * x)) * y))); else tmp = Float64(Float64(-y) * fma(j, i, Float64(-fma(z, x, Float64(Float64(Float64(-b) * Float64(c * z)) / y))))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, 5e+264], t$95$1, If[LessEqual[t$95$1, Infinity], N[(N[((-z) * c + N[(i * a), $MachinePrecision]), $MachinePrecision] * b + N[(N[((-a) * x + N[(j * c), $MachinePrecision]), $MachinePrecision] * t + N[(N[((-j) * i + N[(z * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[((-y) * N[(j * i + (-N[(z * x + N[(N[((-b) * N[(c * z), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision])), $MachinePrecision]), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\\
\mathbf{if}\;t\_1 \leq 5 \cdot 10^{+264}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t\_1 \leq \infty:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-z, c, i \cdot a\right), b, \mathsf{fma}\left(\mathsf{fma}\left(-a, x, j \cdot c\right), t, \mathsf{fma}\left(-j, i, z \cdot x\right) \cdot y\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\left(-y\right) \cdot \mathsf{fma}\left(j, i, -\mathsf{fma}\left(z, x, \frac{\left(-b\right) \cdot \left(c \cdot z\right)}{y}\right)\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < 5.00000000000000033e264Initial program 93.5%
if 5.00000000000000033e264 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < +inf.0Initial program 86.4%
Taylor expanded in y around 0
Applied rewrites94.9%
if +inf.0 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) Initial program 0.0%
Taylor expanded in y around -inf
Applied rewrites49.1%
Taylor expanded in z around inf
Applied rewrites57.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1
(+
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
(* j (- (* c t) (* i y))))))
(if (<= t_1 5e+295)
t_1
(*
(- y)
(fma
j
i
(-
(fma
z
x
(/ (fma (fma (- z) c (* i a)) b (* (fma (- a) x (* j c)) t)) y))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y)));
double tmp;
if (t_1 <= 5e+295) {
tmp = t_1;
} else {
tmp = -y * fma(j, i, -fma(z, x, (fma(fma(-z, c, (i * a)), b, (fma(-a, x, (j * c)) * t)) / y)));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(i * a)))) + Float64(j * Float64(Float64(c * t) - Float64(i * y)))) tmp = 0.0 if (t_1 <= 5e+295) tmp = t_1; else tmp = Float64(Float64(-y) * fma(j, i, Float64(-fma(z, x, Float64(fma(fma(Float64(-z), c, Float64(i * a)), b, Float64(fma(Float64(-a), x, Float64(j * c)) * t)) / y))))); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(j * N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, 5e+295], t$95$1, N[((-y) * N[(j * i + (-N[(z * x + N[(N[(N[((-z) * c + N[(i * a), $MachinePrecision]), $MachinePrecision] * b + N[(N[((-a) * x + N[(j * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision])), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\\
\mathbf{if}\;t\_1 \leq 5 \cdot 10^{+295}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;\left(-y\right) \cdot \mathsf{fma}\left(j, i, -\mathsf{fma}\left(z, x, \frac{\mathsf{fma}\left(\mathsf{fma}\left(-z, c, i \cdot a\right), b, \mathsf{fma}\left(-a, x, j \cdot c\right) \cdot t\right)}{y}\right)\right)\\
\end{array}
\end{array}
if (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) < 4.99999999999999991e295Initial program 93.6%
if 4.99999999999999991e295 < (+.f64 (-.f64 (*.f64 x (-.f64 (*.f64 y z) (*.f64 t a))) (*.f64 b (-.f64 (*.f64 c z) (*.f64 i a)))) (*.f64 j (-.f64 (*.f64 c t) (*.f64 i y)))) Initial program 45.9%
Taylor expanded in y around -inf
Applied rewrites73.4%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= j -8.5e+66)
(fma (fma (- i) y (* c t)) j (* (fma (- x) t (* i b)) a))
(if (<= j 1.4e+129)
(fma
(fma (- z) c (* i a))
b
(fma (fma (- a) x (* j c)) t (* (fma (- j) i (* z x)) y)))
(* (fma (- y) i (* c t)) j))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (j <= -8.5e+66) {
tmp = fma(fma(-i, y, (c * t)), j, (fma(-x, t, (i * b)) * a));
} else if (j <= 1.4e+129) {
tmp = fma(fma(-z, c, (i * a)), b, fma(fma(-a, x, (j * c)), t, (fma(-j, i, (z * x)) * y)));
} else {
tmp = fma(-y, i, (c * t)) * j;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (j <= -8.5e+66) tmp = fma(fma(Float64(-i), y, Float64(c * t)), j, Float64(fma(Float64(-x), t, Float64(i * b)) * a)); elseif (j <= 1.4e+129) tmp = fma(fma(Float64(-z), c, Float64(i * a)), b, fma(fma(Float64(-a), x, Float64(j * c)), t, Float64(fma(Float64(-j), i, Float64(z * x)) * y))); else tmp = Float64(fma(Float64(-y), i, Float64(c * t)) * j); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[j, -8.5e+66], N[(N[((-i) * y + N[(c * t), $MachinePrecision]), $MachinePrecision] * j + N[(N[((-x) * t + N[(i * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[j, 1.4e+129], N[(N[((-z) * c + N[(i * a), $MachinePrecision]), $MachinePrecision] * b + N[(N[((-a) * x + N[(j * c), $MachinePrecision]), $MachinePrecision] * t + N[(N[((-j) * i + N[(z * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[((-y) * i + N[(c * t), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;j \leq -8.5 \cdot 10^{+66}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y, c \cdot t\right), j, \mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\right)\\
\mathbf{elif}\;j \leq 1.4 \cdot 10^{+129}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-z, c, i \cdot a\right), b, \mathsf{fma}\left(\mathsf{fma}\left(-a, x, j \cdot c\right), t, \mathsf{fma}\left(-j, i, z \cdot x\right) \cdot y\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-y, i, c \cdot t\right) \cdot j\\
\end{array}
\end{array}
if j < -8.5000000000000004e66Initial program 76.7%
Taylor expanded in z around 0
+-commutativeN/A
associate--l+N/A
associate-*r*N/A
mul-1-negN/A
associate-*r*N/A
mul-1-negN/A
distribute-lft-out--N/A
distribute-lft-neg-inN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
distribute-lft-out--N/A
*-commutativeN/A
lower-fma.f64N/A
Applied rewrites80.1%
if -8.5000000000000004e66 < j < 1.39999999999999987e129Initial program 75.2%
Taylor expanded in y around 0
Applied rewrites86.7%
if 1.39999999999999987e129 < j Initial program 69.5%
Taylor expanded in y around 0
Applied rewrites64.4%
Taylor expanded in j around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
mul-1-negN/A
associate-*r*N/A
+-commutativeN/A
mul-1-negN/A
*-commutativeN/A
distribute-lft-neg-inN/A
lower-fma.f64N/A
lower-neg.f64N/A
lower-*.f6488.3
Applied rewrites88.3%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= z -1.8e+199)
(* (* (fma (- b) (/ c y) x) z) y)
(if (<= z -5.3e+73)
(fma (* (- c) z) b (* (fma (- j) i (* z x)) y))
(if (<= z 8.8e+36)
(fma (fma (- i) y (* c t)) j (* (fma (- x) t (* i b)) a))
(if (<= z 3.8e+236)
(fma (fma (- y) j (* b a)) i (* (fma (- a) t (* z y)) x))
(* (fma (- z) c (* i a)) b))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (z <= -1.8e+199) {
tmp = (fma(-b, (c / y), x) * z) * y;
} else if (z <= -5.3e+73) {
tmp = fma((-c * z), b, (fma(-j, i, (z * x)) * y));
} else if (z <= 8.8e+36) {
tmp = fma(fma(-i, y, (c * t)), j, (fma(-x, t, (i * b)) * a));
} else if (z <= 3.8e+236) {
tmp = fma(fma(-y, j, (b * a)), i, (fma(-a, t, (z * y)) * x));
} else {
tmp = fma(-z, c, (i * a)) * b;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (z <= -1.8e+199) tmp = Float64(Float64(fma(Float64(-b), Float64(c / y), x) * z) * y); elseif (z <= -5.3e+73) tmp = fma(Float64(Float64(-c) * z), b, Float64(fma(Float64(-j), i, Float64(z * x)) * y)); elseif (z <= 8.8e+36) tmp = fma(fma(Float64(-i), y, Float64(c * t)), j, Float64(fma(Float64(-x), t, Float64(i * b)) * a)); elseif (z <= 3.8e+236) tmp = fma(fma(Float64(-y), j, Float64(b * a)), i, Float64(fma(Float64(-a), t, Float64(z * y)) * x)); else tmp = Float64(fma(Float64(-z), c, Float64(i * a)) * b); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[z, -1.8e+199], N[(N[(N[((-b) * N[(c / y), $MachinePrecision] + x), $MachinePrecision] * z), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[z, -5.3e+73], N[(N[((-c) * z), $MachinePrecision] * b + N[(N[((-j) * i + N[(z * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 8.8e+36], N[(N[((-i) * y + N[(c * t), $MachinePrecision]), $MachinePrecision] * j + N[(N[((-x) * t + N[(i * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 3.8e+236], N[(N[((-y) * j + N[(b * a), $MachinePrecision]), $MachinePrecision] * i + N[(N[((-a) * t + N[(z * y), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision], N[(N[((-z) * c + N[(i * a), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.8 \cdot 10^{+199}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, \frac{c}{y}, x\right) \cdot z\right) \cdot y\\
\mathbf{elif}\;z \leq -5.3 \cdot 10^{+73}:\\
\;\;\;\;\mathsf{fma}\left(\left(-c\right) \cdot z, b, \mathsf{fma}\left(-j, i, z \cdot x\right) \cdot y\right)\\
\mathbf{elif}\;z \leq 8.8 \cdot 10^{+36}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y, c \cdot t\right), j, \mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\right)\\
\mathbf{elif}\;z \leq 3.8 \cdot 10^{+236}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-y, j, b \cdot a\right), i, \mathsf{fma}\left(-a, t, z \cdot y\right) \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-z, c, i \cdot a\right) \cdot b\\
\end{array}
\end{array}
if z < -1.80000000000000001e199Initial program 45.8%
Taylor expanded in y around -inf
Applied rewrites72.7%
Taylor expanded in z around inf
Applied rewrites75.9%
if -1.80000000000000001e199 < z < -5.29999999999999996e73Initial program 65.6%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites87.2%
Taylor expanded in z around inf
Applied rewrites87.2%
if -5.29999999999999996e73 < z < 8.80000000000000002e36Initial program 81.4%
Taylor expanded in z around 0
+-commutativeN/A
associate--l+N/A
associate-*r*N/A
mul-1-negN/A
associate-*r*N/A
mul-1-negN/A
distribute-lft-out--N/A
distribute-lft-neg-inN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
distribute-lft-out--N/A
*-commutativeN/A
lower-fma.f64N/A
Applied rewrites74.3%
if 8.80000000000000002e36 < z < 3.79999999999999986e236Initial program 76.5%
Taylor expanded in c around 0
associate-*r*N/A
mul-1-negN/A
fp-cancel-sign-subN/A
+-commutativeN/A
associate-+l+N/A
*-commutativeN/A
associate-*r*N/A
associate-*r*N/A
*-lft-identityN/A
metadata-evalN/A
distribute-rgt-inN/A
fp-cancel-sub-sign-invN/A
+-commutativeN/A
Applied rewrites74.6%
if 3.79999999999999986e236 < z Initial program 72.6%
Taylor expanded in b around inf
*-commutativeN/A
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-outN/A
*-lft-identityN/A
metadata-evalN/A
distribute-lft-neg-inN/A
mul-1-negN/A
distribute-lft-neg-inN/A
distribute-neg-inN/A
fp-cancel-sub-sign-invN/A
mul-1-negN/A
lower-*.f64N/A
Applied rewrites73.2%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= z -1.8e+199)
(* (* (fma (- b) (/ c y) x) z) y)
(if (or (<= z -5.3e+73) (not (<= z 1.9e+36)))
(fma (* (- c) z) b (* (fma (- j) i (* z x)) y))
(fma (fma (- i) y (* c t)) j (* (fma (- x) t (* i b)) a)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (z <= -1.8e+199) {
tmp = (fma(-b, (c / y), x) * z) * y;
} else if ((z <= -5.3e+73) || !(z <= 1.9e+36)) {
tmp = fma((-c * z), b, (fma(-j, i, (z * x)) * y));
} else {
tmp = fma(fma(-i, y, (c * t)), j, (fma(-x, t, (i * b)) * a));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (z <= -1.8e+199) tmp = Float64(Float64(fma(Float64(-b), Float64(c / y), x) * z) * y); elseif ((z <= -5.3e+73) || !(z <= 1.9e+36)) tmp = fma(Float64(Float64(-c) * z), b, Float64(fma(Float64(-j), i, Float64(z * x)) * y)); else tmp = fma(fma(Float64(-i), y, Float64(c * t)), j, Float64(fma(Float64(-x), t, Float64(i * b)) * a)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[z, -1.8e+199], N[(N[(N[((-b) * N[(c / y), $MachinePrecision] + x), $MachinePrecision] * z), $MachinePrecision] * y), $MachinePrecision], If[Or[LessEqual[z, -5.3e+73], N[Not[LessEqual[z, 1.9e+36]], $MachinePrecision]], N[(N[((-c) * z), $MachinePrecision] * b + N[(N[((-j) * i + N[(z * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision], N[(N[((-i) * y + N[(c * t), $MachinePrecision]), $MachinePrecision] * j + N[(N[((-x) * t + N[(i * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.8 \cdot 10^{+199}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, \frac{c}{y}, x\right) \cdot z\right) \cdot y\\
\mathbf{elif}\;z \leq -5.3 \cdot 10^{+73} \lor \neg \left(z \leq 1.9 \cdot 10^{+36}\right):\\
\;\;\;\;\mathsf{fma}\left(\left(-c\right) \cdot z, b, \mathsf{fma}\left(-j, i, z \cdot x\right) \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y, c \cdot t\right), j, \mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\right)\\
\end{array}
\end{array}
if z < -1.80000000000000001e199Initial program 45.8%
Taylor expanded in y around -inf
Applied rewrites72.7%
Taylor expanded in z around inf
Applied rewrites75.9%
if -1.80000000000000001e199 < z < -5.29999999999999996e73 or 1.90000000000000012e36 < z Initial program 72.4%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites75.8%
Taylor expanded in z around inf
Applied rewrites72.8%
if -5.29999999999999996e73 < z < 1.90000000000000012e36Initial program 81.4%
Taylor expanded in z around 0
+-commutativeN/A
associate--l+N/A
associate-*r*N/A
mul-1-negN/A
associate-*r*N/A
mul-1-negN/A
distribute-lft-out--N/A
distribute-lft-neg-inN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
distribute-lft-out--N/A
*-commutativeN/A
lower-fma.f64N/A
Applied rewrites74.3%
Final simplification74.1%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (fma (* (- c) z) b (* (fma (- j) i (* z x)) y))))
(if (<= z -1.8e+199)
(* (* (fma (- b) (/ c y) x) z) y)
(if (<= z -8e-40)
t_1
(if (<= z 1.05e-166)
(+ (* (* i b) a) (* j (- (* c t) (* i y))))
(if (<= z 2.6e+31) (* (fma (- a) x (* j c)) t) t_1))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = fma((-c * z), b, (fma(-j, i, (z * x)) * y));
double tmp;
if (z <= -1.8e+199) {
tmp = (fma(-b, (c / y), x) * z) * y;
} else if (z <= -8e-40) {
tmp = t_1;
} else if (z <= 1.05e-166) {
tmp = ((i * b) * a) + (j * ((c * t) - (i * y)));
} else if (z <= 2.6e+31) {
tmp = fma(-a, x, (j * c)) * t;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = fma(Float64(Float64(-c) * z), b, Float64(fma(Float64(-j), i, Float64(z * x)) * y)) tmp = 0.0 if (z <= -1.8e+199) tmp = Float64(Float64(fma(Float64(-b), Float64(c / y), x) * z) * y); elseif (z <= -8e-40) tmp = t_1; elseif (z <= 1.05e-166) tmp = Float64(Float64(Float64(i * b) * a) + Float64(j * Float64(Float64(c * t) - Float64(i * y)))); elseif (z <= 2.6e+31) tmp = Float64(fma(Float64(-a), x, Float64(j * c)) * t); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[((-c) * z), $MachinePrecision] * b + N[(N[((-j) * i + N[(z * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -1.8e+199], N[(N[(N[((-b) * N[(c / y), $MachinePrecision] + x), $MachinePrecision] * z), $MachinePrecision] * y), $MachinePrecision], If[LessEqual[z, -8e-40], t$95$1, If[LessEqual[z, 1.05e-166], N[(N[(N[(i * b), $MachinePrecision] * a), $MachinePrecision] + N[(j * N[(N[(c * t), $MachinePrecision] - N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.6e+31], N[(N[((-a) * x + N[(j * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision], t$95$1]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(\left(-c\right) \cdot z, b, \mathsf{fma}\left(-j, i, z \cdot x\right) \cdot y\right)\\
\mathbf{if}\;z \leq -1.8 \cdot 10^{+199}:\\
\;\;\;\;\left(\mathsf{fma}\left(-b, \frac{c}{y}, x\right) \cdot z\right) \cdot y\\
\mathbf{elif}\;z \leq -8 \cdot 10^{-40}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 1.05 \cdot 10^{-166}:\\
\;\;\;\;\left(i \cdot b\right) \cdot a + j \cdot \left(c \cdot t - i \cdot y\right)\\
\mathbf{elif}\;z \leq 2.6 \cdot 10^{+31}:\\
\;\;\;\;\mathsf{fma}\left(-a, x, j \cdot c\right) \cdot t\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -1.80000000000000001e199Initial program 45.8%
Taylor expanded in y around -inf
Applied rewrites72.7%
Taylor expanded in z around inf
Applied rewrites75.9%
if -1.80000000000000001e199 < z < -7.9999999999999994e-40 or 2.6e31 < z Initial program 76.0%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites74.7%
Taylor expanded in z around inf
Applied rewrites69.3%
if -7.9999999999999994e-40 < z < 1.05e-166Initial program 79.5%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
*-commutativeN/A
lower-*.f6462.1
Applied rewrites62.1%
if 1.05e-166 < z < 2.6e31Initial program 82.5%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6475.5
Applied rewrites75.5%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= z -5.3e+73)
(* (- y) (fma j i (- (fma z x (/ (* (- b) (* c z)) y)))))
(if (<= z 2.6e+31)
(fma (fma (- i) y (* c t)) j (* (fma (- x) t (* i b)) a))
(fma (fma (- z) c (* i a)) b (* (fma (- j) i (* z x)) y)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (z <= -5.3e+73) {
tmp = -y * fma(j, i, -fma(z, x, ((-b * (c * z)) / y)));
} else if (z <= 2.6e+31) {
tmp = fma(fma(-i, y, (c * t)), j, (fma(-x, t, (i * b)) * a));
} else {
tmp = fma(fma(-z, c, (i * a)), b, (fma(-j, i, (z * x)) * y));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (z <= -5.3e+73) tmp = Float64(Float64(-y) * fma(j, i, Float64(-fma(z, x, Float64(Float64(Float64(-b) * Float64(c * z)) / y))))); elseif (z <= 2.6e+31) tmp = fma(fma(Float64(-i), y, Float64(c * t)), j, Float64(fma(Float64(-x), t, Float64(i * b)) * a)); else tmp = fma(fma(Float64(-z), c, Float64(i * a)), b, Float64(fma(Float64(-j), i, Float64(z * x)) * y)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[z, -5.3e+73], N[((-y) * N[(j * i + (-N[(z * x + N[(N[((-b) * N[(c * z), $MachinePrecision]), $MachinePrecision] / y), $MachinePrecision]), $MachinePrecision])), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 2.6e+31], N[(N[((-i) * y + N[(c * t), $MachinePrecision]), $MachinePrecision] * j + N[(N[((-x) * t + N[(i * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision], N[(N[((-z) * c + N[(i * a), $MachinePrecision]), $MachinePrecision] * b + N[(N[((-j) * i + N[(z * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -5.3 \cdot 10^{+73}:\\
\;\;\;\;\left(-y\right) \cdot \mathsf{fma}\left(j, i, -\mathsf{fma}\left(z, x, \frac{\left(-b\right) \cdot \left(c \cdot z\right)}{y}\right)\right)\\
\mathbf{elif}\;z \leq 2.6 \cdot 10^{+31}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y, c \cdot t\right), j, \mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-z, c, i \cdot a\right), b, \mathsf{fma}\left(-j, i, z \cdot x\right) \cdot y\right)\\
\end{array}
\end{array}
if z < -5.29999999999999996e73Initial program 54.5%
Taylor expanded in y around -inf
Applied rewrites71.5%
Taylor expanded in z around inf
Applied rewrites84.8%
if -5.29999999999999996e73 < z < 2.6e31Initial program 81.4%
Taylor expanded in z around 0
+-commutativeN/A
associate--l+N/A
associate-*r*N/A
mul-1-negN/A
associate-*r*N/A
mul-1-negN/A
distribute-lft-out--N/A
distribute-lft-neg-inN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
distribute-lft-out--N/A
*-commutativeN/A
lower-fma.f64N/A
Applied rewrites74.3%
if 2.6e31 < z Initial program 75.6%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites70.4%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= z -1.46e-40) (not (<= z 2.6e+31))) (fma (fma (- z) c (* i a)) b (* (fma (- j) i (* z x)) y)) (fma (fma (- i) y (* c t)) j (* (fma (- x) t (* i b)) a))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((z <= -1.46e-40) || !(z <= 2.6e+31)) {
tmp = fma(fma(-z, c, (i * a)), b, (fma(-j, i, (z * x)) * y));
} else {
tmp = fma(fma(-i, y, (c * t)), j, (fma(-x, t, (i * b)) * a));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((z <= -1.46e-40) || !(z <= 2.6e+31)) tmp = fma(fma(Float64(-z), c, Float64(i * a)), b, Float64(fma(Float64(-j), i, Float64(z * x)) * y)); else tmp = fma(fma(Float64(-i), y, Float64(c * t)), j, Float64(fma(Float64(-x), t, Float64(i * b)) * a)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[z, -1.46e-40], N[Not[LessEqual[z, 2.6e+31]], $MachinePrecision]], N[(N[((-z) * c + N[(i * a), $MachinePrecision]), $MachinePrecision] * b + N[(N[((-j) * i + N[(z * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision], N[(N[((-i) * y + N[(c * t), $MachinePrecision]), $MachinePrecision] * j + N[(N[((-x) * t + N[(i * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -1.46 \cdot 10^{-40} \lor \neg \left(z \leq 2.6 \cdot 10^{+31}\right):\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-z, c, i \cdot a\right), b, \mathsf{fma}\left(-j, i, z \cdot x\right) \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-i, y, c \cdot t\right), j, \mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\right)\\
\end{array}
\end{array}
if z < -1.46000000000000005e-40 or 2.6e31 < z Initial program 69.5%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites72.8%
if -1.46000000000000005e-40 < z < 2.6e31Initial program 80.3%
Taylor expanded in z around 0
+-commutativeN/A
associate--l+N/A
associate-*r*N/A
mul-1-negN/A
associate-*r*N/A
mul-1-negN/A
distribute-lft-out--N/A
distribute-lft-neg-inN/A
distribute-rgt-neg-inN/A
mul-1-negN/A
distribute-lft-out--N/A
*-commutativeN/A
lower-fma.f64N/A
Applied rewrites76.2%
Final simplification74.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* (fma (- z) b (* j t)) c)))
(if (<= c -3.9e+21)
t_1
(if (<= c 1.82e-177)
(fma (fma (- j) y (* b a)) i (* (* z y) x))
(if (<= c 2.45e+89)
(fma (* (- c) z) b (* (fma (- j) i (* z x)) y))
t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = fma(-z, b, (j * t)) * c;
double tmp;
if (c <= -3.9e+21) {
tmp = t_1;
} else if (c <= 1.82e-177) {
tmp = fma(fma(-j, y, (b * a)), i, ((z * y) * x));
} else if (c <= 2.45e+89) {
tmp = fma((-c * z), b, (fma(-j, i, (z * x)) * y));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(fma(Float64(-z), b, Float64(j * t)) * c) tmp = 0.0 if (c <= -3.9e+21) tmp = t_1; elseif (c <= 1.82e-177) tmp = fma(fma(Float64(-j), y, Float64(b * a)), i, Float64(Float64(z * y) * x)); elseif (c <= 2.45e+89) tmp = fma(Float64(Float64(-c) * z), b, Float64(fma(Float64(-j), i, Float64(z * x)) * y)); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[((-z) * b + N[(j * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]}, If[LessEqual[c, -3.9e+21], t$95$1, If[LessEqual[c, 1.82e-177], N[(N[((-j) * y + N[(b * a), $MachinePrecision]), $MachinePrecision] * i + N[(N[(z * y), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[c, 2.45e+89], N[(N[((-c) * z), $MachinePrecision] * b + N[(N[((-j) * i + N[(z * x), $MachinePrecision]), $MachinePrecision] * y), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(-z, b, j \cdot t\right) \cdot c\\
\mathbf{if}\;c \leq -3.9 \cdot 10^{+21}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq 1.82 \cdot 10^{-177}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-j, y, b \cdot a\right), i, \left(z \cdot y\right) \cdot x\right)\\
\mathbf{elif}\;c \leq 2.45 \cdot 10^{+89}:\\
\;\;\;\;\mathsf{fma}\left(\left(-c\right) \cdot z, b, \mathsf{fma}\left(-j, i, z \cdot x\right) \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -3.9e21 or 2.44999999999999998e89 < c Initial program 73.8%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
distribute-lft-neg-inN/A
mul-1-negN/A
+-commutativeN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6474.2
Applied rewrites74.2%
if -3.9e21 < c < 1.81999999999999993e-177Initial program 79.4%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites58.7%
Taylor expanded in c around 0
Applied rewrites59.3%
if 1.81999999999999993e-177 < c < 2.44999999999999998e89Initial program 69.3%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites64.2%
Taylor expanded in z around inf
Applied rewrites58.7%
Final simplification65.7%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* (* c t) j)) (t_2 (* (* (- z) b) c)))
(if (<= z -2.35e+67)
t_2
(if (<= z -8.5e-94)
(* (* i b) a)
(if (<= z 8.2e-167)
t_1
(if (<= z 6.1e-77)
(* (- x) (* a t))
(if (<= z 7.5e+56) t_1 (if (<= z 3.8e+236) (* (* z y) x) t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (c * t) * j;
double t_2 = (-z * b) * c;
double tmp;
if (z <= -2.35e+67) {
tmp = t_2;
} else if (z <= -8.5e-94) {
tmp = (i * b) * a;
} else if (z <= 8.2e-167) {
tmp = t_1;
} else if (z <= 6.1e-77) {
tmp = -x * (a * t);
} else if (z <= 7.5e+56) {
tmp = t_1;
} else if (z <= 3.8e+236) {
tmp = (z * y) * x;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
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), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (c * t) * j
t_2 = (-z * b) * c
if (z <= (-2.35d+67)) then
tmp = t_2
else if (z <= (-8.5d-94)) then
tmp = (i * b) * a
else if (z <= 8.2d-167) then
tmp = t_1
else if (z <= 6.1d-77) then
tmp = -x * (a * t)
else if (z <= 7.5d+56) then
tmp = t_1
else if (z <= 3.8d+236) then
tmp = (z * y) * x
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 c, double i, double j) {
double t_1 = (c * t) * j;
double t_2 = (-z * b) * c;
double tmp;
if (z <= -2.35e+67) {
tmp = t_2;
} else if (z <= -8.5e-94) {
tmp = (i * b) * a;
} else if (z <= 8.2e-167) {
tmp = t_1;
} else if (z <= 6.1e-77) {
tmp = -x * (a * t);
} else if (z <= 7.5e+56) {
tmp = t_1;
} else if (z <= 3.8e+236) {
tmp = (z * y) * x;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (c * t) * j t_2 = (-z * b) * c tmp = 0 if z <= -2.35e+67: tmp = t_2 elif z <= -8.5e-94: tmp = (i * b) * a elif z <= 8.2e-167: tmp = t_1 elif z <= 6.1e-77: tmp = -x * (a * t) elif z <= 7.5e+56: tmp = t_1 elif z <= 3.8e+236: tmp = (z * y) * x else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(c * t) * j) t_2 = Float64(Float64(Float64(-z) * b) * c) tmp = 0.0 if (z <= -2.35e+67) tmp = t_2; elseif (z <= -8.5e-94) tmp = Float64(Float64(i * b) * a); elseif (z <= 8.2e-167) tmp = t_1; elseif (z <= 6.1e-77) tmp = Float64(Float64(-x) * Float64(a * t)); elseif (z <= 7.5e+56) tmp = t_1; elseif (z <= 3.8e+236) tmp = Float64(Float64(z * y) * x); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (c * t) * j; t_2 = (-z * b) * c; tmp = 0.0; if (z <= -2.35e+67) tmp = t_2; elseif (z <= -8.5e-94) tmp = (i * b) * a; elseif (z <= 8.2e-167) tmp = t_1; elseif (z <= 6.1e-77) tmp = -x * (a * t); elseif (z <= 7.5e+56) tmp = t_1; elseif (z <= 3.8e+236) tmp = (z * y) * x; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(c * t), $MachinePrecision] * j), $MachinePrecision]}, Block[{t$95$2 = N[(N[((-z) * b), $MachinePrecision] * c), $MachinePrecision]}, If[LessEqual[z, -2.35e+67], t$95$2, If[LessEqual[z, -8.5e-94], N[(N[(i * b), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[z, 8.2e-167], t$95$1, If[LessEqual[z, 6.1e-77], N[((-x) * N[(a * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.5e+56], t$95$1, If[LessEqual[z, 3.8e+236], N[(N[(z * y), $MachinePrecision] * x), $MachinePrecision], t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(c \cdot t\right) \cdot j\\
t_2 := \left(\left(-z\right) \cdot b\right) \cdot c\\
\mathbf{if}\;z \leq -2.35 \cdot 10^{+67}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;z \leq -8.5 \cdot 10^{-94}:\\
\;\;\;\;\left(i \cdot b\right) \cdot a\\
\mathbf{elif}\;z \leq 8.2 \cdot 10^{-167}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 6.1 \cdot 10^{-77}:\\
\;\;\;\;\left(-x\right) \cdot \left(a \cdot t\right)\\
\mathbf{elif}\;z \leq 7.5 \cdot 10^{+56}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 3.8 \cdot 10^{+236}:\\
\;\;\;\;\left(z \cdot y\right) \cdot x\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if z < -2.35000000000000009e67 or 3.79999999999999986e236 < z Initial program 59.0%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
distribute-lft-neg-inN/A
mul-1-negN/A
+-commutativeN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6457.6
Applied rewrites57.6%
Taylor expanded in z around inf
Applied rewrites54.7%
if -2.35000000000000009e67 < z < -8.50000000000000003e-94Initial program 77.5%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6437.2
Applied rewrites37.2%
Applied rewrites37.2%
Taylor expanded in y around 0
Applied rewrites34.2%
if -8.50000000000000003e-94 < z < 8.20000000000000036e-167 or 6.1000000000000002e-77 < z < 7.4999999999999999e56Initial program 80.7%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6455.5
Applied rewrites55.5%
Taylor expanded in x around 0
Applied rewrites43.5%
Applied rewrites45.1%
if 8.20000000000000036e-167 < z < 6.1000000000000002e-77Initial program 93.9%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6477.4
Applied rewrites77.4%
Taylor expanded in x around 0
Applied rewrites8.8%
Taylor expanded in x around inf
Applied rewrites70.9%
if 7.4999999999999999e56 < z < 3.79999999999999986e236Initial program 74.4%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites65.9%
Taylor expanded in x around inf
Applied rewrites39.4%
Final simplification46.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* (* c t) j)) (t_2 (* (- b) (* c z))))
(if (<= z -2.35e+67)
t_2
(if (<= z -8.5e-94)
(* (* i b) a)
(if (<= z 8.2e-167)
t_1
(if (<= z 6.1e-77)
(* (- x) (* a t))
(if (<= z 7.5e+56) t_1 (if (<= z 1.7e+236) (* (* z y) x) t_2))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (c * t) * j;
double t_2 = -b * (c * z);
double tmp;
if (z <= -2.35e+67) {
tmp = t_2;
} else if (z <= -8.5e-94) {
tmp = (i * b) * a;
} else if (z <= 8.2e-167) {
tmp = t_1;
} else if (z <= 6.1e-77) {
tmp = -x * (a * t);
} else if (z <= 7.5e+56) {
tmp = t_1;
} else if (z <= 1.7e+236) {
tmp = (z * y) * x;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
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), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = (c * t) * j
t_2 = -b * (c * z)
if (z <= (-2.35d+67)) then
tmp = t_2
else if (z <= (-8.5d-94)) then
tmp = (i * b) * a
else if (z <= 8.2d-167) then
tmp = t_1
else if (z <= 6.1d-77) then
tmp = -x * (a * t)
else if (z <= 7.5d+56) then
tmp = t_1
else if (z <= 1.7d+236) then
tmp = (z * y) * x
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 c, double i, double j) {
double t_1 = (c * t) * j;
double t_2 = -b * (c * z);
double tmp;
if (z <= -2.35e+67) {
tmp = t_2;
} else if (z <= -8.5e-94) {
tmp = (i * b) * a;
} else if (z <= 8.2e-167) {
tmp = t_1;
} else if (z <= 6.1e-77) {
tmp = -x * (a * t);
} else if (z <= 7.5e+56) {
tmp = t_1;
} else if (z <= 1.7e+236) {
tmp = (z * y) * x;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = (c * t) * j t_2 = -b * (c * z) tmp = 0 if z <= -2.35e+67: tmp = t_2 elif z <= -8.5e-94: tmp = (i * b) * a elif z <= 8.2e-167: tmp = t_1 elif z <= 6.1e-77: tmp = -x * (a * t) elif z <= 7.5e+56: tmp = t_1 elif z <= 1.7e+236: tmp = (z * y) * x else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(c * t) * j) t_2 = Float64(Float64(-b) * Float64(c * z)) tmp = 0.0 if (z <= -2.35e+67) tmp = t_2; elseif (z <= -8.5e-94) tmp = Float64(Float64(i * b) * a); elseif (z <= 8.2e-167) tmp = t_1; elseif (z <= 6.1e-77) tmp = Float64(Float64(-x) * Float64(a * t)); elseif (z <= 7.5e+56) tmp = t_1; elseif (z <= 1.7e+236) tmp = Float64(Float64(z * y) * x); else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = (c * t) * j; t_2 = -b * (c * z); tmp = 0.0; if (z <= -2.35e+67) tmp = t_2; elseif (z <= -8.5e-94) tmp = (i * b) * a; elseif (z <= 8.2e-167) tmp = t_1; elseif (z <= 6.1e-77) tmp = -x * (a * t); elseif (z <= 7.5e+56) tmp = t_1; elseif (z <= 1.7e+236) tmp = (z * y) * x; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(c * t), $MachinePrecision] * j), $MachinePrecision]}, Block[{t$95$2 = N[((-b) * N[(c * z), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[z, -2.35e+67], t$95$2, If[LessEqual[z, -8.5e-94], N[(N[(i * b), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[z, 8.2e-167], t$95$1, If[LessEqual[z, 6.1e-77], N[((-x) * N[(a * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[z, 7.5e+56], t$95$1, If[LessEqual[z, 1.7e+236], N[(N[(z * y), $MachinePrecision] * x), $MachinePrecision], t$95$2]]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(c \cdot t\right) \cdot j\\
t_2 := \left(-b\right) \cdot \left(c \cdot z\right)\\
\mathbf{if}\;z \leq -2.35 \cdot 10^{+67}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;z \leq -8.5 \cdot 10^{-94}:\\
\;\;\;\;\left(i \cdot b\right) \cdot a\\
\mathbf{elif}\;z \leq 8.2 \cdot 10^{-167}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 6.1 \cdot 10^{-77}:\\
\;\;\;\;\left(-x\right) \cdot \left(a \cdot t\right)\\
\mathbf{elif}\;z \leq 7.5 \cdot 10^{+56}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq 1.7 \cdot 10^{+236}:\\
\;\;\;\;\left(z \cdot y\right) \cdot x\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if z < -2.35000000000000009e67 or 1.70000000000000003e236 < z Initial program 59.0%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites75.5%
Applied rewrites70.9%
Taylor expanded in c around inf
Applied rewrites53.2%
if -2.35000000000000009e67 < z < -8.50000000000000003e-94Initial program 77.5%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6437.2
Applied rewrites37.2%
Applied rewrites37.2%
Taylor expanded in y around 0
Applied rewrites34.2%
if -8.50000000000000003e-94 < z < 8.20000000000000036e-167 or 6.1000000000000002e-77 < z < 7.4999999999999999e56Initial program 80.7%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6455.5
Applied rewrites55.5%
Taylor expanded in x around 0
Applied rewrites43.5%
Applied rewrites45.1%
if 8.20000000000000036e-167 < z < 6.1000000000000002e-77Initial program 93.9%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6477.4
Applied rewrites77.4%
Taylor expanded in x around 0
Applied rewrites8.8%
Taylor expanded in x around inf
Applied rewrites70.9%
if 7.4999999999999999e56 < z < 1.70000000000000003e236Initial program 74.4%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites65.9%
Taylor expanded in x around inf
Applied rewrites39.4%
Final simplification46.5%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* (* (- z) b) c)) (t_2 (* (fma b a (* (- y) j)) i)))
(if (<= i -1.4e-5)
t_2
(if (<= i -3.8e-89)
t_1
(if (<= i -3.9e-291)
(* (* c t) j)
(if (<= i 7.5e-307) t_1 (if (<= i 4e-129) (* (- x) (* a t)) t_2)))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = (-z * b) * c;
double t_2 = fma(b, a, (-y * j)) * i;
double tmp;
if (i <= -1.4e-5) {
tmp = t_2;
} else if (i <= -3.8e-89) {
tmp = t_1;
} else if (i <= -3.9e-291) {
tmp = (c * t) * j;
} else if (i <= 7.5e-307) {
tmp = t_1;
} else if (i <= 4e-129) {
tmp = -x * (a * t);
} else {
tmp = t_2;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(Float64(-z) * b) * c) t_2 = Float64(fma(b, a, Float64(Float64(-y) * j)) * i) tmp = 0.0 if (i <= -1.4e-5) tmp = t_2; elseif (i <= -3.8e-89) tmp = t_1; elseif (i <= -3.9e-291) tmp = Float64(Float64(c * t) * j); elseif (i <= 7.5e-307) tmp = t_1; elseif (i <= 4e-129) tmp = Float64(Float64(-x) * Float64(a * t)); else tmp = t_2; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[((-z) * b), $MachinePrecision] * c), $MachinePrecision]}, Block[{t$95$2 = N[(N[(b * a + N[((-y) * j), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision]}, If[LessEqual[i, -1.4e-5], t$95$2, If[LessEqual[i, -3.8e-89], t$95$1, If[LessEqual[i, -3.9e-291], N[(N[(c * t), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[i, 7.5e-307], t$95$1, If[LessEqual[i, 4e-129], N[((-x) * N[(a * t), $MachinePrecision]), $MachinePrecision], t$95$2]]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(\left(-z\right) \cdot b\right) \cdot c\\
t_2 := \mathsf{fma}\left(b, a, \left(-y\right) \cdot j\right) \cdot i\\
\mathbf{if}\;i \leq -1.4 \cdot 10^{-5}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;i \leq -3.8 \cdot 10^{-89}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq -3.9 \cdot 10^{-291}:\\
\;\;\;\;\left(c \cdot t\right) \cdot j\\
\mathbf{elif}\;i \leq 7.5 \cdot 10^{-307}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;i \leq 4 \cdot 10^{-129}:\\
\;\;\;\;\left(-x\right) \cdot \left(a \cdot t\right)\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
if i < -1.39999999999999998e-5 or 3.9999999999999997e-129 < i Initial program 69.5%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6451.8
Applied rewrites51.8%
Applied rewrites51.8%
if -1.39999999999999998e-5 < i < -3.8000000000000001e-89 or -3.90000000000000016e-291 < i < 7.5000000000000006e-307Initial program 77.9%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
distribute-lft-neg-inN/A
mul-1-negN/A
+-commutativeN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6469.1
Applied rewrites69.1%
Taylor expanded in z around inf
Applied rewrites64.3%
if -3.8000000000000001e-89 < i < -3.90000000000000016e-291Initial program 76.8%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6477.0
Applied rewrites77.0%
Taylor expanded in x around 0
Applied rewrites48.9%
Applied rewrites51.1%
if 7.5000000000000006e-307 < i < 3.9999999999999997e-129Initial program 90.3%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6454.0
Applied rewrites54.0%
Taylor expanded in x around 0
Applied rewrites26.1%
Taylor expanded in x around inf
Applied rewrites46.6%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= c -3.9e+21) (not (<= c 7.5e-59))) (* (fma (- z) b (* j t)) c) (fma (fma (- j) y (* b a)) i (* (* z y) x))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((c <= -3.9e+21) || !(c <= 7.5e-59)) {
tmp = fma(-z, b, (j * t)) * c;
} else {
tmp = fma(fma(-j, y, (b * a)), i, ((z * y) * x));
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((c <= -3.9e+21) || !(c <= 7.5e-59)) tmp = Float64(fma(Float64(-z), b, Float64(j * t)) * c); else tmp = fma(fma(Float64(-j), y, Float64(b * a)), i, Float64(Float64(z * y) * x)); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[c, -3.9e+21], N[Not[LessEqual[c, 7.5e-59]], $MachinePrecision]], N[(N[((-z) * b + N[(j * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision], N[(N[((-j) * y + N[(b * a), $MachinePrecision]), $MachinePrecision] * i + N[(N[(z * y), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;c \leq -3.9 \cdot 10^{+21} \lor \neg \left(c \leq 7.5 \cdot 10^{-59}\right):\\
\;\;\;\;\mathsf{fma}\left(-z, b, j \cdot t\right) \cdot c\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(-j, y, b \cdot a\right), i, \left(z \cdot y\right) \cdot x\right)\\
\end{array}
\end{array}
if c < -3.9e21 or 7.50000000000000019e-59 < c Initial program 72.3%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
distribute-lft-neg-inN/A
mul-1-negN/A
+-commutativeN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6467.2
Applied rewrites67.2%
if -3.9e21 < c < 7.50000000000000019e-59Initial program 78.0%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites60.8%
Taylor expanded in c around 0
Applied rewrites56.9%
Final simplification62.7%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* (fma (- z) b (* j t)) c)))
(if (<= c -4.4e+27)
t_1
(if (<= c -4.5e-276)
(* (fma (- x) t (* i b)) a)
(if (<= c 6.8e-59) (fma (* b a) i (* (* z y) x)) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = fma(-z, b, (j * t)) * c;
double tmp;
if (c <= -4.4e+27) {
tmp = t_1;
} else if (c <= -4.5e-276) {
tmp = fma(-x, t, (i * b)) * a;
} else if (c <= 6.8e-59) {
tmp = fma((b * a), i, ((z * y) * x));
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(fma(Float64(-z), b, Float64(j * t)) * c) tmp = 0.0 if (c <= -4.4e+27) tmp = t_1; elseif (c <= -4.5e-276) tmp = Float64(fma(Float64(-x), t, Float64(i * b)) * a); elseif (c <= 6.8e-59) tmp = fma(Float64(b * a), i, Float64(Float64(z * y) * x)); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[((-z) * b + N[(j * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]}, If[LessEqual[c, -4.4e+27], t$95$1, If[LessEqual[c, -4.5e-276], N[(N[((-x) * t + N[(i * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[c, 6.8e-59], N[(N[(b * a), $MachinePrecision] * i + N[(N[(z * y), $MachinePrecision] * x), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(-z, b, j \cdot t\right) \cdot c\\
\mathbf{if}\;c \leq -4.4 \cdot 10^{+27}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -4.5 \cdot 10^{-276}:\\
\;\;\;\;\mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\\
\mathbf{elif}\;c \leq 6.8 \cdot 10^{-59}:\\
\;\;\;\;\mathsf{fma}\left(b \cdot a, i, \left(z \cdot y\right) \cdot x\right)\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -4.3999999999999997e27 or 6.80000000000000035e-59 < c Initial program 71.9%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
distribute-lft-neg-inN/A
mul-1-negN/A
+-commutativeN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6468.1
Applied rewrites68.1%
if -4.3999999999999997e27 < c < -4.49999999999999962e-276Initial program 82.7%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
mul-1-negN/A
*-commutativeN/A
distribute-lft-neg-inN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6456.7
Applied rewrites56.7%
if -4.49999999999999962e-276 < c < 6.80000000000000035e-59Initial program 73.1%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites68.4%
Taylor expanded in c around 0
Applied rewrites61.9%
Taylor expanded in y around 0
Applied rewrites56.1%
Final simplification62.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* (fma (- z) b (* j t)) c)))
(if (<= c -4.4e+27)
t_1
(if (<= c -1.12e-271)
(* (fma (- x) t (* i b)) a)
(if (<= c 3400.0) (* (fma (- t) a (* z y)) x) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = fma(-z, b, (j * t)) * c;
double tmp;
if (c <= -4.4e+27) {
tmp = t_1;
} else if (c <= -1.12e-271) {
tmp = fma(-x, t, (i * b)) * a;
} else if (c <= 3400.0) {
tmp = fma(-t, a, (z * y)) * x;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(fma(Float64(-z), b, Float64(j * t)) * c) tmp = 0.0 if (c <= -4.4e+27) tmp = t_1; elseif (c <= -1.12e-271) tmp = Float64(fma(Float64(-x), t, Float64(i * b)) * a); elseif (c <= 3400.0) tmp = Float64(fma(Float64(-t), a, Float64(z * y)) * x); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[((-z) * b + N[(j * t), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]}, If[LessEqual[c, -4.4e+27], t$95$1, If[LessEqual[c, -1.12e-271], N[(N[((-x) * t + N[(i * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[c, 3400.0], N[(N[((-t) * a + N[(z * y), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(-z, b, j \cdot t\right) \cdot c\\
\mathbf{if}\;c \leq -4.4 \cdot 10^{+27}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;c \leq -1.12 \cdot 10^{-271}:\\
\;\;\;\;\mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\\
\mathbf{elif}\;c \leq 3400:\\
\;\;\;\;\mathsf{fma}\left(-t, a, z \cdot y\right) \cdot x\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if c < -4.3999999999999997e27 or 3400 < c Initial program 73.7%
Taylor expanded in c around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
distribute-lft-neg-inN/A
mul-1-negN/A
+-commutativeN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
lower-*.f6472.6
Applied rewrites72.6%
if -4.3999999999999997e27 < c < -1.11999999999999997e-271Initial program 82.7%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
mul-1-negN/A
*-commutativeN/A
distribute-lft-neg-inN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6456.7
Applied rewrites56.7%
if -1.11999999999999997e-271 < c < 3400Initial program 69.7%
Taylor expanded in y around 0
Applied rewrites78.1%
Taylor expanded in x around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
mul-1-negN/A
associate-*r*N/A
+-commutativeN/A
mul-1-negN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6451.2
Applied rewrites51.2%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* (fma (- b) c (* y x)) z)))
(if (<= z -8e-40)
t_1
(if (<= z -4.1e-246)
(* (fma (- x) t (* i b)) a)
(if (<= z 1.02e+71) (* (fma (- a) x (* j c)) t) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = fma(-b, c, (y * x)) * z;
double tmp;
if (z <= -8e-40) {
tmp = t_1;
} else if (z <= -4.1e-246) {
tmp = fma(-x, t, (i * b)) * a;
} else if (z <= 1.02e+71) {
tmp = fma(-a, x, (j * c)) * t;
} else {
tmp = t_1;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(fma(Float64(-b), c, Float64(y * x)) * z) tmp = 0.0 if (z <= -8e-40) tmp = t_1; elseif (z <= -4.1e-246) tmp = Float64(fma(Float64(-x), t, Float64(i * b)) * a); elseif (z <= 1.02e+71) tmp = Float64(fma(Float64(-a), x, Float64(j * c)) * t); else tmp = t_1; end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[((-b) * c + N[(y * x), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision]}, If[LessEqual[z, -8e-40], t$95$1, If[LessEqual[z, -4.1e-246], N[(N[((-x) * t + N[(i * b), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision], If[LessEqual[z, 1.02e+71], N[(N[((-a) * x + N[(j * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(-b, c, y \cdot x\right) \cdot z\\
\mathbf{if}\;z \leq -8 \cdot 10^{-40}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;z \leq -4.1 \cdot 10^{-246}:\\
\;\;\;\;\mathsf{fma}\left(-x, t, i \cdot b\right) \cdot a\\
\mathbf{elif}\;z \leq 1.02 \cdot 10^{+71}:\\
\;\;\;\;\mathsf{fma}\left(-a, x, j \cdot c\right) \cdot t\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if z < -7.9999999999999994e-40 or 1.02000000000000003e71 < z Initial program 68.0%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
cancel-sign-sub-invN/A
distribute-lft-neg-inN/A
mul-1-negN/A
+-commutativeN/A
mul-1-negN/A
distribute-lft-neg-inN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6457.9
Applied rewrites57.9%
if -7.9999999999999994e-40 < z < -4.09999999999999986e-246Initial program 76.3%
Taylor expanded in a around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
mul-1-negN/A
*-commutativeN/A
distribute-lft-neg-inN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6457.8
Applied rewrites57.8%
if -4.09999999999999986e-246 < z < 1.02000000000000003e71Initial program 82.8%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6462.9
Applied rewrites62.9%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= z -2.55e+116) (not (<= z 1.02e+71))) (* (fma (- b) c (* y x)) z) (* (fma (- a) x (* j c)) t)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((z <= -2.55e+116) || !(z <= 1.02e+71)) {
tmp = fma(-b, c, (y * x)) * z;
} else {
tmp = fma(-a, x, (j * c)) * t;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((z <= -2.55e+116) || !(z <= 1.02e+71)) tmp = Float64(fma(Float64(-b), c, Float64(y * x)) * z); else tmp = Float64(fma(Float64(-a), x, Float64(j * c)) * t); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[z, -2.55e+116], N[Not[LessEqual[z, 1.02e+71]], $MachinePrecision]], N[(N[((-b) * c + N[(y * x), $MachinePrecision]), $MachinePrecision] * z), $MachinePrecision], N[(N[((-a) * x + N[(j * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;z \leq -2.55 \cdot 10^{+116} \lor \neg \left(z \leq 1.02 \cdot 10^{+71}\right):\\
\;\;\;\;\mathsf{fma}\left(-b, c, y \cdot x\right) \cdot z\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-a, x, j \cdot c\right) \cdot t\\
\end{array}
\end{array}
if z < -2.55e116 or 1.02000000000000003e71 < z Initial program 62.6%
Taylor expanded in z around inf
*-commutativeN/A
lower-*.f64N/A
cancel-sign-sub-invN/A
distribute-lft-neg-inN/A
mul-1-negN/A
+-commutativeN/A
mul-1-negN/A
distribute-lft-neg-inN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6466.1
Applied rewrites66.1%
if -2.55e116 < z < 1.02000000000000003e71Initial program 80.6%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6454.1
Applied rewrites54.1%
Final simplification58.0%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= i -4.3e+20) (not (<= i 2e-74))) (* (fma b a (* (- y) j)) i) (* (fma (- a) x (* j c)) t)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((i <= -4.3e+20) || !(i <= 2e-74)) {
tmp = fma(b, a, (-y * j)) * i;
} else {
tmp = fma(-a, x, (j * c)) * t;
}
return tmp;
}
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((i <= -4.3e+20) || !(i <= 2e-74)) tmp = Float64(fma(b, a, Float64(Float64(-y) * j)) * i); else tmp = Float64(fma(Float64(-a), x, Float64(j * c)) * t); end return tmp end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[i, -4.3e+20], N[Not[LessEqual[i, 2e-74]], $MachinePrecision]], N[(N[(b * a + N[((-y) * j), $MachinePrecision]), $MachinePrecision] * i), $MachinePrecision], N[(N[((-a) * x + N[(j * c), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;i \leq -4.3 \cdot 10^{+20} \lor \neg \left(i \leq 2 \cdot 10^{-74}\right):\\
\;\;\;\;\mathsf{fma}\left(b, a, \left(-y\right) \cdot j\right) \cdot i\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(-a, x, j \cdot c\right) \cdot t\\
\end{array}
\end{array}
if i < -4.3e20 or 1.99999999999999992e-74 < i Initial program 69.8%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6455.7
Applied rewrites55.7%
Applied rewrites55.7%
if -4.3e20 < i < 1.99999999999999992e-74Initial program 80.4%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6455.1
Applied rewrites55.1%
Final simplification55.4%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1 (* (- a) (* t x))))
(if (<= x -8e+52)
t_1
(if (<= x 1.9e-126)
(* (* j c) t)
(if (<= x 1.65e+28) (* (* i b) a) t_1)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = -a * (t * x);
double tmp;
if (x <= -8e+52) {
tmp = t_1;
} else if (x <= 1.9e-126) {
tmp = (j * c) * t;
} else if (x <= 1.65e+28) {
tmp = (i * b) * a;
} else {
tmp = t_1;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
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), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: tmp
t_1 = -a * (t * x)
if (x <= (-8d+52)) then
tmp = t_1
else if (x <= 1.9d-126) then
tmp = (j * c) * t
else if (x <= 1.65d+28) then
tmp = (i * b) * 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 c, double i, double j) {
double t_1 = -a * (t * x);
double tmp;
if (x <= -8e+52) {
tmp = t_1;
} else if (x <= 1.9e-126) {
tmp = (j * c) * t;
} else if (x <= 1.65e+28) {
tmp = (i * b) * a;
} else {
tmp = t_1;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = -a * (t * x) tmp = 0 if x <= -8e+52: tmp = t_1 elif x <= 1.9e-126: tmp = (j * c) * t elif x <= 1.65e+28: tmp = (i * b) * a else: tmp = t_1 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(-a) * Float64(t * x)) tmp = 0.0 if (x <= -8e+52) tmp = t_1; elseif (x <= 1.9e-126) tmp = Float64(Float64(j * c) * t); elseif (x <= 1.65e+28) tmp = Float64(Float64(i * b) * a); else tmp = t_1; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = -a * (t * x); tmp = 0.0; if (x <= -8e+52) tmp = t_1; elseif (x <= 1.9e-126) tmp = (j * c) * t; elseif (x <= 1.65e+28) tmp = (i * b) * a; else tmp = t_1; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[((-a) * N[(t * x), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -8e+52], t$95$1, If[LessEqual[x, 1.9e-126], N[(N[(j * c), $MachinePrecision] * t), $MachinePrecision], If[LessEqual[x, 1.65e+28], N[(N[(i * b), $MachinePrecision] * a), $MachinePrecision], t$95$1]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(-a\right) \cdot \left(t \cdot x\right)\\
\mathbf{if}\;x \leq -8 \cdot 10^{+52}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;x \leq 1.9 \cdot 10^{-126}:\\
\;\;\;\;\left(j \cdot c\right) \cdot t\\
\mathbf{elif}\;x \leq 1.65 \cdot 10^{+28}:\\
\;\;\;\;\left(i \cdot b\right) \cdot a\\
\mathbf{else}:\\
\;\;\;\;t\_1\\
\end{array}
\end{array}
if x < -7.9999999999999999e52 or 1.65e28 < x Initial program 76.9%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6452.1
Applied rewrites52.1%
Taylor expanded in x around inf
Applied rewrites42.7%
if -7.9999999999999999e52 < x < 1.8999999999999999e-126Initial program 74.2%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6443.7
Applied rewrites43.7%
Taylor expanded in x around 0
Applied rewrites38.2%
if 1.8999999999999999e-126 < x < 1.65e28Initial program 69.8%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6436.5
Applied rewrites36.5%
Applied rewrites36.5%
Taylor expanded in y around 0
Applied rewrites36.5%
(FPCore (x y z t a b c i j)
:precision binary64
(if (<= a -4.3e+188)
(* (* a i) b)
(if (<= a -4.3e+85)
(* (* z y) x)
(if (<= a 9.8e+73) (* (* c t) j) (* (* b a) i)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (a <= -4.3e+188) {
tmp = (a * i) * b;
} else if (a <= -4.3e+85) {
tmp = (z * y) * x;
} else if (a <= 9.8e+73) {
tmp = (c * t) * j;
} else {
tmp = (b * a) * i;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
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), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (a <= (-4.3d+188)) then
tmp = (a * i) * b
else if (a <= (-4.3d+85)) then
tmp = (z * y) * x
else if (a <= 9.8d+73) then
tmp = (c * t) * j
else
tmp = (b * a) * i
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (a <= -4.3e+188) {
tmp = (a * i) * b;
} else if (a <= -4.3e+85) {
tmp = (z * y) * x;
} else if (a <= 9.8e+73) {
tmp = (c * t) * j;
} else {
tmp = (b * a) * i;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if a <= -4.3e+188: tmp = (a * i) * b elif a <= -4.3e+85: tmp = (z * y) * x elif a <= 9.8e+73: tmp = (c * t) * j else: tmp = (b * a) * i return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (a <= -4.3e+188) tmp = Float64(Float64(a * i) * b); elseif (a <= -4.3e+85) tmp = Float64(Float64(z * y) * x); elseif (a <= 9.8e+73) tmp = Float64(Float64(c * t) * j); else tmp = Float64(Float64(b * a) * i); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (a <= -4.3e+188) tmp = (a * i) * b; elseif (a <= -4.3e+85) tmp = (z * y) * x; elseif (a <= 9.8e+73) tmp = (c * t) * j; else tmp = (b * a) * i; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[a, -4.3e+188], N[(N[(a * i), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[a, -4.3e+85], N[(N[(z * y), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[a, 9.8e+73], N[(N[(c * t), $MachinePrecision] * j), $MachinePrecision], N[(N[(b * a), $MachinePrecision] * i), $MachinePrecision]]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;a \leq -4.3 \cdot 10^{+188}:\\
\;\;\;\;\left(a \cdot i\right) \cdot b\\
\mathbf{elif}\;a \leq -4.3 \cdot 10^{+85}:\\
\;\;\;\;\left(z \cdot y\right) \cdot x\\
\mathbf{elif}\;a \leq 9.8 \cdot 10^{+73}:\\
\;\;\;\;\left(c \cdot t\right) \cdot j\\
\mathbf{else}:\\
\;\;\;\;\left(b \cdot a\right) \cdot i\\
\end{array}
\end{array}
if a < -4.29999999999999985e188Initial program 70.2%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6461.7
Applied rewrites61.7%
Applied rewrites61.7%
Taylor expanded in y around 0
Applied rewrites65.8%
Applied rewrites66.0%
if -4.29999999999999985e188 < a < -4.2999999999999999e85Initial program 75.2%
Taylor expanded in t around 0
fp-cancel-sub-sign-invN/A
+-commutativeN/A
distribute-lft-neg-inN/A
*-commutativeN/A
distribute-lft-neg-inN/A
mul-1-negN/A
associate-*r*N/A
associate-*r*N/A
*-commutativeN/A
associate-*r*N/A
distribute-rgt-inN/A
lower-fma.f64N/A
Applied rewrites55.4%
Taylor expanded in x around inf
Applied rewrites38.7%
if -4.2999999999999999e85 < a < 9.7999999999999998e73Initial program 78.5%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6443.0
Applied rewrites43.0%
Taylor expanded in x around 0
Applied rewrites32.1%
Applied rewrites33.8%
if 9.7999999999999998e73 < a Initial program 64.5%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6447.3
Applied rewrites47.3%
Taylor expanded in y around 0
Applied rewrites39.3%
Final simplification37.9%
(FPCore (x y z t a b c i j) :precision binary64 (if (<= x -8e+52) (* (- a) (* t x)) (if (<= x 1.1e-133) (* (* j c) t) (* (- x) (* a t)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if (x <= -8e+52) {
tmp = -a * (t * x);
} else if (x <= 1.1e-133) {
tmp = (j * c) * t;
} else {
tmp = -x * (a * t);
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
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), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if (x <= (-8d+52)) then
tmp = -a * (t * x)
else if (x <= 1.1d-133) then
tmp = (j * c) * t
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 c, double i, double j) {
double tmp;
if (x <= -8e+52) {
tmp = -a * (t * x);
} else if (x <= 1.1e-133) {
tmp = (j * c) * t;
} else {
tmp = -x * (a * t);
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if x <= -8e+52: tmp = -a * (t * x) elif x <= 1.1e-133: tmp = (j * c) * t else: tmp = -x * (a * t) return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if (x <= -8e+52) tmp = Float64(Float64(-a) * Float64(t * x)); elseif (x <= 1.1e-133) tmp = Float64(Float64(j * c) * t); else tmp = Float64(Float64(-x) * Float64(a * t)); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if (x <= -8e+52) tmp = -a * (t * x); elseif (x <= 1.1e-133) tmp = (j * c) * t; else tmp = -x * (a * t); end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[LessEqual[x, -8e+52], N[((-a) * N[(t * x), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.1e-133], N[(N[(j * c), $MachinePrecision] * t), $MachinePrecision], N[((-x) * N[(a * t), $MachinePrecision]), $MachinePrecision]]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;x \leq -8 \cdot 10^{+52}:\\
\;\;\;\;\left(-a\right) \cdot \left(t \cdot x\right)\\
\mathbf{elif}\;x \leq 1.1 \cdot 10^{-133}:\\
\;\;\;\;\left(j \cdot c\right) \cdot t\\
\mathbf{else}:\\
\;\;\;\;\left(-x\right) \cdot \left(a \cdot t\right)\\
\end{array}
\end{array}
if x < -7.9999999999999999e52Initial program 67.3%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6450.1
Applied rewrites50.1%
Taylor expanded in x around inf
Applied rewrites44.2%
if -7.9999999999999999e52 < x < 1.1e-133Initial program 73.8%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6443.6
Applied rewrites43.6%
Taylor expanded in x around 0
Applied rewrites38.7%
if 1.1e-133 < x Initial program 80.5%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6443.6
Applied rewrites43.6%
Taylor expanded in x around 0
Applied rewrites21.9%
Taylor expanded in x around inf
Applied rewrites36.4%
(FPCore (x y z t a b c i j) :precision binary64 (if (or (<= t -1.42e-105) (not (<= t 3.3e+81))) (* (* c t) j) (* (* i b) a)))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((t <= -1.42e-105) || !(t <= 3.3e+81)) {
tmp = (c * t) * j;
} else {
tmp = (i * b) * a;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
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), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: tmp
if ((t <= (-1.42d-105)) .or. (.not. (t <= 3.3d+81))) then
tmp = (c * t) * j
else
tmp = (i * b) * a
end if
code = tmp
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double tmp;
if ((t <= -1.42e-105) || !(t <= 3.3e+81)) {
tmp = (c * t) * j;
} else {
tmp = (i * b) * a;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): tmp = 0 if (t <= -1.42e-105) or not (t <= 3.3e+81): tmp = (c * t) * j else: tmp = (i * b) * a return tmp
function code(x, y, z, t, a, b, c, i, j) tmp = 0.0 if ((t <= -1.42e-105) || !(t <= 3.3e+81)) tmp = Float64(Float64(c * t) * j); else tmp = Float64(Float64(i * b) * a); end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) tmp = 0.0; if ((t <= -1.42e-105) || ~((t <= 3.3e+81))) tmp = (c * t) * j; else tmp = (i * b) * a; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := If[Or[LessEqual[t, -1.42e-105], N[Not[LessEqual[t, 3.3e+81]], $MachinePrecision]], N[(N[(c * t), $MachinePrecision] * j), $MachinePrecision], N[(N[(i * b), $MachinePrecision] * a), $MachinePrecision]]
\begin{array}{l}
\\
\begin{array}{l}
\mathbf{if}\;t \leq -1.42 \cdot 10^{-105} \lor \neg \left(t \leq 3.3 \cdot 10^{+81}\right):\\
\;\;\;\;\left(c \cdot t\right) \cdot j\\
\mathbf{else}:\\
\;\;\;\;\left(i \cdot b\right) \cdot a\\
\end{array}
\end{array}
if t < -1.4199999999999999e-105 or 3.3e81 < t Initial program 69.6%
Taylor expanded in t around inf
*-commutativeN/A
lower-*.f64N/A
associate-*r*N/A
mul-1-negN/A
lower-fma.f64N/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6460.8
Applied rewrites60.8%
Taylor expanded in x around 0
Applied rewrites37.1%
Applied rewrites40.2%
if -1.4199999999999999e-105 < t < 3.3e81Initial program 81.5%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6445.5
Applied rewrites45.5%
Applied rewrites45.6%
Taylor expanded in y around 0
Applied rewrites30.6%
Final simplification36.0%
(FPCore (x y z t a b c i j) :precision binary64 (* (* i b) a))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return (i * b) * a;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
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), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = (i * b) * a
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return (i * b) * a;
}
def code(x, y, z, t, a, b, c, i, j): return (i * b) * a
function code(x, y, z, t, a, b, c, i, j) return Float64(Float64(i * b) * a) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = (i * b) * a; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(i * b), $MachinePrecision] * a), $MachinePrecision]
\begin{array}{l}
\\
\left(i \cdot b\right) \cdot a
\end{array}
Initial program 74.8%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6435.5
Applied rewrites35.5%
Applied rewrites35.6%
Taylor expanded in y around 0
Applied rewrites22.3%
(FPCore (x y z t a b c i j) :precision binary64 (* (* a i) b))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return (a * i) * b;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
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), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
code = (a * i) * b
end function
public static double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
return (a * i) * b;
}
def code(x, y, z, t, a, b, c, i, j): return (a * i) * b
function code(x, y, z, t, a, b, c, i, j) return Float64(Float64(a * i) * b) end
function tmp = code(x, y, z, t, a, b, c, i, j) tmp = (a * i) * b; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := N[(N[(a * i), $MachinePrecision] * b), $MachinePrecision]
\begin{array}{l}
\\
\left(a \cdot i\right) \cdot b
\end{array}
Initial program 74.8%
Taylor expanded in i around inf
*-commutativeN/A
lower-*.f64N/A
fp-cancel-sub-sign-invN/A
metadata-evalN/A
*-lft-identityN/A
*-commutativeN/A
associate-*r*N/A
lower-fma.f64N/A
mul-1-negN/A
lower-neg.f64N/A
*-commutativeN/A
lower-*.f6435.5
Applied rewrites35.5%
Applied rewrites35.6%
Taylor expanded in y around 0
Applied rewrites22.3%
Applied rewrites19.9%
(FPCore (x y z t a b c i j)
:precision binary64
(let* ((t_1
(+
(- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a))))
(/
(* j (- (pow (* c t) 2.0) (pow (* i y) 2.0)))
(+ (* c t) (* i y)))))
(t_2
(-
(* x (- (* z y) (* a t)))
(- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j)))))
(if (< t -8.120978919195912e-33)
t_2
(if (< t -4.712553818218485e-169)
t_1
(if (< t -7.633533346031584e-308)
t_2
(if (< t 1.0535888557455487e-139) t_1 t_2))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (pow((c * t), 2.0) - pow((i * y), 2.0))) / ((c * t) + (i * y)));
double t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
double tmp;
if (t < -8.120978919195912e-33) {
tmp = t_2;
} else if (t < -4.712553818218485e-169) {
tmp = t_1;
} else if (t < -7.633533346031584e-308) {
tmp = t_2;
} else if (t < 1.0535888557455487e-139) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
real(8) function code(x, y, z, t, a, b, c, i, j)
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), intent (in) :: c
real(8), intent (in) :: i
real(8), intent (in) :: j
real(8) :: t_1
real(8) :: t_2
real(8) :: tmp
t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (((c * t) ** 2.0d0) - ((i * y) ** 2.0d0))) / ((c * t) + (i * y)))
t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j))
if (t < (-8.120978919195912d-33)) then
tmp = t_2
else if (t < (-4.712553818218485d-169)) then
tmp = t_1
else if (t < (-7.633533346031584d-308)) then
tmp = t_2
else if (t < 1.0535888557455487d-139) then
tmp = t_1
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 c, double i, double j) {
double t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (Math.pow((c * t), 2.0) - Math.pow((i * y), 2.0))) / ((c * t) + (i * y)));
double t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j));
double tmp;
if (t < -8.120978919195912e-33) {
tmp = t_2;
} else if (t < -4.712553818218485e-169) {
tmp = t_1;
} else if (t < -7.633533346031584e-308) {
tmp = t_2;
} else if (t < 1.0535888557455487e-139) {
tmp = t_1;
} else {
tmp = t_2;
}
return tmp;
}
def code(x, y, z, t, a, b, c, i, j): t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (math.pow((c * t), 2.0) - math.pow((i * y), 2.0))) / ((c * t) + (i * y))) t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j)) tmp = 0 if t < -8.120978919195912e-33: tmp = t_2 elif t < -4.712553818218485e-169: tmp = t_1 elif t < -7.633533346031584e-308: tmp = t_2 elif t < 1.0535888557455487e-139: tmp = t_1 else: tmp = t_2 return tmp
function code(x, y, z, t, a, b, c, i, j) t_1 = Float64(Float64(Float64(x * Float64(Float64(y * z) - Float64(t * a))) - Float64(b * Float64(Float64(c * z) - Float64(i * a)))) + Float64(Float64(j * Float64((Float64(c * t) ^ 2.0) - (Float64(i * y) ^ 2.0))) / Float64(Float64(c * t) + Float64(i * y)))) t_2 = Float64(Float64(x * Float64(Float64(z * y) - Float64(a * t))) - Float64(Float64(b * Float64(Float64(z * c) - Float64(a * i))) - Float64(Float64(Float64(c * t) - Float64(y * i)) * j))) tmp = 0.0 if (t < -8.120978919195912e-33) tmp = t_2; elseif (t < -4.712553818218485e-169) tmp = t_1; elseif (t < -7.633533346031584e-308) tmp = t_2; elseif (t < 1.0535888557455487e-139) tmp = t_1; else tmp = t_2; end return tmp end
function tmp_2 = code(x, y, z, t, a, b, c, i, j) t_1 = ((x * ((y * z) - (t * a))) - (b * ((c * z) - (i * a)))) + ((j * (((c * t) ^ 2.0) - ((i * y) ^ 2.0))) / ((c * t) + (i * y))); t_2 = (x * ((z * y) - (a * t))) - ((b * ((z * c) - (a * i))) - (((c * t) - (y * i)) * j)); tmp = 0.0; if (t < -8.120978919195912e-33) tmp = t_2; elseif (t < -4.712553818218485e-169) tmp = t_1; elseif (t < -7.633533346031584e-308) tmp = t_2; elseif (t < 1.0535888557455487e-139) tmp = t_1; else tmp = t_2; end tmp_2 = tmp; end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_] := Block[{t$95$1 = N[(N[(N[(x * N[(N[(y * z), $MachinePrecision] - N[(t * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(b * N[(N[(c * z), $MachinePrecision] - N[(i * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(j * N[(N[Power[N[(c * t), $MachinePrecision], 2.0], $MachinePrecision] - N[Power[N[(i * y), $MachinePrecision], 2.0], $MachinePrecision]), $MachinePrecision]), $MachinePrecision] / N[(N[(c * t), $MachinePrecision] + N[(i * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * N[(N[(z * y), $MachinePrecision] - N[(a * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(b * N[(N[(z * c), $MachinePrecision] - N[(a * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(c * t), $MachinePrecision] - N[(y * i), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[Less[t, -8.120978919195912e-33], t$95$2, If[Less[t, -4.712553818218485e-169], t$95$1, If[Less[t, -7.633533346031584e-308], t$95$2, If[Less[t, 1.0535888557455487e-139], t$95$1, t$95$2]]]]]]
\begin{array}{l}
\\
\begin{array}{l}
t_1 := \left(x \cdot \left(y \cdot z - t \cdot a\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + \frac{j \cdot \left({\left(c \cdot t\right)}^{2} - {\left(i \cdot y\right)}^{2}\right)}{c \cdot t + i \cdot y}\\
t_2 := x \cdot \left(z \cdot y - a \cdot t\right) - \left(b \cdot \left(z \cdot c - a \cdot i\right) - \left(c \cdot t - y \cdot i\right) \cdot j\right)\\
\mathbf{if}\;t < -8.120978919195912 \cdot 10^{-33}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t < -4.712553818218485 \cdot 10^{-169}:\\
\;\;\;\;t\_1\\
\mathbf{elif}\;t < -7.633533346031584 \cdot 10^{-308}:\\
\;\;\;\;t\_2\\
\mathbf{elif}\;t < 1.0535888557455487 \cdot 10^{-139}:\\
\;\;\;\;t\_1\\
\mathbf{else}:\\
\;\;\;\;t\_2\\
\end{array}
\end{array}
herbie shell --seed 2024337
(FPCore (x y z t a b c i j)
:name "Linear.Matrix:det33 from linear-1.19.1.3"
:precision binary64
:alt
(! :herbie-platform default (if (< t -1015122364899489/125000000000000000000000000000000000000000000000) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t -942510763643697/2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2) (pow (* i y) 2))) (+ (* c t) (* i y)))) (if (< t -238547917063487/3125000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))) (if (< t 10535888557455487/100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (/ (* j (- (pow (* c t) 2) (pow (* i y) 2))) (+ (* c t) (* i y)))) (- (* x (- (* z y) (* a t))) (- (* b (- (* z c) (* a i))) (* (- (* c t) (* y i)) j))))))))
(+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))