\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)
\begin{array}{l}
\mathbf{if}\;a \le -6.57397152397334623 \cdot 10^{81} \lor \neg \left(a \le 3.24175772778120092 \cdot 10^{143}\right):\\
\;\;\;\;\mathsf{fma}\left(a, i \cdot b, -\mathsf{fma}\left(z, b \cdot c, a \cdot \left(x \cdot t\right)\right)\right)\\
\mathbf{else}:\\
\;\;\;\;\mathsf{fma}\left(c \cdot t - i \cdot y, j, \left(x \cdot \left(\sqrt[3]{y \cdot z - t \cdot a} \cdot \sqrt[3]{y \cdot z - t \cdot a}\right)\right) \cdot \sqrt[3]{y \cdot z - t \cdot a} - b \cdot \left(c \cdot z - i \cdot a\right)\right)\\
\end{array}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))));
}
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j) {
double VAR;
if (((a <= -6.573971523973346e+81) || !(a <= 3.241757727781201e+143))) {
VAR = fma(a, (i * b), -fma(z, (b * c), (a * (x * t))));
} else {
VAR = fma(((c * t) - (i * y)), j, (((x * (cbrt(((y * z) - (t * a))) * cbrt(((y * z) - (t * a))))) * cbrt(((y * z) - (t * a)))) - (b * ((c * z) - (i * a)))));
}
return VAR;
}



Bits error versus x



Bits error versus y



Bits error versus z



Bits error versus t



Bits error versus a



Bits error versus b



Bits error versus c



Bits error versus i



Bits error versus j
Results
if a < -6.573971523973346e+81 or 3.241757727781201e+143 < a Initial program 20.9
Simplified20.9
Taylor expanded around inf 22.2
Simplified22.2
if -6.573971523973346e+81 < a < 3.241757727781201e+143Initial program 9.6
Simplified9.6
rmApplied add-cube-cbrt9.9
Applied associate-*r*9.9
Final simplification12.6
herbie shell --seed 2020100 +o rules:numerics
(FPCore (x y z t a b c i j)
:name "Linear.Matrix:det33 from linear-1.19.1.3"
:precision binary64
(+ (- (* x (- (* y z) (* t a))) (* b (- (* c z) (* i a)))) (* j (- (* c t) (* i y)))))