\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}\;x \le 1.69746320104394434 \cdot 10^{-74}:\\
\;\;\;\;\left(\left(\left(x \cdot y\right) \cdot z + \left(x \cdot t\right) \cdot \left(-a\right)\right) - \left(b \cdot \left(c \cdot z - i \cdot a\right) + b \cdot \mathsf{fma}\left(-a, i, a \cdot i\right)\right)\right) + j \cdot \left(c \cdot t - i \cdot y\right)\\
\mathbf{else}:\\
\;\;\;\;\left(\left(x \cdot \mathsf{fma}\left(y, z, -a \cdot t\right) + x \cdot \mathsf{fma}\left(-a, t, a \cdot t\right)\right) - b \cdot \left(c \cdot z - i \cdot a\right)\right) + j \cdot \left(c \cdot t - i \cdot y\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 ((x <= 1.6974632010439443e-74)) {
VAR = (((((x * y) * z) + ((x * t) * -a)) - ((b * ((c * z) - (i * a))) + (b * fma(-a, i, (a * i))))) + (j * ((c * t) - (i * y))));
} else {
VAR = ((((x * fma(y, z, -(a * t))) + (x * fma(-a, t, (a * t)))) - (b * ((c * z) - (i * a)))) + (j * ((c * t) - (i * y))));
}
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 x < 1.6974632010439443e-74Initial program 13.4
rmApplied sub-neg13.4
Applied distribute-lft-in13.4
rmApplied distribute-rgt-neg-in13.4
Applied associate-*r*12.7
rmApplied associate-*r*11.8
rmApplied prod-diff11.8
Applied distribute-lft-in11.8
Simplified11.8
if 1.6974632010439443e-74 < x Initial program 8.2
rmApplied prod-diff8.2
Applied distribute-lft-in8.2
Final simplification10.8
herbie shell --seed 2020078 +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)))))