Linear.Matrix:det44 from linear-1.19.1.3

Percentage Accurate: 30.0% → 42.9%
Time: 28.5s
Alternatives: 39
Speedup: 4.2×

Specification

?
\[\begin{array}{l} \\ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (+
  (-
   (+
    (+
     (-
      (* (- (* x y) (* z t)) (- (* a b) (* c i)))
      (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
     (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
    (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
   (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
  (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
module fmin_fmax_functions
    implicit none
    private
    public fmax
    public fmin

    interface fmax
        module procedure fmax88
        module procedure fmax44
        module procedure fmax84
        module procedure fmax48
    end interface
    interface fmin
        module procedure fmin88
        module procedure fmin44
        module procedure fmin84
        module procedure fmin48
    end interface
contains
    real(8) function fmax88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(4) function fmax44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(8) function fmax84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmax48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
    end function
    real(8) function fmin88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(4) function fmin44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(8) function fmin84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmin48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
    end function
end module

real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
use fmin_fmax_functions
    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), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0))))
end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}

Sampling outcomes in binary64 precision:

Local Percentage Accuracy vs ?

The average percentage accuracy by input value. Horizontal axis shows value of an input variable; the variable is choosen in the title. Vertical axis is accuracy; higher is better. Red represent the original program, while blue represents Herbie's suggestion. These can be toggled with buttons below the plot. The line is an average while dots represent individual samples.

Accuracy vs Speed?

Herbie found 39 alternatives:

AlternativeAccuracySpeedup
The accuracy (vertical axis) and speed (horizontal axis) of each alternatives. Up and to the right is better. The red square shows the initial program, and each blue circle shows an alternative.The line shows the best available speed-accuracy tradeoffs.

Initial Program: 30.0% accurate, 1.0× speedup?

\[\begin{array}{l} \\ \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (+
  (-
   (+
    (+
     (-
      (* (- (* x y) (* z t)) (- (* a b) (* c i)))
      (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
     (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
    (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
   (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
  (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
module fmin_fmax_functions
    implicit none
    private
    public fmax
    public fmin

    interface fmax
        module procedure fmax88
        module procedure fmax44
        module procedure fmax84
        module procedure fmax48
    end interface
    interface fmin
        module procedure fmin88
        module procedure fmin44
        module procedure fmin84
        module procedure fmin48
    end interface
contains
    real(8) function fmax88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(4) function fmax44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
    end function
    real(8) function fmax84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmax48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
    end function
    real(8) function fmin88(x, y) result (res)
        real(8), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(4) function fmin44(x, y) result (res)
        real(4), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
    end function
    real(8) function fmin84(x, y) result(res)
        real(8), intent (in) :: x
        real(4), intent (in) :: y
        res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
    end function
    real(8) function fmin48(x, y) result(res)
        real(4), intent (in) :: x
        real(8), intent (in) :: y
        res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
    end function
end module

real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
use fmin_fmax_functions
    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), intent (in) :: k
    real(8), intent (in) :: y0
    real(8), intent (in) :: y1
    real(8), intent (in) :: y2
    real(8), intent (in) :: y3
    real(8), intent (in) :: y4
    real(8), intent (in) :: y5
    code = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
}
def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
	return (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	return Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0))))
end
function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
\begin{array}{l}

\\
\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)
\end{array}

Alternative 1: 42.9% accurate, 2.0× speedup?

\[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right)\\ t_2 := \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\\ t_3 := \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right)\\ t_4 := \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\\ t_5 := \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right)\\ t_6 := \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right)\\ \mathbf{if}\;y5 \leq -1.02 \cdot 10^{+52}:\\ \;\;\;\;\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, t\_2 \cdot i\right) - t\_4\right)\\ \mathbf{elif}\;y5 \leq -5.9 \cdot 10^{-210}:\\ \;\;\;\;\left(\mathsf{fma}\left(t\_3, y2, t\_5 \cdot y\right) - t\_6 \cdot j\right) \cdot x\\ \mathbf{elif}\;y5 \leq 1.12 \cdot 10^{-233}:\\ \;\;\;\;\left(-z\right) \cdot \left(\mathsf{fma}\left(t\_3, y3, t\_5 \cdot t\right) - t\_6 \cdot k\right)\\ \mathbf{elif}\;y5 \leq 7.6 \cdot 10^{-92}:\\ \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, t\_2 \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b\\ \mathbf{elif}\;y5 \leq 490000:\\ \;\;\;\;\left(\mathsf{fma}\left(-y3, t\_1, \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot t\right) - t\_6 \cdot x\right) \cdot j\\ \mathbf{elif}\;y5 \leq 8.2 \cdot 10^{+141}:\\ \;\;\;\;\left(\mathsf{fma}\left(t\_1, k, t\_3 \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2\\ \mathbf{elif}\;y5 \leq 2.1 \cdot 10^{+202}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - t\_4\right)\\ \end{array} \end{array} \]
(FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
 :precision binary64
 (let* ((t_1 (fma y4 y1 (* (- y0) y5)))
        (t_2 (fma j t (* (- k) y)))
        (t_3 (fma y0 c (* (- a) y1)))
        (t_4 (* (fma y2 t (* (- y) y3)) a))
        (t_5 (fma b a (* (- c) i)))
        (t_6 (fma y0 b (* (- i) y1))))
   (if (<= y5 -1.02e+52)
     (* (- y5) (- (fma (fma y2 k (* (- j) y3)) y0 (* t_2 i)) t_4))
     (if (<= y5 -5.9e-210)
       (* (- (fma t_3 y2 (* t_5 y)) (* t_6 j)) x)
       (if (<= y5 1.12e-233)
         (* (- z) (- (fma t_3 y3 (* t_5 t)) (* t_6 k)))
         (if (<= y5 7.6e-92)
           (*
            (-
             (fma (fma y x (* (- t) z)) a (* t_2 y4))
             (* (fma j x (* (- k) z)) y0))
            b)
           (if (<= y5 490000.0)
             (* (- (fma (- y3) t_1 (* (fma y4 b (* (- i) y5)) t)) (* t_6 x)) j)
             (if (<= y5 8.2e+141)
               (* (- (fma t_1 k (* t_3 x)) (* (fma y4 c (* (- a) y5)) t)) y2)
               (if (<= y5 2.1e+202)
                 (* (* a y) (fma b x (* (- y3) y5)))
                 (*
                  (- y5)
                  (- (* y0 (fma -1.0 (* j y3) (* k y2))) t_4)))))))))))
double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
	double t_1 = fma(y4, y1, (-y0 * y5));
	double t_2 = fma(j, t, (-k * y));
	double t_3 = fma(y0, c, (-a * y1));
	double t_4 = fma(y2, t, (-y * y3)) * a;
	double t_5 = fma(b, a, (-c * i));
	double t_6 = fma(y0, b, (-i * y1));
	double tmp;
	if (y5 <= -1.02e+52) {
		tmp = -y5 * (fma(fma(y2, k, (-j * y3)), y0, (t_2 * i)) - t_4);
	} else if (y5 <= -5.9e-210) {
		tmp = (fma(t_3, y2, (t_5 * y)) - (t_6 * j)) * x;
	} else if (y5 <= 1.12e-233) {
		tmp = -z * (fma(t_3, y3, (t_5 * t)) - (t_6 * k));
	} else if (y5 <= 7.6e-92) {
		tmp = (fma(fma(y, x, (-t * z)), a, (t_2 * y4)) - (fma(j, x, (-k * z)) * y0)) * b;
	} else if (y5 <= 490000.0) {
		tmp = (fma(-y3, t_1, (fma(y4, b, (-i * y5)) * t)) - (t_6 * x)) * j;
	} else if (y5 <= 8.2e+141) {
		tmp = (fma(t_1, k, (t_3 * x)) - (fma(y4, c, (-a * y5)) * t)) * y2;
	} else if (y5 <= 2.1e+202) {
		tmp = (a * y) * fma(b, x, (-y3 * y5));
	} else {
		tmp = -y5 * ((y0 * fma(-1.0, (j * y3), (k * y2))) - t_4);
	}
	return tmp;
}
function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
	t_1 = fma(y4, y1, Float64(Float64(-y0) * y5))
	t_2 = fma(j, t, Float64(Float64(-k) * y))
	t_3 = fma(y0, c, Float64(Float64(-a) * y1))
	t_4 = Float64(fma(y2, t, Float64(Float64(-y) * y3)) * a)
	t_5 = fma(b, a, Float64(Float64(-c) * i))
	t_6 = fma(y0, b, Float64(Float64(-i) * y1))
	tmp = 0.0
	if (y5 <= -1.02e+52)
		tmp = Float64(Float64(-y5) * Float64(fma(fma(y2, k, Float64(Float64(-j) * y3)), y0, Float64(t_2 * i)) - t_4));
	elseif (y5 <= -5.9e-210)
		tmp = Float64(Float64(fma(t_3, y2, Float64(t_5 * y)) - Float64(t_6 * j)) * x);
	elseif (y5 <= 1.12e-233)
		tmp = Float64(Float64(-z) * Float64(fma(t_3, y3, Float64(t_5 * t)) - Float64(t_6 * k)));
	elseif (y5 <= 7.6e-92)
		tmp = Float64(Float64(fma(fma(y, x, Float64(Float64(-t) * z)), a, Float64(t_2 * y4)) - Float64(fma(j, x, Float64(Float64(-k) * z)) * y0)) * b);
	elseif (y5 <= 490000.0)
		tmp = Float64(Float64(fma(Float64(-y3), t_1, Float64(fma(y4, b, Float64(Float64(-i) * y5)) * t)) - Float64(t_6 * x)) * j);
	elseif (y5 <= 8.2e+141)
		tmp = Float64(Float64(fma(t_1, k, Float64(t_3 * x)) - Float64(fma(y4, c, Float64(Float64(-a) * y5)) * t)) * y2);
	elseif (y5 <= 2.1e+202)
		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
	else
		tmp = Float64(Float64(-y5) * Float64(Float64(y0 * fma(-1.0, Float64(j * y3), Float64(k * y2))) - t_4));
	end
	return tmp
end
code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y4 * y1 + N[((-y0) * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(y0 * c + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]}, Block[{t$95$5 = N[(b * a + N[((-c) * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y0 * b + N[((-i) * y1), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.02e+52], N[((-y5) * N[(N[(N[(y2 * k + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] * y0 + N[(t$95$2 * i), $MachinePrecision]), $MachinePrecision] - t$95$4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -5.9e-210], N[(N[(N[(t$95$3 * y2 + N[(t$95$5 * y), $MachinePrecision]), $MachinePrecision] - N[(t$95$6 * j), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y5, 1.12e-233], N[((-z) * N[(N[(t$95$3 * y3 + N[(t$95$5 * t), $MachinePrecision]), $MachinePrecision] - N[(t$95$6 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 7.6e-92], N[(N[(N[(N[(y * x + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a + N[(t$95$2 * y4), $MachinePrecision]), $MachinePrecision] - N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y5, 490000.0], N[(N[(N[((-y3) * t$95$1 + N[(N[(y4 * b + N[((-i) * y5), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision] - N[(t$95$6 * x), $MachinePrecision]), $MachinePrecision] * j), $MachinePrecision], If[LessEqual[y5, 8.2e+141], N[(N[(N[(t$95$1 * k + N[(t$95$3 * x), $MachinePrecision]), $MachinePrecision] - N[(N[(y4 * c + N[((-a) * y5), $MachinePrecision]), $MachinePrecision] * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y5, 2.1e+202], N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[((-y5) * N[(N[(y0 * N[(-1.0 * N[(j * y3), $MachinePrecision] + N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$4), $MachinePrecision]), $MachinePrecision]]]]]]]]]]]]]]
\begin{array}{l}

\\
\begin{array}{l}
t_1 := \mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right)\\
t_2 := \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\\
t_3 := \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right)\\
t_4 := \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\\
t_5 := \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right)\\
t_6 := \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right)\\
\mathbf{if}\;y5 \leq -1.02 \cdot 10^{+52}:\\
\;\;\;\;\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, t\_2 \cdot i\right) - t\_4\right)\\

\mathbf{elif}\;y5 \leq -5.9 \cdot 10^{-210}:\\
\;\;\;\;\left(\mathsf{fma}\left(t\_3, y2, t\_5 \cdot y\right) - t\_6 \cdot j\right) \cdot x\\

\mathbf{elif}\;y5 \leq 1.12 \cdot 10^{-233}:\\
\;\;\;\;\left(-z\right) \cdot \left(\mathsf{fma}\left(t\_3, y3, t\_5 \cdot t\right) - t\_6 \cdot k\right)\\

\mathbf{elif}\;y5 \leq 7.6 \cdot 10^{-92}:\\
\;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, t\_2 \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b\\

\mathbf{elif}\;y5 \leq 490000:\\
\;\;\;\;\left(\mathsf{fma}\left(-y3, t\_1, \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot t\right) - t\_6 \cdot x\right) \cdot j\\

\mathbf{elif}\;y5 \leq 8.2 \cdot 10^{+141}:\\
\;\;\;\;\left(\mathsf{fma}\left(t\_1, k, t\_3 \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2\\

\mathbf{elif}\;y5 \leq 2.1 \cdot 10^{+202}:\\
\;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\

\mathbf{else}:\\
\;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - t\_4\right)\\


\end{array}
\end{array}
Derivation
  1. Split input into 8 regimes
  2. if y5 < -1.02000000000000002e52

    1. Initial program 32.8%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y5 around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
    4. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      2. distribute-lft-neg-inN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
    5. Applied rewrites70.5%

      \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]

    if -1.02000000000000002e52 < y5 < -5.8999999999999999e-210

    1. Initial program 39.1%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in x around inf

      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
    5. Applied rewrites46.5%

      \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y2, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot y\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot j\right) \cdot x} \]

    if -5.8999999999999999e-210 < y5 < 1.12e-233

    1. Initial program 38.6%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in z around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
    4. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
      2. distribute-lft-neg-inN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(-z\right)} \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(-z\right) \cdot \color{blue}{\left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    5. Applied rewrites57.6%

      \[\leadsto \color{blue}{\left(-z\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y3, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot t\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot k\right)} \]

    if 1.12e-233 < y5 < 7.6000000000000001e-92

    1. Initial program 38.3%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in b around inf

      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
    5. Applied rewrites62.7%

      \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b} \]

    if 7.6000000000000001e-92 < y5 < 4.9e5

    1. Initial program 43.4%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in j around inf

      \[\leadsto \color{blue}{j \cdot \left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(-1 \cdot \left(y3 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + t \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - x \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot j} \]
    5. Applied rewrites81.8%

      \[\leadsto \color{blue}{\left(\mathsf{fma}\left(-y3, \mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot t\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot x\right) \cdot j} \]

    if 4.9e5 < y5 < 8.20000000000000044e141

    1. Initial program 42.8%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y2 around inf

      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    4. Step-by-step derivation
      1. *-commutativeN/A

        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
      2. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
    5. Applied rewrites64.7%

      \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]

    if 8.20000000000000044e141 < y5 < 2.1e202

    1. Initial program 6.7%

      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
    2. Add Preprocessing
    3. Taylor expanded in y around -inf

      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
    4. Step-by-step derivation
      1. mul-1-negN/A

        \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
      2. distribute-lft-neg-inN/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      3. lower-*.f64N/A

        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
      4. lower-neg.f64N/A

        \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
      5. lower--.f64N/A

        \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
    5. Applied rewrites60.2%

      \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
    6. Taylor expanded in a around -inf

      \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
    7. Step-by-step derivation
      1. Applied rewrites67.5%

        \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]

      if 2.1e202 < y5

      1. Initial program 26.9%

        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
      2. Add Preprocessing
      3. Taylor expanded in y5 around -inf

        \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
      4. Step-by-step derivation
        1. mul-1-negN/A

          \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
        2. distribute-lft-neg-inN/A

          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
        3. lower-*.f64N/A

          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
        4. lower-neg.f64N/A

          \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
        5. lower--.f64N/A

          \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
      5. Applied rewrites65.6%

        \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
      6. Taylor expanded in i around 0

        \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
      7. Step-by-step derivation
        1. Applied rewrites73.5%

          \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
      8. Recombined 8 regimes into one program.
      9. Add Preprocessing

      Alternative 2: 55.0% accurate, 0.5× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\ \mathbf{if}\;t\_1 \leq \infty:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y1, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot c\right) \cdot y4\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
       :precision binary64
       (let* ((t_1
               (+
                (-
                 (+
                  (+
                   (-
                    (* (- (* x y) (* z t)) (- (* a b) (* c i)))
                    (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
                   (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
                  (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
                 (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
                (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))))
         (if (<= t_1 INFINITY)
           t_1
           (*
            (-
             (fma (fma y2 k (* (- j) y3)) y1 (* (fma j t (* (- k) y)) b))
             (* (fma y2 t (* (- y) y3)) c))
            y4))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
      	double t_1 = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)));
      	double tmp;
      	if (t_1 <= ((double) INFINITY)) {
      		tmp = t_1;
      	} else {
      		tmp = (fma(fma(y2, k, (-j * y3)), y1, (fma(j, t, (-k * y)) * b)) - (fma(y2, t, (-y * y3)) * c)) * y4;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
      	t_1 = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0))))
      	tmp = 0.0
      	if (t_1 <= Inf)
      		tmp = t_1;
      	else
      		tmp = Float64(Float64(fma(fma(y2, k, Float64(Float64(-j) * y3)), y1, Float64(fma(j, t, Float64(Float64(-k) * y)) * b)) - Float64(fma(y2, t, Float64(Float64(-y) * y3)) * c)) * y4);
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[t$95$1, Infinity], t$95$1, N[(N[(N[(N[(y2 * k + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] * y1 + N[(N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right)\\
      \mathbf{if}\;t\_1 \leq \infty:\\
      \;\;\;\;t\_1\\
      
      \mathbf{else}:\\
      \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y1, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot c\right) \cdot y4\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0

        1. Initial program 94.1%

          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Add Preprocessing

        if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0))))

        1. Initial program 0.0%

          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Add Preprocessing
        3. Taylor expanded in y4 around inf

          \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
        5. Applied rewrites42.5%

          \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y1, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot c\right) \cdot y4} \]
      3. Recombined 2 regimes into one program.
      4. Add Preprocessing

      Alternative 3: 48.9% accurate, 0.5× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\\ \mathbf{if}\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \leq \infty:\\ \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right) \cdot y2, k, \mathsf{fma}\left(y2 \cdot x, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), \mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), t\_1 \cdot \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right)\right)\right)\right) - \mathsf{fma}\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right), \left(y2 \cdot t\right) \cdot \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y1, t\_1 \cdot b\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot c\right) \cdot y4\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
       :precision binary64
       (let* ((t_1 (fma j t (* (- k) y))))
         (if (<=
              (+
               (-
                (+
                 (+
                  (-
                   (* (- (* x y) (* z t)) (- (* a b) (* c i)))
                   (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i))))
                  (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a))))
                 (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i))))
                (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a))))
               (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))
              INFINITY)
           (-
            (fma
             (* (fma y4 y1 (* (- y0) y5)) y2)
             k
             (fma
              (* y2 x)
              (fma y0 c (* (- a) y1))
              (fma
               (fma y x (* (- t) z))
               (fma b a (* (- c) i))
               (* t_1 (fma y4 b (* (- i) y5))))))
            (fma
             (fma j x (* (- k) z))
             (fma y0 b (* (- i) y1))
             (* (* y2 t) (fma y4 c (* (- a) y5)))))
           (*
            (-
             (fma (fma y2 k (* (- j) y3)) y1 (* t_1 b))
             (* (fma y2 t (* (- y) y3)) c))
            y4))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
      	double t_1 = fma(j, t, (-k * y));
      	double tmp;
      	if (((((((((x * y) - (z * t)) * ((a * b) - (c * i))) - (((x * j) - (z * k)) * ((y0 * b) - (y1 * i)))) + (((x * y2) - (z * y3)) * ((y0 * c) - (y1 * a)))) + (((t * j) - (y * k)) * ((y4 * b) - (y5 * i)))) - (((t * y2) - (y * y3)) * ((y4 * c) - (y5 * a)))) + (((k * y2) - (j * y3)) * ((y4 * y1) - (y5 * y0)))) <= ((double) INFINITY)) {
      		tmp = fma((fma(y4, y1, (-y0 * y5)) * y2), k, fma((y2 * x), fma(y0, c, (-a * y1)), fma(fma(y, x, (-t * z)), fma(b, a, (-c * i)), (t_1 * fma(y4, b, (-i * y5)))))) - fma(fma(j, x, (-k * z)), fma(y0, b, (-i * y1)), ((y2 * t) * fma(y4, c, (-a * y5))));
      	} else {
      		tmp = (fma(fma(y2, k, (-j * y3)), y1, (t_1 * b)) - (fma(y2, t, (-y * y3)) * c)) * y4;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
      	t_1 = fma(j, t, Float64(Float64(-k) * y))
      	tmp = 0.0
      	if (Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(Float64(x * j) - Float64(z * k)) * Float64(Float64(y0 * b) - Float64(y1 * i)))) + Float64(Float64(Float64(x * y2) - Float64(z * y3)) * Float64(Float64(y0 * c) - Float64(y1 * a)))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * Float64(Float64(y4 * b) - Float64(y5 * i)))) - Float64(Float64(Float64(t * y2) - Float64(y * y3)) * Float64(Float64(y4 * c) - Float64(y5 * a)))) + Float64(Float64(Float64(k * y2) - Float64(j * y3)) * Float64(Float64(y4 * y1) - Float64(y5 * y0)))) <= Inf)
      		tmp = Float64(fma(Float64(fma(y4, y1, Float64(Float64(-y0) * y5)) * y2), k, fma(Float64(y2 * x), fma(y0, c, Float64(Float64(-a) * y1)), fma(fma(y, x, Float64(Float64(-t) * z)), fma(b, a, Float64(Float64(-c) * i)), Float64(t_1 * fma(y4, b, Float64(Float64(-i) * y5)))))) - fma(fma(j, x, Float64(Float64(-k) * z)), fma(y0, b, Float64(Float64(-i) * y1)), Float64(Float64(y2 * t) * fma(y4, c, Float64(Float64(-a) * y5)))));
      	else
      		tmp = Float64(Float64(fma(fma(y2, k, Float64(Float64(-j) * y3)), y1, Float64(t_1 * b)) - Float64(fma(y2, t, Float64(Float64(-y) * y3)) * c)) * y4);
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(x * j), $MachinePrecision] - N[(z * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * b), $MachinePrecision] - N[(y1 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y0 * c), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision] * N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], Infinity], N[(N[(N[(N[(y4 * y1 + N[((-y0) * y5), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision] * k + N[(N[(y2 * x), $MachinePrecision] * N[(y0 * c + N[((-a) * y1), $MachinePrecision]), $MachinePrecision] + N[(N[(y * x + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * N[(b * a + N[((-c) * i), $MachinePrecision]), $MachinePrecision] + N[(t$95$1 * N[(y4 * b + N[((-i) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * N[(y0 * b + N[((-i) * y1), $MachinePrecision]), $MachinePrecision] + N[(N[(y2 * t), $MachinePrecision] * N[(y4 * c + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(N[(y2 * k + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] * y1 + N[(t$95$1 * b), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\\
      \mathbf{if}\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \leq \infty:\\
      \;\;\;\;\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right) \cdot y2, k, \mathsf{fma}\left(y2 \cdot x, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), \mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), t\_1 \cdot \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right)\right)\right)\right) - \mathsf{fma}\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right), \left(y2 \cdot t\right) \cdot \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right)\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y1, t\_1 \cdot b\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot c\right) \cdot y4\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 2 regimes
      2. if (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0)))) < +inf.0

        1. Initial program 94.1%

          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Add Preprocessing
        3. Taylor expanded in y3 around 0

          \[\leadsto \color{blue}{\left(k \cdot \left(y2 \cdot \left(y1 \cdot y4 - y0 \cdot y5\right)\right) + \left(x \cdot \left(y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) + \left(\left(a \cdot b - c \cdot i\right) \cdot \left(x \cdot y - t \cdot z\right) + \left(b \cdot y4 - i \cdot y5\right) \cdot \left(j \cdot t - k \cdot y\right)\right)\right)\right) - \left(t \cdot \left(y2 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) + \left(b \cdot y0 - i \cdot y1\right) \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
        4. Applied rewrites77.1%

          \[\leadsto \color{blue}{\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right) \cdot y2, k, \mathsf{fma}\left(y2 \cdot x, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), \mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right)\right)\right)\right) - \mathsf{fma}\left(\mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right), \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right), \left(y2 \cdot t\right) \cdot \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right)\right)} \]

        if +inf.0 < (+.f64 (-.f64 (+.f64 (+.f64 (-.f64 (*.f64 (-.f64 (*.f64 x y) (*.f64 z t)) (-.f64 (*.f64 a b) (*.f64 c i))) (*.f64 (-.f64 (*.f64 x j) (*.f64 z k)) (-.f64 (*.f64 y0 b) (*.f64 y1 i)))) (*.f64 (-.f64 (*.f64 x y2) (*.f64 z y3)) (-.f64 (*.f64 y0 c) (*.f64 y1 a)))) (*.f64 (-.f64 (*.f64 t j) (*.f64 y k)) (-.f64 (*.f64 y4 b) (*.f64 y5 i)))) (*.f64 (-.f64 (*.f64 t y2) (*.f64 y y3)) (-.f64 (*.f64 y4 c) (*.f64 y5 a)))) (*.f64 (-.f64 (*.f64 k y2) (*.f64 j y3)) (-.f64 (*.f64 y4 y1) (*.f64 y5 y0))))

        1. Initial program 0.0%

          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Add Preprocessing
        3. Taylor expanded in y4 around inf

          \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
        5. Applied rewrites42.5%

          \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y1, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot c\right) \cdot y4} \]
      3. Recombined 2 regimes into one program.
      4. Add Preprocessing

      Alternative 4: 42.2% accurate, 2.1× speedup?

      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\\ t_2 := \left(-a\right) \cdot y1\\ t_3 := \mathsf{fma}\left(y0, c, t\_2\right)\\ t_4 := \left(-c\right) \cdot i\\ t_5 := \mathsf{fma}\left(b, a, t\_4\right)\\ t_6 := \left(-i\right) \cdot y1\\ t_7 := \mathsf{fma}\left(y0, b, t\_6\right)\\ \mathbf{if}\;y5 \leq -1.02 \cdot 10^{+52}:\\ \;\;\;\;\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, t\_1 \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\ \mathbf{elif}\;y5 \leq -5.9 \cdot 10^{-210}:\\ \;\;\;\;\left(\mathsf{fma}\left(t\_3, y2, t\_5 \cdot y\right) - t\_7 \cdot j\right) \cdot x\\ \mathbf{elif}\;y5 \leq 1.12 \cdot 10^{-233}:\\ \;\;\;\;\left(-z\right) \cdot \left(\mathsf{fma}\left(t\_3, y3, t\_5 \cdot t\right) - t\_7 \cdot k\right)\\ \mathbf{elif}\;y5 \leq 7.6 \cdot 10^{-92}:\\ \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, t\_1 \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b\\ \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{+209}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, t\_4\right), y2 \cdot \mathsf{fma}\left(c, y0, t\_2\right)\right) - j \cdot \mathsf{fma}\left(b, y0, t\_6\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\ \end{array} \end{array} \]
      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
       :precision binary64
       (let* ((t_1 (fma j t (* (- k) y)))
              (t_2 (* (- a) y1))
              (t_3 (fma y0 c t_2))
              (t_4 (* (- c) i))
              (t_5 (fma b a t_4))
              (t_6 (* (- i) y1))
              (t_7 (fma y0 b t_6)))
         (if (<= y5 -1.02e+52)
           (*
            (- y5)
            (-
             (fma (fma y2 k (* (- j) y3)) y0 (* t_1 i))
             (* (fma y2 t (* (- y) y3)) a)))
           (if (<= y5 -5.9e-210)
             (* (- (fma t_3 y2 (* t_5 y)) (* t_7 j)) x)
             (if (<= y5 1.12e-233)
               (* (- z) (- (fma t_3 y3 (* t_5 t)) (* t_7 k)))
               (if (<= y5 7.6e-92)
                 (*
                  (-
                   (fma (fma y x (* (- t) z)) a (* t_1 y4))
                   (* (fma j x (* (- k) z)) y0))
                  b)
                 (if (<= y5 7.8e+209)
                   (*
                    x
                    (-
                     (fma y (fma a b t_4) (* y2 (fma c y0 t_2)))
                     (* j (fma b y0 t_6))))
                   (* (* (- y5) (fma k y0 (* (- a) t))) y2))))))))
      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
      	double t_1 = fma(j, t, (-k * y));
      	double t_2 = -a * y1;
      	double t_3 = fma(y0, c, t_2);
      	double t_4 = -c * i;
      	double t_5 = fma(b, a, t_4);
      	double t_6 = -i * y1;
      	double t_7 = fma(y0, b, t_6);
      	double tmp;
      	if (y5 <= -1.02e+52) {
      		tmp = -y5 * (fma(fma(y2, k, (-j * y3)), y0, (t_1 * i)) - (fma(y2, t, (-y * y3)) * a));
      	} else if (y5 <= -5.9e-210) {
      		tmp = (fma(t_3, y2, (t_5 * y)) - (t_7 * j)) * x;
      	} else if (y5 <= 1.12e-233) {
      		tmp = -z * (fma(t_3, y3, (t_5 * t)) - (t_7 * k));
      	} else if (y5 <= 7.6e-92) {
      		tmp = (fma(fma(y, x, (-t * z)), a, (t_1 * y4)) - (fma(j, x, (-k * z)) * y0)) * b;
      	} else if (y5 <= 7.8e+209) {
      		tmp = x * (fma(y, fma(a, b, t_4), (y2 * fma(c, y0, t_2))) - (j * fma(b, y0, t_6)));
      	} else {
      		tmp = (-y5 * fma(k, y0, (-a * t))) * y2;
      	}
      	return tmp;
      }
      
      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
      	t_1 = fma(j, t, Float64(Float64(-k) * y))
      	t_2 = Float64(Float64(-a) * y1)
      	t_3 = fma(y0, c, t_2)
      	t_4 = Float64(Float64(-c) * i)
      	t_5 = fma(b, a, t_4)
      	t_6 = Float64(Float64(-i) * y1)
      	t_7 = fma(y0, b, t_6)
      	tmp = 0.0
      	if (y5 <= -1.02e+52)
      		tmp = Float64(Float64(-y5) * Float64(fma(fma(y2, k, Float64(Float64(-j) * y3)), y0, Float64(t_1 * i)) - Float64(fma(y2, t, Float64(Float64(-y) * y3)) * a)));
      	elseif (y5 <= -5.9e-210)
      		tmp = Float64(Float64(fma(t_3, y2, Float64(t_5 * y)) - Float64(t_7 * j)) * x);
      	elseif (y5 <= 1.12e-233)
      		tmp = Float64(Float64(-z) * Float64(fma(t_3, y3, Float64(t_5 * t)) - Float64(t_7 * k)));
      	elseif (y5 <= 7.6e-92)
      		tmp = Float64(Float64(fma(fma(y, x, Float64(Float64(-t) * z)), a, Float64(t_1 * y4)) - Float64(fma(j, x, Float64(Float64(-k) * z)) * y0)) * b);
      	elseif (y5 <= 7.8e+209)
      		tmp = Float64(x * Float64(fma(y, fma(a, b, t_4), Float64(y2 * fma(c, y0, t_2))) - Float64(j * fma(b, y0, t_6))));
      	else
      		tmp = Float64(Float64(Float64(-y5) * fma(k, y0, Float64(Float64(-a) * t))) * y2);
      	end
      	return tmp
      end
      
      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[((-a) * y1), $MachinePrecision]}, Block[{t$95$3 = N[(y0 * c + t$95$2), $MachinePrecision]}, Block[{t$95$4 = N[((-c) * i), $MachinePrecision]}, Block[{t$95$5 = N[(b * a + t$95$4), $MachinePrecision]}, Block[{t$95$6 = N[((-i) * y1), $MachinePrecision]}, Block[{t$95$7 = N[(y0 * b + t$95$6), $MachinePrecision]}, If[LessEqual[y5, -1.02e+52], N[((-y5) * N[(N[(N[(y2 * k + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] * y0 + N[(t$95$1 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -5.9e-210], N[(N[(N[(t$95$3 * y2 + N[(t$95$5 * y), $MachinePrecision]), $MachinePrecision] - N[(t$95$7 * j), $MachinePrecision]), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y5, 1.12e-233], N[((-z) * N[(N[(t$95$3 * y3 + N[(t$95$5 * t), $MachinePrecision]), $MachinePrecision] - N[(t$95$7 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, 7.6e-92], N[(N[(N[(N[(y * x + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a + N[(t$95$1 * y4), $MachinePrecision]), $MachinePrecision] - N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y5, 7.8e+209], N[(x * N[(N[(y * N[(a * b + t$95$4), $MachinePrecision] + N[(y2 * N[(c * y0 + t$95$2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(b * y0 + t$95$6), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[((-y5) * N[(k * y0 + N[((-a) * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]]]]]]]]]]]]]
      
      \begin{array}{l}
      
      \\
      \begin{array}{l}
      t_1 := \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\\
      t_2 := \left(-a\right) \cdot y1\\
      t_3 := \mathsf{fma}\left(y0, c, t\_2\right)\\
      t_4 := \left(-c\right) \cdot i\\
      t_5 := \mathsf{fma}\left(b, a, t\_4\right)\\
      t_6 := \left(-i\right) \cdot y1\\
      t_7 := \mathsf{fma}\left(y0, b, t\_6\right)\\
      \mathbf{if}\;y5 \leq -1.02 \cdot 10^{+52}:\\
      \;\;\;\;\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, t\_1 \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\
      
      \mathbf{elif}\;y5 \leq -5.9 \cdot 10^{-210}:\\
      \;\;\;\;\left(\mathsf{fma}\left(t\_3, y2, t\_5 \cdot y\right) - t\_7 \cdot j\right) \cdot x\\
      
      \mathbf{elif}\;y5 \leq 1.12 \cdot 10^{-233}:\\
      \;\;\;\;\left(-z\right) \cdot \left(\mathsf{fma}\left(t\_3, y3, t\_5 \cdot t\right) - t\_7 \cdot k\right)\\
      
      \mathbf{elif}\;y5 \leq 7.6 \cdot 10^{-92}:\\
      \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, t\_1 \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b\\
      
      \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{+209}:\\
      \;\;\;\;x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, t\_4\right), y2 \cdot \mathsf{fma}\left(c, y0, t\_2\right)\right) - j \cdot \mathsf{fma}\left(b, y0, t\_6\right)\right)\\
      
      \mathbf{else}:\\
      \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\
      
      
      \end{array}
      \end{array}
      
      Derivation
      1. Split input into 6 regimes
      2. if y5 < -1.02000000000000002e52

        1. Initial program 32.8%

          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Add Preprocessing
        3. Taylor expanded in y5 around -inf

          \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
        4. Step-by-step derivation
          1. mul-1-negN/A

            \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
          2. distribute-lft-neg-inN/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
          3. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
          4. lower-neg.f64N/A

            \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
          5. lower--.f64N/A

            \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
        5. Applied rewrites70.5%

          \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]

        if -1.02000000000000002e52 < y5 < -5.8999999999999999e-210

        1. Initial program 39.1%

          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Add Preprocessing
        3. Taylor expanded in x around inf

          \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \cdot x} \]
        5. Applied rewrites46.5%

          \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y2, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot y\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot j\right) \cdot x} \]

        if -5.8999999999999999e-210 < y5 < 1.12e-233

        1. Initial program 38.6%

          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Add Preprocessing
        3. Taylor expanded in z around -inf

          \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
        4. Step-by-step derivation
          1. mul-1-negN/A

            \[\leadsto \color{blue}{\mathsf{neg}\left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
          2. distribute-lft-neg-inN/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
          3. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
          4. lower-neg.f64N/A

            \[\leadsto \color{blue}{\left(-z\right)} \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          5. lower--.f64N/A

            \[\leadsto \left(-z\right) \cdot \color{blue}{\left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
        5. Applied rewrites57.6%

          \[\leadsto \color{blue}{\left(-z\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y3, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot t\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot k\right)} \]

        if 1.12e-233 < y5 < 7.6000000000000001e-92

        1. Initial program 38.3%

          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Add Preprocessing
        3. Taylor expanded in b around inf

          \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
        5. Applied rewrites62.7%

          \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b} \]

        if 7.6000000000000001e-92 < y5 < 7.7999999999999994e209

        1. Initial program 33.8%

          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Add Preprocessing
        3. Taylor expanded in y5 around -inf

          \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
        4. Step-by-step derivation
          1. mul-1-negN/A

            \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
          2. distribute-lft-neg-inN/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
          3. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
          4. lower-neg.f64N/A

            \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
          5. lower--.f64N/A

            \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
        5. Applied rewrites39.3%

          \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
        6. Taylor expanded in x around inf

          \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
        7. Step-by-step derivation
          1. lower-*.f64N/A

            \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
          2. lower--.f64N/A

            \[\leadsto x \cdot \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
          3. lower-fma.f64N/A

            \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          4. fp-cancel-sub-sign-invN/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{a \cdot b + \left(\mathsf{neg}\left(c\right)\right) \cdot i}, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          5. lower-fma.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right)}, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          6. lower-*.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \cdot i}\right), y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          7. lower-neg.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(-c\right)} \cdot i\right), y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          8. lower-*.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          9. fp-cancel-sub-sign-invN/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \color{blue}{\left(c \cdot y0 + \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          10. lower-fma.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \color{blue}{\mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          11. lower-*.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          12. lower-neg.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(-a\right)} \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
          13. lower-*.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
          14. fp-cancel-sub-sign-invN/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \color{blue}{\left(b \cdot y0 + \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
          15. lower-fma.f64N/A

            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
        8. Applied rewrites56.8%

          \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)} \]

        if 7.7999999999999994e209 < y5

        1. Initial program 26.1%

          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
        2. Add Preprocessing
        3. Taylor expanded in y2 around inf

          \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
        4. Step-by-step derivation
          1. *-commutativeN/A

            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
          2. lower-*.f64N/A

            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
        5. Applied rewrites52.7%

          \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
        6. Taylor expanded in y5 around -inf

          \[\leadsto \left(-1 \cdot \left(y5 \cdot \left(k \cdot y0 - a \cdot t\right)\right)\right) \cdot y2 \]
        7. Step-by-step derivation
          1. Applied rewrites74.5%

            \[\leadsto \left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2 \]
        8. Recombined 6 regimes into one program.
        9. Add Preprocessing

        Alternative 5: 43.4% accurate, 2.1× speedup?

        \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right)\\ t_2 := \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\\ t_3 := \left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, t\_2 \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b\\ t_4 := \mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right)\\ t_5 := \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right)\\ t_6 := \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)\\ \mathbf{if}\;b \leq -4.4 \cdot 10^{+123}:\\ \;\;\;\;t\_3\\ \mathbf{elif}\;b \leq -7.2 \cdot 10^{-115}:\\ \;\;\;\;\left(\mathsf{fma}\left(t\_4, k, t\_1 \cdot x\right) - t\_5 \cdot t\right) \cdot y2\\ \mathbf{elif}\;b \leq -2.25 \cdot 10^{-263}:\\ \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - t\_6 \cdot a\right)\\ \mathbf{elif}\;b \leq 2.2 \cdot 10^{+18}:\\ \;\;\;\;\left(-y3\right) \cdot \left(\mathsf{fma}\left(t\_4, j, t\_1 \cdot z\right) - t\_5 \cdot y\right)\\ \mathbf{elif}\;b \leq 2.5 \cdot 10^{+129}:\\ \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y1, t\_2 \cdot b\right) - t\_6 \cdot c\right) \cdot y4\\ \mathbf{else}:\\ \;\;\;\;t\_3\\ \end{array} \end{array} \]
        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
         :precision binary64
         (let* ((t_1 (fma y0 c (* (- a) y1)))
                (t_2 (fma j t (* (- k) y)))
                (t_3
                 (*
                  (-
                   (fma (fma y x (* (- t) z)) a (* t_2 y4))
                   (* (fma j x (* (- k) z)) y0))
                  b))
                (t_4 (fma y4 y1 (* (- y0) y5)))
                (t_5 (fma y4 c (* (- a) y5)))
                (t_6 (fma y2 t (* (- y) y3))))
           (if (<= b -4.4e+123)
             t_3
             (if (<= b -7.2e-115)
               (* (- (fma t_4 k (* t_1 x)) (* t_5 t)) y2)
               (if (<= b -2.25e-263)
                 (* (- y5) (- (* y0 (fma -1.0 (* j y3) (* k y2))) (* t_6 a)))
                 (if (<= b 2.2e+18)
                   (* (- y3) (- (fma t_4 j (* t_1 z)) (* t_5 y)))
                   (if (<= b 2.5e+129)
                     (* (- (fma (fma y2 k (* (- j) y3)) y1 (* t_2 b)) (* t_6 c)) y4)
                     t_3)))))))
        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
        	double t_1 = fma(y0, c, (-a * y1));
        	double t_2 = fma(j, t, (-k * y));
        	double t_3 = (fma(fma(y, x, (-t * z)), a, (t_2 * y4)) - (fma(j, x, (-k * z)) * y0)) * b;
        	double t_4 = fma(y4, y1, (-y0 * y5));
        	double t_5 = fma(y4, c, (-a * y5));
        	double t_6 = fma(y2, t, (-y * y3));
        	double tmp;
        	if (b <= -4.4e+123) {
        		tmp = t_3;
        	} else if (b <= -7.2e-115) {
        		tmp = (fma(t_4, k, (t_1 * x)) - (t_5 * t)) * y2;
        	} else if (b <= -2.25e-263) {
        		tmp = -y5 * ((y0 * fma(-1.0, (j * y3), (k * y2))) - (t_6 * a));
        	} else if (b <= 2.2e+18) {
        		tmp = -y3 * (fma(t_4, j, (t_1 * z)) - (t_5 * y));
        	} else if (b <= 2.5e+129) {
        		tmp = (fma(fma(y2, k, (-j * y3)), y1, (t_2 * b)) - (t_6 * c)) * y4;
        	} else {
        		tmp = t_3;
        	}
        	return tmp;
        }
        
        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
        	t_1 = fma(y0, c, Float64(Float64(-a) * y1))
        	t_2 = fma(j, t, Float64(Float64(-k) * y))
        	t_3 = Float64(Float64(fma(fma(y, x, Float64(Float64(-t) * z)), a, Float64(t_2 * y4)) - Float64(fma(j, x, Float64(Float64(-k) * z)) * y0)) * b)
        	t_4 = fma(y4, y1, Float64(Float64(-y0) * y5))
        	t_5 = fma(y4, c, Float64(Float64(-a) * y5))
        	t_6 = fma(y2, t, Float64(Float64(-y) * y3))
        	tmp = 0.0
        	if (b <= -4.4e+123)
        		tmp = t_3;
        	elseif (b <= -7.2e-115)
        		tmp = Float64(Float64(fma(t_4, k, Float64(t_1 * x)) - Float64(t_5 * t)) * y2);
        	elseif (b <= -2.25e-263)
        		tmp = Float64(Float64(-y5) * Float64(Float64(y0 * fma(-1.0, Float64(j * y3), Float64(k * y2))) - Float64(t_6 * a)));
        	elseif (b <= 2.2e+18)
        		tmp = Float64(Float64(-y3) * Float64(fma(t_4, j, Float64(t_1 * z)) - Float64(t_5 * y)));
        	elseif (b <= 2.5e+129)
        		tmp = Float64(Float64(fma(fma(y2, k, Float64(Float64(-j) * y3)), y1, Float64(t_2 * b)) - Float64(t_6 * c)) * y4);
        	else
        		tmp = t_3;
        	end
        	return tmp
        end
        
        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(y0 * c + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(N[(N[(y * x + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a + N[(t$95$2 * y4), $MachinePrecision]), $MachinePrecision] - N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]}, Block[{t$95$4 = N[(y4 * y1 + N[((-y0) * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(y4 * c + N[((-a) * y5), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[b, -4.4e+123], t$95$3, If[LessEqual[b, -7.2e-115], N[(N[(N[(t$95$4 * k + N[(t$95$1 * x), $MachinePrecision]), $MachinePrecision] - N[(t$95$5 * t), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[b, -2.25e-263], N[((-y5) * N[(N[(y0 * N[(-1.0 * N[(j * y3), $MachinePrecision] + N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$6 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.2e+18], N[((-y3) * N[(N[(t$95$4 * j + N[(t$95$1 * z), $MachinePrecision]), $MachinePrecision] - N[(t$95$5 * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[b, 2.5e+129], N[(N[(N[(N[(y2 * k + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] * y1 + N[(t$95$2 * b), $MachinePrecision]), $MachinePrecision] - N[(t$95$6 * c), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision], t$95$3]]]]]]]]]]]
        
        \begin{array}{l}
        
        \\
        \begin{array}{l}
        t_1 := \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right)\\
        t_2 := \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\\
        t_3 := \left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, t\_2 \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b\\
        t_4 := \mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right)\\
        t_5 := \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right)\\
        t_6 := \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)\\
        \mathbf{if}\;b \leq -4.4 \cdot 10^{+123}:\\
        \;\;\;\;t\_3\\
        
        \mathbf{elif}\;b \leq -7.2 \cdot 10^{-115}:\\
        \;\;\;\;\left(\mathsf{fma}\left(t\_4, k, t\_1 \cdot x\right) - t\_5 \cdot t\right) \cdot y2\\
        
        \mathbf{elif}\;b \leq -2.25 \cdot 10^{-263}:\\
        \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - t\_6 \cdot a\right)\\
        
        \mathbf{elif}\;b \leq 2.2 \cdot 10^{+18}:\\
        \;\;\;\;\left(-y3\right) \cdot \left(\mathsf{fma}\left(t\_4, j, t\_1 \cdot z\right) - t\_5 \cdot y\right)\\
        
        \mathbf{elif}\;b \leq 2.5 \cdot 10^{+129}:\\
        \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y1, t\_2 \cdot b\right) - t\_6 \cdot c\right) \cdot y4\\
        
        \mathbf{else}:\\
        \;\;\;\;t\_3\\
        
        
        \end{array}
        \end{array}
        
        Derivation
        1. Split input into 5 regimes
        2. if b < -4.39999999999999984e123 or 2.5000000000000001e129 < b

          1. Initial program 25.1%

            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
          2. Add Preprocessing
          3. Taylor expanded in b around inf

            \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
          4. Step-by-step derivation
            1. *-commutativeN/A

              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
            2. lower-*.f64N/A

              \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
          5. Applied rewrites67.3%

            \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b} \]

          if -4.39999999999999984e123 < b < -7.20000000000000018e-115

          1. Initial program 37.7%

            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
          2. Add Preprocessing
          3. Taylor expanded in y2 around inf

            \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
          4. Step-by-step derivation
            1. *-commutativeN/A

              \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
            2. lower-*.f64N/A

              \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
          5. Applied rewrites56.8%

            \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]

          if -7.20000000000000018e-115 < b < -2.2499999999999999e-263

          1. Initial program 44.2%

            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
          2. Add Preprocessing
          3. Taylor expanded in y5 around -inf

            \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
          4. Step-by-step derivation
            1. mul-1-negN/A

              \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
            2. distribute-lft-neg-inN/A

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
            3. lower-*.f64N/A

              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
            4. lower-neg.f64N/A

              \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
            5. lower--.f64N/A

              \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
          5. Applied rewrites53.6%

            \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
          6. Taylor expanded in i around 0

            \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
          7. Step-by-step derivation
            1. Applied rewrites56.8%

              \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]

            if -2.2499999999999999e-263 < b < 2.2e18

            1. Initial program 41.7%

              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            2. Add Preprocessing
            3. Taylor expanded in y3 around -inf

              \[\leadsto \color{blue}{-1 \cdot \left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
            4. Step-by-step derivation
              1. mul-1-negN/A

                \[\leadsto \color{blue}{\mathsf{neg}\left(y3 \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
              2. distribute-lft-neg-inN/A

                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
              3. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y3\right)\right) \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
              4. lower-neg.f64N/A

                \[\leadsto \color{blue}{\left(-y3\right)} \cdot \left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
              5. lower--.f64N/A

                \[\leadsto \left(-y3\right) \cdot \color{blue}{\left(\left(j \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + z \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - y \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
            5. Applied rewrites52.5%

              \[\leadsto \color{blue}{\left(-y3\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), j, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot z\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y\right)} \]

            if 2.2e18 < b < 2.5000000000000001e129

            1. Initial program 20.0%

              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            2. Add Preprocessing
            3. Taylor expanded in y4 around inf

              \[\leadsto \color{blue}{y4 \cdot \left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
            4. Step-by-step derivation
              1. *-commutativeN/A

                \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
              2. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(\left(b \cdot \left(j \cdot t - k \cdot y\right) + y1 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - c \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \cdot y4} \]
            5. Applied rewrites60.3%

              \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y1, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot b\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot c\right) \cdot y4} \]
          8. Recombined 5 regimes into one program.
          9. Add Preprocessing

          Alternative 6: 42.2% accurate, 2.3× speedup?

          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\\ t_2 := x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)\\ \mathbf{if}\;y5 \leq -1.02 \cdot 10^{+52}:\\ \;\;\;\;\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, t\_1 \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\ \mathbf{elif}\;y5 \leq -2.6 \cdot 10^{-99}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y5 \leq 7.6 \cdot 10^{-92}:\\ \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, t\_1 \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b\\ \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{+209}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\ \end{array} \end{array} \]
          (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
           :precision binary64
           (let* ((t_1 (fma j t (* (- k) y)))
                  (t_2
                   (*
                    x
                    (-
                     (fma y (fma a b (* (- c) i)) (* y2 (fma c y0 (* (- a) y1))))
                     (* j (fma b y0 (* (- i) y1)))))))
             (if (<= y5 -1.02e+52)
               (*
                (- y5)
                (-
                 (fma (fma y2 k (* (- j) y3)) y0 (* t_1 i))
                 (* (fma y2 t (* (- y) y3)) a)))
               (if (<= y5 -2.6e-99)
                 t_2
                 (if (<= y5 7.6e-92)
                   (*
                    (-
                     (fma (fma y x (* (- t) z)) a (* t_1 y4))
                     (* (fma j x (* (- k) z)) y0))
                    b)
                   (if (<= y5 7.8e+209)
                     t_2
                     (* (* (- y5) (fma k y0 (* (- a) t))) y2)))))))
          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
          	double t_1 = fma(j, t, (-k * y));
          	double t_2 = x * (fma(y, fma(a, b, (-c * i)), (y2 * fma(c, y0, (-a * y1)))) - (j * fma(b, y0, (-i * y1))));
          	double tmp;
          	if (y5 <= -1.02e+52) {
          		tmp = -y5 * (fma(fma(y2, k, (-j * y3)), y0, (t_1 * i)) - (fma(y2, t, (-y * y3)) * a));
          	} else if (y5 <= -2.6e-99) {
          		tmp = t_2;
          	} else if (y5 <= 7.6e-92) {
          		tmp = (fma(fma(y, x, (-t * z)), a, (t_1 * y4)) - (fma(j, x, (-k * z)) * y0)) * b;
          	} else if (y5 <= 7.8e+209) {
          		tmp = t_2;
          	} else {
          		tmp = (-y5 * fma(k, y0, (-a * t))) * y2;
          	}
          	return tmp;
          }
          
          function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
          	t_1 = fma(j, t, Float64(Float64(-k) * y))
          	t_2 = Float64(x * Float64(fma(y, fma(a, b, Float64(Float64(-c) * i)), Float64(y2 * fma(c, y0, Float64(Float64(-a) * y1)))) - Float64(j * fma(b, y0, Float64(Float64(-i) * y1)))))
          	tmp = 0.0
          	if (y5 <= -1.02e+52)
          		tmp = Float64(Float64(-y5) * Float64(fma(fma(y2, k, Float64(Float64(-j) * y3)), y0, Float64(t_1 * i)) - Float64(fma(y2, t, Float64(Float64(-y) * y3)) * a)));
          	elseif (y5 <= -2.6e-99)
          		tmp = t_2;
          	elseif (y5 <= 7.6e-92)
          		tmp = Float64(Float64(fma(fma(y, x, Float64(Float64(-t) * z)), a, Float64(t_1 * y4)) - Float64(fma(j, x, Float64(Float64(-k) * z)) * y0)) * b);
          	elseif (y5 <= 7.8e+209)
          		tmp = t_2;
          	else
          		tmp = Float64(Float64(Float64(-y5) * fma(k, y0, Float64(Float64(-a) * t))) * y2);
          	end
          	return tmp
          end
          
          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(x * N[(N[(y * N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.02e+52], N[((-y5) * N[(N[(N[(y2 * k + N[((-j) * y3), $MachinePrecision]), $MachinePrecision] * y0 + N[(t$95$1 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -2.6e-99], t$95$2, If[LessEqual[y5, 7.6e-92], N[(N[(N[(N[(y * x + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a + N[(t$95$1 * y4), $MachinePrecision]), $MachinePrecision] - N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y5, 7.8e+209], t$95$2, N[(N[((-y5) * N[(k * y0 + N[((-a) * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]]]]]]]
          
          \begin{array}{l}
          
          \\
          \begin{array}{l}
          t_1 := \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right)\\
          t_2 := x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)\\
          \mathbf{if}\;y5 \leq -1.02 \cdot 10^{+52}:\\
          \;\;\;\;\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, t\_1 \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\
          
          \mathbf{elif}\;y5 \leq -2.6 \cdot 10^{-99}:\\
          \;\;\;\;t\_2\\
          
          \mathbf{elif}\;y5 \leq 7.6 \cdot 10^{-92}:\\
          \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, t\_1 \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b\\
          
          \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{+209}:\\
          \;\;\;\;t\_2\\
          
          \mathbf{else}:\\
          \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\
          
          
          \end{array}
          \end{array}
          
          Derivation
          1. Split input into 4 regimes
          2. if y5 < -1.02000000000000002e52

            1. Initial program 32.8%

              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            2. Add Preprocessing
            3. Taylor expanded in y5 around -inf

              \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
            4. Step-by-step derivation
              1. mul-1-negN/A

                \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
              2. distribute-lft-neg-inN/A

                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
              3. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
              4. lower-neg.f64N/A

                \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
              5. lower--.f64N/A

                \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
            5. Applied rewrites70.5%

              \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]

            if -1.02000000000000002e52 < y5 < -2.60000000000000005e-99 or 7.6000000000000001e-92 < y5 < 7.7999999999999994e209

            1. Initial program 36.8%

              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            2. Add Preprocessing
            3. Taylor expanded in y5 around -inf

              \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
            4. Step-by-step derivation
              1. mul-1-negN/A

                \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
              2. distribute-lft-neg-inN/A

                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
              3. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
              4. lower-neg.f64N/A

                \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
              5. lower--.f64N/A

                \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
            5. Applied rewrites39.7%

              \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
            6. Taylor expanded in x around inf

              \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
            7. Step-by-step derivation
              1. lower-*.f64N/A

                \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
              2. lower--.f64N/A

                \[\leadsto x \cdot \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
              3. lower-fma.f64N/A

                \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
              4. fp-cancel-sub-sign-invN/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{a \cdot b + \left(\mathsf{neg}\left(c\right)\right) \cdot i}, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
              5. lower-fma.f64N/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right)}, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
              6. lower-*.f64N/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \cdot i}\right), y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
              7. lower-neg.f64N/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(-c\right)} \cdot i\right), y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
              8. lower-*.f64N/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
              9. fp-cancel-sub-sign-invN/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \color{blue}{\left(c \cdot y0 + \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
              10. lower-fma.f64N/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \color{blue}{\mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
              11. lower-*.f64N/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
              12. lower-neg.f64N/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(-a\right)} \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
              13. lower-*.f64N/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
              14. fp-cancel-sub-sign-invN/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \color{blue}{\left(b \cdot y0 + \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
              15. lower-fma.f64N/A

                \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
            8. Applied rewrites56.2%

              \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)} \]

            if -2.60000000000000005e-99 < y5 < 7.6000000000000001e-92

            1. Initial program 37.0%

              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            2. Add Preprocessing
            3. Taylor expanded in b around inf

              \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
            4. Step-by-step derivation
              1. *-commutativeN/A

                \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
              2. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
            5. Applied rewrites46.8%

              \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b} \]

            if 7.7999999999999994e209 < y5

            1. Initial program 26.1%

              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
            2. Add Preprocessing
            3. Taylor expanded in y2 around inf

              \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
            4. Step-by-step derivation
              1. *-commutativeN/A

                \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
              2. lower-*.f64N/A

                \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
            5. Applied rewrites52.7%

              \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
            6. Taylor expanded in y5 around -inf

              \[\leadsto \left(-1 \cdot \left(y5 \cdot \left(k \cdot y0 - a \cdot t\right)\right)\right) \cdot y2 \]
            7. Step-by-step derivation
              1. Applied rewrites74.5%

                \[\leadsto \left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2 \]
            8. Recombined 4 regimes into one program.
            9. Add Preprocessing

            Alternative 7: 41.5% accurate, 2.3× speedup?

            \[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)\\ \mathbf{if}\;y5 \leq -1.02 \cdot 10^{+52}:\\ \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\ \mathbf{elif}\;y5 \leq -2.6 \cdot 10^{-99}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 7.6 \cdot 10^{-92}:\\ \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b\\ \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{+209}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\ \end{array} \end{array} \]
            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
             :precision binary64
             (let* ((t_1
                     (*
                      x
                      (-
                       (fma y (fma a b (* (- c) i)) (* y2 (fma c y0 (* (- a) y1))))
                       (* j (fma b y0 (* (- i) y1)))))))
               (if (<= y5 -1.02e+52)
                 (*
                  (- y5)
                  (- (* y0 (fma -1.0 (* j y3) (* k y2))) (* (fma y2 t (* (- y) y3)) a)))
                 (if (<= y5 -2.6e-99)
                   t_1
                   (if (<= y5 7.6e-92)
                     (*
                      (-
                       (fma (fma y x (* (- t) z)) a (* (fma j t (* (- k) y)) y4))
                       (* (fma j x (* (- k) z)) y0))
                      b)
                     (if (<= y5 7.8e+209)
                       t_1
                       (* (* (- y5) (fma k y0 (* (- a) t))) y2)))))))
            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
            	double t_1 = x * (fma(y, fma(a, b, (-c * i)), (y2 * fma(c, y0, (-a * y1)))) - (j * fma(b, y0, (-i * y1))));
            	double tmp;
            	if (y5 <= -1.02e+52) {
            		tmp = -y5 * ((y0 * fma(-1.0, (j * y3), (k * y2))) - (fma(y2, t, (-y * y3)) * a));
            	} else if (y5 <= -2.6e-99) {
            		tmp = t_1;
            	} else if (y5 <= 7.6e-92) {
            		tmp = (fma(fma(y, x, (-t * z)), a, (fma(j, t, (-k * y)) * y4)) - (fma(j, x, (-k * z)) * y0)) * b;
            	} else if (y5 <= 7.8e+209) {
            		tmp = t_1;
            	} else {
            		tmp = (-y5 * fma(k, y0, (-a * t))) * y2;
            	}
            	return tmp;
            }
            
            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
            	t_1 = Float64(x * Float64(fma(y, fma(a, b, Float64(Float64(-c) * i)), Float64(y2 * fma(c, y0, Float64(Float64(-a) * y1)))) - Float64(j * fma(b, y0, Float64(Float64(-i) * y1)))))
            	tmp = 0.0
            	if (y5 <= -1.02e+52)
            		tmp = Float64(Float64(-y5) * Float64(Float64(y0 * fma(-1.0, Float64(j * y3), Float64(k * y2))) - Float64(fma(y2, t, Float64(Float64(-y) * y3)) * a)));
            	elseif (y5 <= -2.6e-99)
            		tmp = t_1;
            	elseif (y5 <= 7.6e-92)
            		tmp = Float64(Float64(fma(fma(y, x, Float64(Float64(-t) * z)), a, Float64(fma(j, t, Float64(Float64(-k) * y)) * y4)) - Float64(fma(j, x, Float64(Float64(-k) * z)) * y0)) * b);
            	elseif (y5 <= 7.8e+209)
            		tmp = t_1;
            	else
            		tmp = Float64(Float64(Float64(-y5) * fma(k, y0, Float64(Float64(-a) * t))) * y2);
            	end
            	return tmp
            end
            
            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(N[(y * N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.02e+52], N[((-y5) * N[(N[(y0 * N[(-1.0 * N[(j * y3), $MachinePrecision] + N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -2.6e-99], t$95$1, If[LessEqual[y5, 7.6e-92], N[(N[(N[(N[(y * x + N[((-t) * z), $MachinePrecision]), $MachinePrecision] * a + N[(N[(j * t + N[((-k) * y), $MachinePrecision]), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision] - N[(N[(j * x + N[((-k) * z), $MachinePrecision]), $MachinePrecision] * y0), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y5, 7.8e+209], t$95$1, N[(N[((-y5) * N[(k * y0 + N[((-a) * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]]]]]]
            
            \begin{array}{l}
            
            \\
            \begin{array}{l}
            t_1 := x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)\\
            \mathbf{if}\;y5 \leq -1.02 \cdot 10^{+52}:\\
            \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\
            
            \mathbf{elif}\;y5 \leq -2.6 \cdot 10^{-99}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{elif}\;y5 \leq 7.6 \cdot 10^{-92}:\\
            \;\;\;\;\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b\\
            
            \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{+209}:\\
            \;\;\;\;t\_1\\
            
            \mathbf{else}:\\
            \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\
            
            
            \end{array}
            \end{array}
            
            Derivation
            1. Split input into 4 regimes
            2. if y5 < -1.02000000000000002e52

              1. Initial program 32.8%

                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
              2. Add Preprocessing
              3. Taylor expanded in y5 around -inf

                \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
              4. Step-by-step derivation
                1. mul-1-negN/A

                  \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                2. distribute-lft-neg-inN/A

                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                3. lower-*.f64N/A

                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                4. lower-neg.f64N/A

                  \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                5. lower--.f64N/A

                  \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
              5. Applied rewrites70.5%

                \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
              6. Taylor expanded in i around 0

                \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
              7. Step-by-step derivation
                1. Applied rewrites62.9%

                  \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]

                if -1.02000000000000002e52 < y5 < -2.60000000000000005e-99 or 7.6000000000000001e-92 < y5 < 7.7999999999999994e209

                1. Initial program 36.8%

                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                2. Add Preprocessing
                3. Taylor expanded in y5 around -inf

                  \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                4. Step-by-step derivation
                  1. mul-1-negN/A

                    \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                  2. distribute-lft-neg-inN/A

                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                  3. lower-*.f64N/A

                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                  4. lower-neg.f64N/A

                    \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                  5. lower--.f64N/A

                    \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                5. Applied rewrites39.7%

                  \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                6. Taylor expanded in x around inf

                  \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                7. Step-by-step derivation
                  1. lower-*.f64N/A

                    \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                  2. lower--.f64N/A

                    \[\leadsto x \cdot \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                  3. lower-fma.f64N/A

                    \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  4. fp-cancel-sub-sign-invN/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{a \cdot b + \left(\mathsf{neg}\left(c\right)\right) \cdot i}, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  5. lower-fma.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right)}, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  6. lower-*.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \cdot i}\right), y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  7. lower-neg.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(-c\right)} \cdot i\right), y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  8. lower-*.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  9. fp-cancel-sub-sign-invN/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \color{blue}{\left(c \cdot y0 + \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  10. lower-fma.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \color{blue}{\mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  11. lower-*.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  12. lower-neg.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(-a\right)} \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                  13. lower-*.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                  14. fp-cancel-sub-sign-invN/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \color{blue}{\left(b \cdot y0 + \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                  15. lower-fma.f64N/A

                    \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                8. Applied rewrites56.2%

                  \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)} \]

                if -2.60000000000000005e-99 < y5 < 7.6000000000000001e-92

                1. Initial program 37.0%

                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                2. Add Preprocessing
                3. Taylor expanded in b around inf

                  \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                  2. lower-*.f64N/A

                    \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                5. Applied rewrites46.8%

                  \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b} \]

                if 7.7999999999999994e209 < y5

                1. Initial program 26.1%

                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                2. Add Preprocessing
                3. Taylor expanded in y2 around inf

                  \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                4. Step-by-step derivation
                  1. *-commutativeN/A

                    \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                  2. lower-*.f64N/A

                    \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                5. Applied rewrites52.7%

                  \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                6. Taylor expanded in y5 around -inf

                  \[\leadsto \left(-1 \cdot \left(y5 \cdot \left(k \cdot y0 - a \cdot t\right)\right)\right) \cdot y2 \]
                7. Step-by-step derivation
                  1. Applied rewrites74.5%

                    \[\leadsto \left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2 \]
                8. Recombined 4 regimes into one program.
                9. Add Preprocessing

                Alternative 8: 37.2% accurate, 2.3× speedup?

                \[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)\\ \mathbf{if}\;y5 \leq -1.02 \cdot 10^{+52}:\\ \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\ \mathbf{elif}\;y5 \leq -8.1 \cdot 10^{-60}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y5 \leq 1.26 \cdot 10^{-161}:\\ \;\;\;\;\left(\left(-k\right) \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b\\ \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{+209}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\ \end{array} \end{array} \]
                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                 :precision binary64
                 (let* ((t_1
                         (*
                          x
                          (-
                           (fma y (fma a b (* (- c) i)) (* y2 (fma c y0 (* (- a) y1))))
                           (* j (fma b y0 (* (- i) y1)))))))
                   (if (<= y5 -1.02e+52)
                     (*
                      (- y5)
                      (- (* y0 (fma -1.0 (* j y3) (* k y2))) (* (fma y2 t (* (- y) y3)) a)))
                     (if (<= y5 -8.1e-60)
                       t_1
                       (if (<= y5 1.26e-161)
                         (* (* (- k) (fma y y4 (* (- y0) z))) b)
                         (if (<= y5 7.8e+209)
                           t_1
                           (* (* (- y5) (fma k y0 (* (- a) t))) y2)))))))
                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                	double t_1 = x * (fma(y, fma(a, b, (-c * i)), (y2 * fma(c, y0, (-a * y1)))) - (j * fma(b, y0, (-i * y1))));
                	double tmp;
                	if (y5 <= -1.02e+52) {
                		tmp = -y5 * ((y0 * fma(-1.0, (j * y3), (k * y2))) - (fma(y2, t, (-y * y3)) * a));
                	} else if (y5 <= -8.1e-60) {
                		tmp = t_1;
                	} else if (y5 <= 1.26e-161) {
                		tmp = (-k * fma(y, y4, (-y0 * z))) * b;
                	} else if (y5 <= 7.8e+209) {
                		tmp = t_1;
                	} else {
                		tmp = (-y5 * fma(k, y0, (-a * t))) * y2;
                	}
                	return tmp;
                }
                
                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                	t_1 = Float64(x * Float64(fma(y, fma(a, b, Float64(Float64(-c) * i)), Float64(y2 * fma(c, y0, Float64(Float64(-a) * y1)))) - Float64(j * fma(b, y0, Float64(Float64(-i) * y1)))))
                	tmp = 0.0
                	if (y5 <= -1.02e+52)
                		tmp = Float64(Float64(-y5) * Float64(Float64(y0 * fma(-1.0, Float64(j * y3), Float64(k * y2))) - Float64(fma(y2, t, Float64(Float64(-y) * y3)) * a)));
                	elseif (y5 <= -8.1e-60)
                		tmp = t_1;
                	elseif (y5 <= 1.26e-161)
                		tmp = Float64(Float64(Float64(-k) * fma(y, y4, Float64(Float64(-y0) * z))) * b);
                	elseif (y5 <= 7.8e+209)
                		tmp = t_1;
                	else
                		tmp = Float64(Float64(Float64(-y5) * fma(k, y0, Float64(Float64(-a) * t))) * y2);
                	end
                	return tmp
                end
                
                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(N[(y * N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y5, -1.02e+52], N[((-y5) * N[(N[(y0 * N[(-1.0 * N[(j * y3), $MachinePrecision] + N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y5, -8.1e-60], t$95$1, If[LessEqual[y5, 1.26e-161], N[(N[((-k) * N[(y * y4 + N[((-y0) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y5, 7.8e+209], t$95$1, N[(N[((-y5) * N[(k * y0 + N[((-a) * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]]]]]]
                
                \begin{array}{l}
                
                \\
                \begin{array}{l}
                t_1 := x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)\\
                \mathbf{if}\;y5 \leq -1.02 \cdot 10^{+52}:\\
                \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\
                
                \mathbf{elif}\;y5 \leq -8.1 \cdot 10^{-60}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{elif}\;y5 \leq 1.26 \cdot 10^{-161}:\\
                \;\;\;\;\left(\left(-k\right) \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b\\
                
                \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{+209}:\\
                \;\;\;\;t\_1\\
                
                \mathbf{else}:\\
                \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\
                
                
                \end{array}
                \end{array}
                
                Derivation
                1. Split input into 4 regimes
                2. if y5 < -1.02000000000000002e52

                  1. Initial program 32.8%

                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                  2. Add Preprocessing
                  3. Taylor expanded in y5 around -inf

                    \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                  4. Step-by-step derivation
                    1. mul-1-negN/A

                      \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                    2. distribute-lft-neg-inN/A

                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                    3. lower-*.f64N/A

                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                    4. lower-neg.f64N/A

                      \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                    5. lower--.f64N/A

                      \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                  5. Applied rewrites70.5%

                    \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                  6. Taylor expanded in i around 0

                    \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                  7. Step-by-step derivation
                    1. Applied rewrites62.9%

                      \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]

                    if -1.02000000000000002e52 < y5 < -8.09999999999999946e-60 or 1.26e-161 < y5 < 7.7999999999999994e209

                    1. Initial program 33.6%

                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                    2. Add Preprocessing
                    3. Taylor expanded in y5 around -inf

                      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                    4. Step-by-step derivation
                      1. mul-1-negN/A

                        \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                      2. distribute-lft-neg-inN/A

                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                      3. lower-*.f64N/A

                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                      4. lower-neg.f64N/A

                        \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                      5. lower--.f64N/A

                        \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                    5. Applied rewrites34.4%

                      \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                    6. Taylor expanded in x around inf

                      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                    7. Step-by-step derivation
                      1. lower-*.f64N/A

                        \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                      2. lower--.f64N/A

                        \[\leadsto x \cdot \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                      3. lower-fma.f64N/A

                        \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                      4. fp-cancel-sub-sign-invN/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{a \cdot b + \left(\mathsf{neg}\left(c\right)\right) \cdot i}, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                      5. lower-fma.f64N/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right)}, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                      6. lower-*.f64N/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \cdot i}\right), y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                      7. lower-neg.f64N/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(-c\right)} \cdot i\right), y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                      8. lower-*.f64N/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                      9. fp-cancel-sub-sign-invN/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \color{blue}{\left(c \cdot y0 + \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                      10. lower-fma.f64N/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \color{blue}{\mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                      11. lower-*.f64N/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                      12. lower-neg.f64N/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(-a\right)} \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                      13. lower-*.f64N/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                      14. fp-cancel-sub-sign-invN/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \color{blue}{\left(b \cdot y0 + \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                      15. lower-fma.f64N/A

                        \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                    8. Applied rewrites55.5%

                      \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)} \]

                    if -8.09999999999999946e-60 < y5 < 1.26e-161

                    1. Initial program 41.5%

                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                    2. Add Preprocessing
                    3. Taylor expanded in b around inf

                      \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                    4. Step-by-step derivation
                      1. *-commutativeN/A

                        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                      2. lower-*.f64N/A

                        \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                    5. Applied rewrites43.2%

                      \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b} \]
                    6. Taylor expanded in k around -inf

                      \[\leadsto \left(-1 \cdot \left(k \cdot \left(y \cdot y4 - y0 \cdot z\right)\right)\right) \cdot b \]
                    7. Step-by-step derivation
                      1. Applied rewrites39.2%

                        \[\leadsto \left(-k \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b \]

                      if 7.7999999999999994e209 < y5

                      1. Initial program 26.1%

                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                      2. Add Preprocessing
                      3. Taylor expanded in y2 around inf

                        \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                      4. Step-by-step derivation
                        1. *-commutativeN/A

                          \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                        2. lower-*.f64N/A

                          \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                      5. Applied rewrites52.7%

                        \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                      6. Taylor expanded in y5 around -inf

                        \[\leadsto \left(-1 \cdot \left(y5 \cdot \left(k \cdot y0 - a \cdot t\right)\right)\right) \cdot y2 \]
                      7. Step-by-step derivation
                        1. Applied rewrites74.5%

                          \[\leadsto \left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2 \]
                      8. Recombined 4 regimes into one program.
                      9. Final simplification54.5%

                        \[\leadsto \begin{array}{l} \mathbf{if}\;y5 \leq -1.02 \cdot 10^{+52}:\\ \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\ \mathbf{elif}\;y5 \leq -8.1 \cdot 10^{-60}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)\\ \mathbf{elif}\;y5 \leq 1.26 \cdot 10^{-161}:\\ \;\;\;\;\left(\left(-k\right) \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b\\ \mathbf{elif}\;y5 \leq 7.8 \cdot 10^{+209}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\ \end{array} \]
                      10. Add Preprocessing

                      Alternative 9: 40.2% accurate, 2.5× speedup?

                      \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;x \leq -2.8 \cdot 10^{+215}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)\\ \mathbf{elif}\;x \leq 0.43:\\ \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\ \mathbf{elif}\;x \leq 1.18 \cdot 10^{+91}:\\ \;\;\;\;\left(y1 \cdot y2\right) \cdot \mathsf{fma}\left(-a, x, k \cdot y4\right)\\ \mathbf{else}:\\ \;\;\;\;x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(-c, i, a \cdot b\right), y2 \cdot \mathsf{fma}\left(-a, y1, c \cdot y0\right)\right) - j \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)\\ \end{array} \end{array} \]
                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                       :precision binary64
                       (if (<= x -2.8e+215)
                         (*
                          x
                          (-
                           (fma y (fma a b (* (- c) i)) (* y2 (fma c y0 (* (- a) y1))))
                           (* j (fma b y0 (* (- i) y1)))))
                         (if (<= x 0.43)
                           (*
                            (- y5)
                            (- (* y0 (fma -1.0 (* j y3) (* k y2))) (* (fma y2 t (* (- y) y3)) a)))
                           (if (<= x 1.18e+91)
                             (* (* y1 y2) (fma (- a) x (* k y4)))
                             (*
                              x
                              (-
                               (fma y (fma (- c) i (* a b)) (* y2 (fma (- a) y1 (* c y0))))
                               (* j (fma (- i) y1 (* b y0)))))))))
                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                      	double tmp;
                      	if (x <= -2.8e+215) {
                      		tmp = x * (fma(y, fma(a, b, (-c * i)), (y2 * fma(c, y0, (-a * y1)))) - (j * fma(b, y0, (-i * y1))));
                      	} else if (x <= 0.43) {
                      		tmp = -y5 * ((y0 * fma(-1.0, (j * y3), (k * y2))) - (fma(y2, t, (-y * y3)) * a));
                      	} else if (x <= 1.18e+91) {
                      		tmp = (y1 * y2) * fma(-a, x, (k * y4));
                      	} else {
                      		tmp = x * (fma(y, fma(-c, i, (a * b)), (y2 * fma(-a, y1, (c * y0)))) - (j * fma(-i, y1, (b * y0))));
                      	}
                      	return tmp;
                      }
                      
                      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                      	tmp = 0.0
                      	if (x <= -2.8e+215)
                      		tmp = Float64(x * Float64(fma(y, fma(a, b, Float64(Float64(-c) * i)), Float64(y2 * fma(c, y0, Float64(Float64(-a) * y1)))) - Float64(j * fma(b, y0, Float64(Float64(-i) * y1)))));
                      	elseif (x <= 0.43)
                      		tmp = Float64(Float64(-y5) * Float64(Float64(y0 * fma(-1.0, Float64(j * y3), Float64(k * y2))) - Float64(fma(y2, t, Float64(Float64(-y) * y3)) * a)));
                      	elseif (x <= 1.18e+91)
                      		tmp = Float64(Float64(y1 * y2) * fma(Float64(-a), x, Float64(k * y4)));
                      	else
                      		tmp = Float64(x * Float64(fma(y, fma(Float64(-c), i, Float64(a * b)), Float64(y2 * fma(Float64(-a), y1, Float64(c * y0)))) - Float64(j * fma(Float64(-i), y1, Float64(b * y0)))));
                      	end
                      	return tmp
                      end
                      
                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[x, -2.8e+215], N[(x * N[(N[(y * N[(a * b + N[((-c) * i), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[(c * y0 + N[((-a) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[(b * y0 + N[((-i) * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 0.43], N[((-y5) * N[(N[(y0 * N[(-1.0 * N[(j * y3), $MachinePrecision] + N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.18e+91], N[(N[(y1 * y2), $MachinePrecision] * N[((-a) * x + N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(x * N[(N[(y * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision] + N[(y2 * N[((-a) * y1 + N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(j * N[((-i) * y1 + N[(b * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                      
                      \begin{array}{l}
                      
                      \\
                      \begin{array}{l}
                      \mathbf{if}\;x \leq -2.8 \cdot 10^{+215}:\\
                      \;\;\;\;x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)\\
                      
                      \mathbf{elif}\;x \leq 0.43:\\
                      \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\
                      
                      \mathbf{elif}\;x \leq 1.18 \cdot 10^{+91}:\\
                      \;\;\;\;\left(y1 \cdot y2\right) \cdot \mathsf{fma}\left(-a, x, k \cdot y4\right)\\
                      
                      \mathbf{else}:\\
                      \;\;\;\;x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(-c, i, a \cdot b\right), y2 \cdot \mathsf{fma}\left(-a, y1, c \cdot y0\right)\right) - j \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)\\
                      
                      
                      \end{array}
                      \end{array}
                      
                      Derivation
                      1. Split input into 4 regimes
                      2. if x < -2.8e215

                        1. Initial program 29.1%

                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                        2. Add Preprocessing
                        3. Taylor expanded in y5 around -inf

                          \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                        4. Step-by-step derivation
                          1. mul-1-negN/A

                            \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                          2. distribute-lft-neg-inN/A

                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                          3. lower-*.f64N/A

                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                          4. lower-neg.f64N/A

                            \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                          5. lower--.f64N/A

                            \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                        5. Applied rewrites18.7%

                          \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                        6. Taylor expanded in x around inf

                          \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                        7. Step-by-step derivation
                          1. lower-*.f64N/A

                            \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                          2. lower--.f64N/A

                            \[\leadsto x \cdot \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                          3. lower-fma.f64N/A

                            \[\leadsto x \cdot \left(\color{blue}{\mathsf{fma}\left(y, a \cdot b - c \cdot i, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right)} - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                          4. fp-cancel-sub-sign-invN/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{a \cdot b + \left(\mathsf{neg}\left(c\right)\right) \cdot i}, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                          5. lower-fma.f64N/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \color{blue}{\mathsf{fma}\left(a, b, \left(\mathsf{neg}\left(c\right)\right) \cdot i\right)}, y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                          6. lower-*.f64N/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(\mathsf{neg}\left(c\right)\right) \cdot i}\right), y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                          7. lower-neg.f64N/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \color{blue}{\left(-c\right)} \cdot i\right), y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                          8. lower-*.f64N/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), \color{blue}{y2 \cdot \left(c \cdot y0 - a \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                          9. fp-cancel-sub-sign-invN/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \color{blue}{\left(c \cdot y0 + \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                          10. lower-fma.f64N/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \color{blue}{\mathsf{fma}\left(c, y0, \left(\mathsf{neg}\left(a\right)\right) \cdot y1\right)}\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                          11. lower-*.f64N/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(\mathsf{neg}\left(a\right)\right) \cdot y1}\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                          12. lower-neg.f64N/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \color{blue}{\left(-a\right)} \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                          13. lower-*.f64N/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - \color{blue}{j \cdot \left(b \cdot y0 - i \cdot y1\right)}\right) \]
                          14. fp-cancel-sub-sign-invN/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \color{blue}{\left(b \cdot y0 + \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                          15. lower-fma.f64N/A

                            \[\leadsto x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \color{blue}{\mathsf{fma}\left(b, y0, \left(\mathsf{neg}\left(i\right)\right) \cdot y1\right)}\right) \]
                        8. Applied rewrites76.5%

                          \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(a, b, \left(-c\right) \cdot i\right), y2 \cdot \mathsf{fma}\left(c, y0, \left(-a\right) \cdot y1\right)\right) - j \cdot \mathsf{fma}\left(b, y0, \left(-i\right) \cdot y1\right)\right)} \]

                        if -2.8e215 < x < 0.429999999999999993

                        1. Initial program 39.0%

                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                        2. Add Preprocessing
                        3. Taylor expanded in y5 around -inf

                          \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                        4. Step-by-step derivation
                          1. mul-1-negN/A

                            \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                          2. distribute-lft-neg-inN/A

                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                          3. lower-*.f64N/A

                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                          4. lower-neg.f64N/A

                            \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                          5. lower--.f64N/A

                            \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                        5. Applied rewrites51.7%

                          \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                        6. Taylor expanded in i around 0

                          \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                        7. Step-by-step derivation
                          1. Applied rewrites47.3%

                            \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]

                          if 0.429999999999999993 < x < 1.18000000000000008e91

                          1. Initial program 15.0%

                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                          2. Add Preprocessing
                          3. Taylor expanded in y2 around inf

                            \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                          4. Step-by-step derivation
                            1. *-commutativeN/A

                              \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                            2. lower-*.f64N/A

                              \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                          5. Applied rewrites45.3%

                            \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                          6. Taylor expanded in y4 around inf

                            \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                          7. Step-by-step derivation
                            1. Applied rewrites30.8%

                              \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                            2. Taylor expanded in y1 around inf

                              \[\leadsto y1 \cdot \color{blue}{\left(y2 \cdot \left(-1 \cdot \left(a \cdot x\right) + k \cdot y4\right)\right)} \]
                            3. Step-by-step derivation
                              1. Applied rewrites56.0%

                                \[\leadsto \left(y1 \cdot y2\right) \cdot \color{blue}{\mathsf{fma}\left(-a, x, k \cdot y4\right)} \]

                              if 1.18000000000000008e91 < x

                              1. Initial program 31.3%

                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                              2. Add Preprocessing
                              3. Taylor expanded in y5 around -inf

                                \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                              4. Step-by-step derivation
                                1. mul-1-negN/A

                                  \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                2. distribute-lft-neg-inN/A

                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                3. lower-*.f64N/A

                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                4. lower-neg.f64N/A

                                  \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                5. lower--.f64N/A

                                  \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                              5. Applied rewrites36.3%

                                \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                              6. Taylor expanded in i around 0

                                \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                              7. Step-by-step derivation
                                1. Applied rewrites32.6%

                                  \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                2. Taylor expanded in x around inf

                                  \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                3. Step-by-step derivation
                                  1. lower-*.f64N/A

                                    \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                  2. lower--.f64N/A

                                    \[\leadsto x \cdot \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                4. Applied rewrites62.9%

                                  \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(-c, i, a \cdot b\right), y2 \cdot \mathsf{fma}\left(-a, y1, c \cdot y0\right)\right) - j \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)} \]
                              8. Recombined 4 regimes into one program.
                              9. Add Preprocessing

                              Alternative 10: 35.9% accurate, 2.7× speedup?

                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\ \mathbf{if}\;y1 \leq -1.4 \cdot 10^{+150}:\\ \;\;\;\;\left(y1 \cdot y2\right) \cdot \mathsf{fma}\left(-a, x, k \cdot y4\right)\\ \mathbf{elif}\;y1 \leq -3.6 \cdot 10^{-184}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y1 \leq 2 \cdot 10^{-300}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y1 \leq 1.1 \cdot 10^{+160}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(y4 \cdot \mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)\right) \cdot y2\\ \end{array} \end{array} \]
                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                               :precision binary64
                               (let* ((t_1
                                       (*
                                        (- y5)
                                        (-
                                         (* y0 (fma -1.0 (* j y3) (* k y2)))
                                         (* (fma y2 t (* (- y) y3)) a)))))
                                 (if (<= y1 -1.4e+150)
                                   (* (* y1 y2) (fma (- a) x (* k y4)))
                                   (if (<= y1 -3.6e-184)
                                     t_1
                                     (if (<= y1 2e-300)
                                       (* (* x y) (fma (- c) i (* a b)))
                                       (if (<= y1 1.1e+160) t_1 (* (* y4 (fma k y1 (* (- c) t))) y2)))))))
                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                              	double t_1 = -y5 * ((y0 * fma(-1.0, (j * y3), (k * y2))) - (fma(y2, t, (-y * y3)) * a));
                              	double tmp;
                              	if (y1 <= -1.4e+150) {
                              		tmp = (y1 * y2) * fma(-a, x, (k * y4));
                              	} else if (y1 <= -3.6e-184) {
                              		tmp = t_1;
                              	} else if (y1 <= 2e-300) {
                              		tmp = (x * y) * fma(-c, i, (a * b));
                              	} else if (y1 <= 1.1e+160) {
                              		tmp = t_1;
                              	} else {
                              		tmp = (y4 * fma(k, y1, (-c * t))) * y2;
                              	}
                              	return tmp;
                              }
                              
                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                              	t_1 = Float64(Float64(-y5) * Float64(Float64(y0 * fma(-1.0, Float64(j * y3), Float64(k * y2))) - Float64(fma(y2, t, Float64(Float64(-y) * y3)) * a)))
                              	tmp = 0.0
                              	if (y1 <= -1.4e+150)
                              		tmp = Float64(Float64(y1 * y2) * fma(Float64(-a), x, Float64(k * y4)));
                              	elseif (y1 <= -3.6e-184)
                              		tmp = t_1;
                              	elseif (y1 <= 2e-300)
                              		tmp = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)));
                              	elseif (y1 <= 1.1e+160)
                              		tmp = t_1;
                              	else
                              		tmp = Float64(Float64(y4 * fma(k, y1, Float64(Float64(-c) * t))) * y2);
                              	end
                              	return tmp
                              end
                              
                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[((-y5) * N[(N[(y0 * N[(-1.0 * N[(j * y3), $MachinePrecision] + N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * t + N[((-y) * y3), $MachinePrecision]), $MachinePrecision] * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y1, -1.4e+150], N[(N[(y1 * y2), $MachinePrecision] * N[((-a) * x + N[(k * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, -3.6e-184], t$95$1, If[LessEqual[y1, 2e-300], N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y1, 1.1e+160], t$95$1, N[(N[(y4 * N[(k * y1 + N[((-c) * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision]]]]]]
                              
                              \begin{array}{l}
                              
                              \\
                              \begin{array}{l}
                              t_1 := \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)\\
                              \mathbf{if}\;y1 \leq -1.4 \cdot 10^{+150}:\\
                              \;\;\;\;\left(y1 \cdot y2\right) \cdot \mathsf{fma}\left(-a, x, k \cdot y4\right)\\
                              
                              \mathbf{elif}\;y1 \leq -3.6 \cdot 10^{-184}:\\
                              \;\;\;\;t\_1\\
                              
                              \mathbf{elif}\;y1 \leq 2 \cdot 10^{-300}:\\
                              \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                              
                              \mathbf{elif}\;y1 \leq 1.1 \cdot 10^{+160}:\\
                              \;\;\;\;t\_1\\
                              
                              \mathbf{else}:\\
                              \;\;\;\;\left(y4 \cdot \mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)\right) \cdot y2\\
                              
                              
                              \end{array}
                              \end{array}
                              
                              Derivation
                              1. Split input into 4 regimes
                              2. if y1 < -1.40000000000000005e150

                                1. Initial program 23.5%

                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                2. Add Preprocessing
                                3. Taylor expanded in y2 around inf

                                  \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                4. Step-by-step derivation
                                  1. *-commutativeN/A

                                    \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                  2. lower-*.f64N/A

                                    \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                5. Applied rewrites40.4%

                                  \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                6. Taylor expanded in y4 around inf

                                  \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                7. Step-by-step derivation
                                  1. Applied rewrites27.7%

                                    \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                  2. Taylor expanded in y1 around inf

                                    \[\leadsto y1 \cdot \color{blue}{\left(y2 \cdot \left(-1 \cdot \left(a \cdot x\right) + k \cdot y4\right)\right)} \]
                                  3. Step-by-step derivation
                                    1. Applied rewrites67.0%

                                      \[\leadsto \left(y1 \cdot y2\right) \cdot \color{blue}{\mathsf{fma}\left(-a, x, k \cdot y4\right)} \]

                                    if -1.40000000000000005e150 < y1 < -3.6000000000000001e-184 or 2.00000000000000005e-300 < y1 < 1.09999999999999996e160

                                    1. Initial program 40.2%

                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                    2. Add Preprocessing
                                    3. Taylor expanded in y5 around -inf

                                      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                    4. Step-by-step derivation
                                      1. mul-1-negN/A

                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                      2. distribute-lft-neg-inN/A

                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                      3. lower-*.f64N/A

                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                      4. lower-neg.f64N/A

                                        \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                      5. lower--.f64N/A

                                        \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                    5. Applied rewrites50.9%

                                      \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                    6. Taylor expanded in i around 0

                                      \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                    7. Step-by-step derivation
                                      1. Applied rewrites48.2%

                                        \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]

                                      if -3.6000000000000001e-184 < y1 < 2.00000000000000005e-300

                                      1. Initial program 21.9%

                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                      2. Add Preprocessing
                                      3. Taylor expanded in y around -inf

                                        \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                      4. Step-by-step derivation
                                        1. mul-1-negN/A

                                          \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                        2. distribute-lft-neg-inN/A

                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                        3. lower-*.f64N/A

                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                        4. lower-neg.f64N/A

                                          \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                        5. lower--.f64N/A

                                          \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                      5. Applied rewrites37.7%

                                        \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                      6. Taylor expanded in a around -inf

                                        \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                      7. Step-by-step derivation
                                        1. Applied rewrites38.1%

                                          \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                        2. Taylor expanded in x around inf

                                          \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                        3. Step-by-step derivation
                                          1. Applied rewrites50.5%

                                            \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                          if 1.09999999999999996e160 < y1

                                          1. Initial program 31.0%

                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                          2. Add Preprocessing
                                          3. Taylor expanded in y2 around inf

                                            \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                          4. Step-by-step derivation
                                            1. *-commutativeN/A

                                              \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                            2. lower-*.f64N/A

                                              \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                          5. Applied rewrites38.1%

                                            \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                          6. Taylor expanded in y4 around inf

                                            \[\leadsto \left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right) \cdot y2 \]
                                          7. Step-by-step derivation
                                            1. Applied rewrites63.0%

                                              \[\leadsto \left(y4 \cdot \mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)\right) \cdot y2 \]
                                          8. Recombined 4 regimes into one program.
                                          9. Add Preprocessing

                                          Alternative 11: 32.7% accurate, 3.1× speedup?

                                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := x \cdot \left(a \cdot \mathsf{fma}\left(b, y, \left(-y1\right) \cdot y2\right)\right)\\ \mathbf{if}\;x \leq -2.7 \cdot 10^{+213}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;x \leq -3.5 \cdot 10^{+114}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;x \leq -1.4 \cdot 10^{-101}:\\ \;\;\;\;\left(y \cdot y5\right) \cdot \mathsf{fma}\left(i, k, \left(-a\right) \cdot y3\right)\\ \mathbf{elif}\;x \leq 0.41:\\ \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - a \cdot \left(t \cdot y2\right)\right)\\ \mathbf{elif}\;x \leq 1.9 \cdot 10^{+123}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-x\right) \cdot y1\right) \cdot \mathsf{fma}\left(a, y2, \left(-i\right) \cdot j\right)\\ \end{array} \end{array} \]
                                          (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                           :precision binary64
                                           (let* ((t_1 (* x (* a (fma b y (* (- y1) y2))))))
                                             (if (<= x -2.7e+213)
                                               t_1
                                               (if (<= x -3.5e+114)
                                                 (* j (* y0 (* y3 y5)))
                                                 (if (<= x -1.4e-101)
                                                   (* (* y y5) (fma i k (* (- a) y3)))
                                                   (if (<= x 0.41)
                                                     (* (- y5) (- (* y0 (fma -1.0 (* j y3) (* k y2))) (* a (* t y2))))
                                                     (if (<= x 1.9e+123)
                                                       t_1
                                                       (* (* (- x) y1) (fma a y2 (* (- i) j))))))))))
                                          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                          	double t_1 = x * (a * fma(b, y, (-y1 * y2)));
                                          	double tmp;
                                          	if (x <= -2.7e+213) {
                                          		tmp = t_1;
                                          	} else if (x <= -3.5e+114) {
                                          		tmp = j * (y0 * (y3 * y5));
                                          	} else if (x <= -1.4e-101) {
                                          		tmp = (y * y5) * fma(i, k, (-a * y3));
                                          	} else if (x <= 0.41) {
                                          		tmp = -y5 * ((y0 * fma(-1.0, (j * y3), (k * y2))) - (a * (t * y2)));
                                          	} else if (x <= 1.9e+123) {
                                          		tmp = t_1;
                                          	} else {
                                          		tmp = (-x * y1) * fma(a, y2, (-i * j));
                                          	}
                                          	return tmp;
                                          }
                                          
                                          function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                          	t_1 = Float64(x * Float64(a * fma(b, y, Float64(Float64(-y1) * y2))))
                                          	tmp = 0.0
                                          	if (x <= -2.7e+213)
                                          		tmp = t_1;
                                          	elseif (x <= -3.5e+114)
                                          		tmp = Float64(j * Float64(y0 * Float64(y3 * y5)));
                                          	elseif (x <= -1.4e-101)
                                          		tmp = Float64(Float64(y * y5) * fma(i, k, Float64(Float64(-a) * y3)));
                                          	elseif (x <= 0.41)
                                          		tmp = Float64(Float64(-y5) * Float64(Float64(y0 * fma(-1.0, Float64(j * y3), Float64(k * y2))) - Float64(a * Float64(t * y2))));
                                          	elseif (x <= 1.9e+123)
                                          		tmp = t_1;
                                          	else
                                          		tmp = Float64(Float64(Float64(-x) * y1) * fma(a, y2, Float64(Float64(-i) * j)));
                                          	end
                                          	return tmp
                                          end
                                          
                                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(x * N[(a * N[(b * y + N[((-y1) * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[x, -2.7e+213], t$95$1, If[LessEqual[x, -3.5e+114], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, -1.4e-101], N[(N[(y * y5), $MachinePrecision] * N[(i * k + N[((-a) * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 0.41], N[((-y5) * N[(N[(y0 * N[(-1.0 * N[(j * y3), $MachinePrecision] + N[(k * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(a * N[(t * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[x, 1.9e+123], t$95$1, N[(N[((-x) * y1), $MachinePrecision] * N[(a * y2 + N[((-i) * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
                                          
                                          \begin{array}{l}
                                          
                                          \\
                                          \begin{array}{l}
                                          t_1 := x \cdot \left(a \cdot \mathsf{fma}\left(b, y, \left(-y1\right) \cdot y2\right)\right)\\
                                          \mathbf{if}\;x \leq -2.7 \cdot 10^{+213}:\\
                                          \;\;\;\;t\_1\\
                                          
                                          \mathbf{elif}\;x \leq -3.5 \cdot 10^{+114}:\\
                                          \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                          
                                          \mathbf{elif}\;x \leq -1.4 \cdot 10^{-101}:\\
                                          \;\;\;\;\left(y \cdot y5\right) \cdot \mathsf{fma}\left(i, k, \left(-a\right) \cdot y3\right)\\
                                          
                                          \mathbf{elif}\;x \leq 0.41:\\
                                          \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - a \cdot \left(t \cdot y2\right)\right)\\
                                          
                                          \mathbf{elif}\;x \leq 1.9 \cdot 10^{+123}:\\
                                          \;\;\;\;t\_1\\
                                          
                                          \mathbf{else}:\\
                                          \;\;\;\;\left(\left(-x\right) \cdot y1\right) \cdot \mathsf{fma}\left(a, y2, \left(-i\right) \cdot j\right)\\
                                          
                                          
                                          \end{array}
                                          \end{array}
                                          
                                          Derivation
                                          1. Split input into 5 regimes
                                          2. if x < -2.7000000000000001e213 or 0.409999999999999976 < x < 1.89999999999999997e123

                                            1. Initial program 23.8%

                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                            2. Add Preprocessing
                                            3. Taylor expanded in y5 around -inf

                                              \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                            4. Step-by-step derivation
                                              1. mul-1-negN/A

                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                              2. distribute-lft-neg-inN/A

                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                              3. lower-*.f64N/A

                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                              4. lower-neg.f64N/A

                                                \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                              5. lower--.f64N/A

                                                \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                            5. Applied rewrites26.5%

                                              \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                            6. Taylor expanded in i around 0

                                              \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                            7. Step-by-step derivation
                                              1. Applied rewrites29.4%

                                                \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                              2. Taylor expanded in x around inf

                                                \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                              3. Step-by-step derivation
                                                1. lower-*.f64N/A

                                                  \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                2. lower--.f64N/A

                                                  \[\leadsto x \cdot \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                              4. Applied rewrites48.1%

                                                \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(-c, i, a \cdot b\right), y2 \cdot \mathsf{fma}\left(-a, y1, c \cdot y0\right)\right) - j \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)} \]
                                              5. Taylor expanded in a around inf

                                                \[\leadsto x \cdot \left(a \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot y2\right) + b \cdot y\right)}\right) \]
                                              6. Step-by-step derivation
                                                1. Applied rewrites57.1%

                                                  \[\leadsto x \cdot \left(a \cdot \color{blue}{\mathsf{fma}\left(b, y, -y1 \cdot y2\right)}\right) \]

                                                if -2.7000000000000001e213 < x < -3.5000000000000001e114

                                                1. Initial program 17.3%

                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                2. Add Preprocessing
                                                3. Taylor expanded in y5 around -inf

                                                  \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                4. Step-by-step derivation
                                                  1. mul-1-negN/A

                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                  2. distribute-lft-neg-inN/A

                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                  3. lower-*.f64N/A

                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                  4. lower-neg.f64N/A

                                                    \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                  5. lower--.f64N/A

                                                    \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                5. Applied rewrites45.0%

                                                  \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                6. Taylor expanded in y3 around -inf

                                                  \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                7. Step-by-step derivation
                                                  1. Applied rewrites56.4%

                                                    \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                  2. Taylor expanded in y around 0

                                                    \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                  3. Step-by-step derivation
                                                    1. Applied rewrites67.1%

                                                      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                    if -3.5000000000000001e114 < x < -1.39999999999999995e-101

                                                    1. Initial program 35.9%

                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                    2. Add Preprocessing
                                                    3. Taylor expanded in y5 around -inf

                                                      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                    4. Step-by-step derivation
                                                      1. mul-1-negN/A

                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                      2. distribute-lft-neg-inN/A

                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                      3. lower-*.f64N/A

                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                      4. lower-neg.f64N/A

                                                        \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                      5. lower--.f64N/A

                                                        \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                    5. Applied rewrites46.3%

                                                      \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                    6. Taylor expanded in y around -inf

                                                      \[\leadsto y \cdot \color{blue}{\left(y5 \cdot \left(i \cdot k - a \cdot y3\right)\right)} \]
                                                    7. Step-by-step derivation
                                                      1. Applied rewrites46.5%

                                                        \[\leadsto \left(y \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(i, k, \left(-a\right) \cdot y3\right)} \]

                                                      if -1.39999999999999995e-101 < x < 0.409999999999999976

                                                      1. Initial program 44.2%

                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                      2. Add Preprocessing
                                                      3. Taylor expanded in y5 around -inf

                                                        \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                      4. Step-by-step derivation
                                                        1. mul-1-negN/A

                                                          \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                        2. distribute-lft-neg-inN/A

                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                        3. lower-*.f64N/A

                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                        4. lower-neg.f64N/A

                                                          \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                        5. lower--.f64N/A

                                                          \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                      5. Applied rewrites55.5%

                                                        \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                      6. Taylor expanded in i around 0

                                                        \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                      7. Step-by-step derivation
                                                        1. Applied rewrites51.3%

                                                          \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                        2. Taylor expanded in y around 0

                                                          \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - a \cdot \color{blue}{\left(t \cdot y2\right)}\right) \]
                                                        3. Step-by-step derivation
                                                          1. Applied rewrites50.5%

                                                            \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - a \cdot \color{blue}{\left(t \cdot y2\right)}\right) \]

                                                          if 1.89999999999999997e123 < x

                                                          1. Initial program 30.2%

                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                          2. Add Preprocessing
                                                          3. Taylor expanded in y5 around -inf

                                                            \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                          4. Step-by-step derivation
                                                            1. mul-1-negN/A

                                                              \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                            2. distribute-lft-neg-inN/A

                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                            3. lower-*.f64N/A

                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                            4. lower-neg.f64N/A

                                                              \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                            5. lower--.f64N/A

                                                              \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                          5. Applied rewrites33.7%

                                                            \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                          6. Taylor expanded in i around 0

                                                            \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                          7. Step-by-step derivation
                                                            1. Applied rewrites29.0%

                                                              \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                            2. Taylor expanded in x around inf

                                                              \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                            3. Step-by-step derivation
                                                              1. lower-*.f64N/A

                                                                \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                              2. lower--.f64N/A

                                                                \[\leadsto x \cdot \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                            4. Applied rewrites62.9%

                                                              \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(-c, i, a \cdot b\right), y2 \cdot \mathsf{fma}\left(-a, y1, c \cdot y0\right)\right) - j \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)} \]
                                                            5. Taylor expanded in y1 around -inf

                                                              \[\leadsto -1 \cdot \color{blue}{\left(x \cdot \left(y1 \cdot \left(a \cdot y2 - i \cdot j\right)\right)\right)} \]
                                                            6. Step-by-step derivation
                                                              1. Applied rewrites49.9%

                                                                \[\leadsto -\left(x \cdot y1\right) \cdot \mathsf{fma}\left(a, y2, \left(-i\right) \cdot j\right) \]
                                                            7. Recombined 5 regimes into one program.
                                                            8. Final simplification52.1%

                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;x \leq -2.7 \cdot 10^{+213}:\\ \;\;\;\;x \cdot \left(a \cdot \mathsf{fma}\left(b, y, \left(-y1\right) \cdot y2\right)\right)\\ \mathbf{elif}\;x \leq -3.5 \cdot 10^{+114}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;x \leq -1.4 \cdot 10^{-101}:\\ \;\;\;\;\left(y \cdot y5\right) \cdot \mathsf{fma}\left(i, k, \left(-a\right) \cdot y3\right)\\ \mathbf{elif}\;x \leq 0.41:\\ \;\;\;\;\left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - a \cdot \left(t \cdot y2\right)\right)\\ \mathbf{elif}\;x \leq 1.9 \cdot 10^{+123}:\\ \;\;\;\;x \cdot \left(a \cdot \mathsf{fma}\left(b, y, \left(-y1\right) \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(-x\right) \cdot y1\right) \cdot \mathsf{fma}\left(a, y2, \left(-i\right) \cdot j\right)\\ \end{array} \]
                                                            9. Add Preprocessing

                                                            Alternative 12: 31.6% accurate, 3.3× speedup?

                                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ t_2 := \left(\left(-k\right) \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b\\ \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -9.2 \cdot 10^{-41}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq 7.6 \cdot 10^{-267}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\ \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-168}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-25}:\\ \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;y3 \leq 2.95 \cdot 10^{+168}:\\ \;\;\;\;t\_2\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                             :precision binary64
                                                             (let* ((t_1 (* (* y3 y5) (fma j y0 (* (- a) y))))
                                                                    (t_2 (* (* (- k) (fma y y4 (* (- y0) z))) b)))
                                                               (if (<= y3 -1.46e+58)
                                                                 t_1
                                                                 (if (<= y3 -9.2e-41)
                                                                   (* (* x y) (fma (- c) i (* a b)))
                                                                   (if (<= y3 7.6e-267)
                                                                     (* (* c (fma x y0 (* (- t) y4))) y2)
                                                                     (if (<= y3 3.2e-168)
                                                                       t_2
                                                                       (if (<= y3 3.2e-25)
                                                                         (* (* (- y5) (fma k y0 (* (- a) t))) y2)
                                                                         (if (<= y3 2.95e+168) t_2 t_1))))))))
                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                            	double t_1 = (y3 * y5) * fma(j, y0, (-a * y));
                                                            	double t_2 = (-k * fma(y, y4, (-y0 * z))) * b;
                                                            	double tmp;
                                                            	if (y3 <= -1.46e+58) {
                                                            		tmp = t_1;
                                                            	} else if (y3 <= -9.2e-41) {
                                                            		tmp = (x * y) * fma(-c, i, (a * b));
                                                            	} else if (y3 <= 7.6e-267) {
                                                            		tmp = (c * fma(x, y0, (-t * y4))) * y2;
                                                            	} else if (y3 <= 3.2e-168) {
                                                            		tmp = t_2;
                                                            	} else if (y3 <= 3.2e-25) {
                                                            		tmp = (-y5 * fma(k, y0, (-a * t))) * y2;
                                                            	} else if (y3 <= 2.95e+168) {
                                                            		tmp = t_2;
                                                            	} else {
                                                            		tmp = t_1;
                                                            	}
                                                            	return tmp;
                                                            }
                                                            
                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                            	t_1 = Float64(Float64(y3 * y5) * fma(j, y0, Float64(Float64(-a) * y)))
                                                            	t_2 = Float64(Float64(Float64(-k) * fma(y, y4, Float64(Float64(-y0) * z))) * b)
                                                            	tmp = 0.0
                                                            	if (y3 <= -1.46e+58)
                                                            		tmp = t_1;
                                                            	elseif (y3 <= -9.2e-41)
                                                            		tmp = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)));
                                                            	elseif (y3 <= 7.6e-267)
                                                            		tmp = Float64(Float64(c * fma(x, y0, Float64(Float64(-t) * y4))) * y2);
                                                            	elseif (y3 <= 3.2e-168)
                                                            		tmp = t_2;
                                                            	elseif (y3 <= 3.2e-25)
                                                            		tmp = Float64(Float64(Float64(-y5) * fma(k, y0, Float64(Float64(-a) * t))) * y2);
                                                            	elseif (y3 <= 2.95e+168)
                                                            		tmp = t_2;
                                                            	else
                                                            		tmp = t_1;
                                                            	end
                                                            	return tmp
                                                            end
                                                            
                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y3 * y5), $MachinePrecision] * N[(j * y0 + N[((-a) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[((-k) * N[(y * y4 + N[((-y0) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision]}, If[LessEqual[y3, -1.46e+58], t$95$1, If[LessEqual[y3, -9.2e-41], N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 7.6e-267], N[(N[(c * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y3, 3.2e-168], t$95$2, If[LessEqual[y3, 3.2e-25], N[(N[((-y5) * N[(k * y0 + N[((-a) * t), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y3, 2.95e+168], t$95$2, t$95$1]]]]]]]]
                                                            
                                                            \begin{array}{l}
                                                            
                                                            \\
                                                            \begin{array}{l}
                                                            t_1 := \left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\
                                                            t_2 := \left(\left(-k\right) \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b\\
                                                            \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\
                                                            \;\;\;\;t\_1\\
                                                            
                                                            \mathbf{elif}\;y3 \leq -9.2 \cdot 10^{-41}:\\
                                                            \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                                                            
                                                            \mathbf{elif}\;y3 \leq 7.6 \cdot 10^{-267}:\\
                                                            \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\
                                                            
                                                            \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-168}:\\
                                                            \;\;\;\;t\_2\\
                                                            
                                                            \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-25}:\\
                                                            \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\
                                                            
                                                            \mathbf{elif}\;y3 \leq 2.95 \cdot 10^{+168}:\\
                                                            \;\;\;\;t\_2\\
                                                            
                                                            \mathbf{else}:\\
                                                            \;\;\;\;t\_1\\
                                                            
                                                            
                                                            \end{array}
                                                            \end{array}
                                                            
                                                            Derivation
                                                            1. Split input into 5 regimes
                                                            2. if y3 < -1.4599999999999999e58 or 2.94999999999999993e168 < y3

                                                              1. Initial program 19.6%

                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                              2. Add Preprocessing
                                                              3. Taylor expanded in y5 around -inf

                                                                \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                              4. Step-by-step derivation
                                                                1. mul-1-negN/A

                                                                  \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                2. distribute-lft-neg-inN/A

                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                3. lower-*.f64N/A

                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                4. lower-neg.f64N/A

                                                                  \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                5. lower--.f64N/A

                                                                  \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                              5. Applied rewrites40.3%

                                                                \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                              6. Taylor expanded in y3 around -inf

                                                                \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                              7. Step-by-step derivation
                                                                1. Applied rewrites56.2%

                                                                  \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]

                                                                if -1.4599999999999999e58 < y3 < -9.20000000000000041e-41

                                                                1. Initial program 52.5%

                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                2. Add Preprocessing
                                                                3. Taylor expanded in y around -inf

                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                4. Step-by-step derivation
                                                                  1. mul-1-negN/A

                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                  2. distribute-lft-neg-inN/A

                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                  3. lower-*.f64N/A

                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                  4. lower-neg.f64N/A

                                                                    \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                  5. lower--.f64N/A

                                                                    \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                5. Applied rewrites59.0%

                                                                  \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                6. Taylor expanded in a around -inf

                                                                  \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                7. Step-by-step derivation
                                                                  1. Applied rewrites17.5%

                                                                    \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                  2. Taylor expanded in x around inf

                                                                    \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                                                  3. Step-by-step derivation
                                                                    1. Applied rewrites53.1%

                                                                      \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                                                    if -9.20000000000000041e-41 < y3 < 7.60000000000000006e-267

                                                                    1. Initial program 43.9%

                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                    2. Add Preprocessing
                                                                    3. Taylor expanded in y2 around inf

                                                                      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                    4. Step-by-step derivation
                                                                      1. *-commutativeN/A

                                                                        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                      2. lower-*.f64N/A

                                                                        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                    5. Applied rewrites38.7%

                                                                      \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                    6. Taylor expanded in c around inf

                                                                      \[\leadsto \left(c \cdot \left(x \cdot y0 - t \cdot y4\right)\right) \cdot y2 \]
                                                                    7. Step-by-step derivation
                                                                      1. Applied rewrites46.5%

                                                                        \[\leadsto \left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2 \]

                                                                      if 7.60000000000000006e-267 < y3 < 3.20000000000000006e-168 or 3.2000000000000001e-25 < y3 < 2.94999999999999993e168

                                                                      1. Initial program 31.1%

                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                      2. Add Preprocessing
                                                                      3. Taylor expanded in b around inf

                                                                        \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                      4. Step-by-step derivation
                                                                        1. *-commutativeN/A

                                                                          \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                        2. lower-*.f64N/A

                                                                          \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                      5. Applied rewrites49.0%

                                                                        \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b} \]
                                                                      6. Taylor expanded in k around -inf

                                                                        \[\leadsto \left(-1 \cdot \left(k \cdot \left(y \cdot y4 - y0 \cdot z\right)\right)\right) \cdot b \]
                                                                      7. Step-by-step derivation
                                                                        1. Applied rewrites54.5%

                                                                          \[\leadsto \left(-k \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b \]

                                                                        if 3.20000000000000006e-168 < y3 < 3.2000000000000001e-25

                                                                        1. Initial program 55.4%

                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                        2. Add Preprocessing
                                                                        3. Taylor expanded in y2 around inf

                                                                          \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                        4. Step-by-step derivation
                                                                          1. *-commutativeN/A

                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                          2. lower-*.f64N/A

                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                        5. Applied rewrites57.1%

                                                                          \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                        6. Taylor expanded in y5 around -inf

                                                                          \[\leadsto \left(-1 \cdot \left(y5 \cdot \left(k \cdot y0 - a \cdot t\right)\right)\right) \cdot y2 \]
                                                                        7. Step-by-step derivation
                                                                          1. Applied rewrites48.6%

                                                                            \[\leadsto \left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2 \]
                                                                        8. Recombined 5 regimes into one program.
                                                                        9. Final simplification52.4%

                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \mathbf{elif}\;y3 \leq -9.2 \cdot 10^{-41}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq 7.6 \cdot 10^{-267}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\ \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-168}:\\ \;\;\;\;\left(\left(-k\right) \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b\\ \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-25}:\\ \;\;\;\;\left(\left(-y5\right) \cdot \mathsf{fma}\left(k, y0, \left(-a\right) \cdot t\right)\right) \cdot y2\\ \mathbf{elif}\;y3 \leq 2.95 \cdot 10^{+168}:\\ \;\;\;\;\left(\left(-k\right) \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \end{array} \]
                                                                        10. Add Preprocessing

                                                                        Alternative 13: 30.9% accurate, 3.4× speedup?

                                                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \mathbf{elif}\;y3 \leq -7.8 \cdot 10^{-42}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq -7.6 \cdot 10^{-255}:\\ \;\;\;\;\left(c \cdot y2\right) \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\\ \mathbf{elif}\;y3 \leq 1.95 \cdot 10^{-113}:\\ \;\;\;\;\left(j \cdot \mathsf{fma}\left(t, y4, \left(-x\right) \cdot y0\right)\right) \cdot b\\ \mathbf{elif}\;y3 \leq 5.2 \cdot 10^{+73}:\\ \;\;\;\;\left(x \cdot y2\right) \cdot \mathsf{fma}\left(-a, y1, c \cdot y0\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                         :precision binary64
                                                                         (if (<= y3 -1.46e+58)
                                                                           (* (* y3 y5) (fma j y0 (* (- a) y)))
                                                                           (if (<= y3 -7.8e-42)
                                                                             (* (* x y) (fma (- c) i (* a b)))
                                                                             (if (<= y3 -7.6e-255)
                                                                               (* (* c y2) (fma x y0 (* (- t) y4)))
                                                                               (if (<= y3 1.95e-113)
                                                                                 (* (* j (fma t y4 (* (- x) y0))) b)
                                                                                 (if (<= y3 5.2e+73)
                                                                                   (* (* x y2) (fma (- a) y1 (* c y0)))
                                                                                   (if (<= y3 8e+238)
                                                                                     (* y5 (* y0 (fma (- k) y2 (* y3 j))))
                                                                                     (* (* a y) (fma b x (* (- y3) y5))))))))))
                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                        	double tmp;
                                                                        	if (y3 <= -1.46e+58) {
                                                                        		tmp = (y3 * y5) * fma(j, y0, (-a * y));
                                                                        	} else if (y3 <= -7.8e-42) {
                                                                        		tmp = (x * y) * fma(-c, i, (a * b));
                                                                        	} else if (y3 <= -7.6e-255) {
                                                                        		tmp = (c * y2) * fma(x, y0, (-t * y4));
                                                                        	} else if (y3 <= 1.95e-113) {
                                                                        		tmp = (j * fma(t, y4, (-x * y0))) * b;
                                                                        	} else if (y3 <= 5.2e+73) {
                                                                        		tmp = (x * y2) * fma(-a, y1, (c * y0));
                                                                        	} else if (y3 <= 8e+238) {
                                                                        		tmp = y5 * (y0 * fma(-k, y2, (y3 * j)));
                                                                        	} else {
                                                                        		tmp = (a * y) * fma(b, x, (-y3 * y5));
                                                                        	}
                                                                        	return tmp;
                                                                        }
                                                                        
                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                        	tmp = 0.0
                                                                        	if (y3 <= -1.46e+58)
                                                                        		tmp = Float64(Float64(y3 * y5) * fma(j, y0, Float64(Float64(-a) * y)));
                                                                        	elseif (y3 <= -7.8e-42)
                                                                        		tmp = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)));
                                                                        	elseif (y3 <= -7.6e-255)
                                                                        		tmp = Float64(Float64(c * y2) * fma(x, y0, Float64(Float64(-t) * y4)));
                                                                        	elseif (y3 <= 1.95e-113)
                                                                        		tmp = Float64(Float64(j * fma(t, y4, Float64(Float64(-x) * y0))) * b);
                                                                        	elseif (y3 <= 5.2e+73)
                                                                        		tmp = Float64(Float64(x * y2) * fma(Float64(-a), y1, Float64(c * y0)));
                                                                        	elseif (y3 <= 8e+238)
                                                                        		tmp = Float64(y5 * Float64(y0 * fma(Float64(-k), y2, Float64(y3 * j))));
                                                                        	else
                                                                        		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
                                                                        	end
                                                                        	return tmp
                                                                        end
                                                                        
                                                                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -1.46e+58], N[(N[(y3 * y5), $MachinePrecision] * N[(j * y0 + N[((-a) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -7.8e-42], N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -7.6e-255], N[(N[(c * y2), $MachinePrecision] * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.95e-113], N[(N[(j * N[(t * y4 + N[((-x) * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], If[LessEqual[y3, 5.2e+73], N[(N[(x * y2), $MachinePrecision] * N[((-a) * y1 + N[(c * y0), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8e+238], N[(y5 * N[(y0 * N[((-k) * y2 + N[(y3 * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
                                                                        
                                                                        \begin{array}{l}
                                                                        
                                                                        \\
                                                                        \begin{array}{l}
                                                                        \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\
                                                                        \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\
                                                                        
                                                                        \mathbf{elif}\;y3 \leq -7.8 \cdot 10^{-42}:\\
                                                                        \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                                                                        
                                                                        \mathbf{elif}\;y3 \leq -7.6 \cdot 10^{-255}:\\
                                                                        \;\;\;\;\left(c \cdot y2\right) \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\\
                                                                        
                                                                        \mathbf{elif}\;y3 \leq 1.95 \cdot 10^{-113}:\\
                                                                        \;\;\;\;\left(j \cdot \mathsf{fma}\left(t, y4, \left(-x\right) \cdot y0\right)\right) \cdot b\\
                                                                        
                                                                        \mathbf{elif}\;y3 \leq 5.2 \cdot 10^{+73}:\\
                                                                        \;\;\;\;\left(x \cdot y2\right) \cdot \mathsf{fma}\left(-a, y1, c \cdot y0\right)\\
                                                                        
                                                                        \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                        \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\
                                                                        
                                                                        \mathbf{else}:\\
                                                                        \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\
                                                                        
                                                                        
                                                                        \end{array}
                                                                        \end{array}
                                                                        
                                                                        Derivation
                                                                        1. Split input into 7 regimes
                                                                        2. if y3 < -1.4599999999999999e58

                                                                          1. Initial program 19.1%

                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                          2. Add Preprocessing
                                                                          3. Taylor expanded in y5 around -inf

                                                                            \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                          4. Step-by-step derivation
                                                                            1. mul-1-negN/A

                                                                              \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                            2. distribute-lft-neg-inN/A

                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                            3. lower-*.f64N/A

                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                            4. lower-neg.f64N/A

                                                                              \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                            5. lower--.f64N/A

                                                                              \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                          5. Applied rewrites37.8%

                                                                            \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                          6. Taylor expanded in y3 around -inf

                                                                            \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                          7. Step-by-step derivation
                                                                            1. Applied rewrites56.4%

                                                                              \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]

                                                                            if -1.4599999999999999e58 < y3 < -7.8000000000000003e-42

                                                                            1. Initial program 52.5%

                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                            2. Add Preprocessing
                                                                            3. Taylor expanded in y around -inf

                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                            4. Step-by-step derivation
                                                                              1. mul-1-negN/A

                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                              2. distribute-lft-neg-inN/A

                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                              3. lower-*.f64N/A

                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                              4. lower-neg.f64N/A

                                                                                \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                              5. lower--.f64N/A

                                                                                \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                            5. Applied rewrites59.0%

                                                                              \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                            6. Taylor expanded in a around -inf

                                                                              \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                            7. Step-by-step derivation
                                                                              1. Applied rewrites17.5%

                                                                                \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                              2. Taylor expanded in x around inf

                                                                                \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                                                              3. Step-by-step derivation
                                                                                1. Applied rewrites53.1%

                                                                                  \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                                                                if -7.8000000000000003e-42 < y3 < -7.6e-255

                                                                                1. Initial program 46.6%

                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                2. Add Preprocessing
                                                                                3. Taylor expanded in y2 around inf

                                                                                  \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                4. Step-by-step derivation
                                                                                  1. *-commutativeN/A

                                                                                    \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                  2. lower-*.f64N/A

                                                                                    \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                5. Applied rewrites39.1%

                                                                                  \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                6. Taylor expanded in c around inf

                                                                                  \[\leadsto c \cdot \color{blue}{\left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)} \]
                                                                                7. Step-by-step derivation
                                                                                  1. Applied rewrites45.0%

                                                                                    \[\leadsto \left(c \cdot y2\right) \cdot \color{blue}{\mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)} \]

                                                                                  if -7.6e-255 < y3 < 1.9499999999999999e-113

                                                                                  1. Initial program 41.6%

                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                  2. Add Preprocessing
                                                                                  3. Taylor expanded in b around inf

                                                                                    \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                  4. Step-by-step derivation
                                                                                    1. *-commutativeN/A

                                                                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                    2. lower-*.f64N/A

                                                                                      \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                  5. Applied rewrites40.6%

                                                                                    \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b} \]
                                                                                  6. Taylor expanded in j around inf

                                                                                    \[\leadsto \left(j \cdot \left(t \cdot y4 - x \cdot y0\right)\right) \cdot b \]
                                                                                  7. Step-by-step derivation
                                                                                    1. Applied rewrites41.0%

                                                                                      \[\leadsto \left(j \cdot \mathsf{fma}\left(t, y4, \left(-x\right) \cdot y0\right)\right) \cdot b \]

                                                                                    if 1.9499999999999999e-113 < y3 < 5.2000000000000001e73

                                                                                    1. Initial program 41.8%

                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                    2. Add Preprocessing
                                                                                    3. Taylor expanded in y2 around inf

                                                                                      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                    4. Step-by-step derivation
                                                                                      1. *-commutativeN/A

                                                                                        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                      2. lower-*.f64N/A

                                                                                        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                    5. Applied rewrites54.7%

                                                                                      \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                    6. Taylor expanded in y4 around inf

                                                                                      \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                                                                    7. Step-by-step derivation
                                                                                      1. Applied rewrites20.5%

                                                                                        \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                                                                      2. Taylor expanded in x around inf

                                                                                        \[\leadsto x \cdot \color{blue}{\left(y2 \cdot \left(-1 \cdot \left(a \cdot y1\right) + c \cdot y0\right)\right)} \]
                                                                                      3. Step-by-step derivation
                                                                                        1. Applied rewrites42.9%

                                                                                          \[\leadsto \left(x \cdot y2\right) \cdot \color{blue}{\mathsf{fma}\left(-a, y1, c \cdot y0\right)} \]

                                                                                        if 5.2000000000000001e73 < y3 < 8.0000000000000004e238

                                                                                        1. Initial program 21.2%

                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                        2. Add Preprocessing
                                                                                        3. Taylor expanded in y5 around -inf

                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                        4. Step-by-step derivation
                                                                                          1. mul-1-negN/A

                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                          2. distribute-lft-neg-inN/A

                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                          3. lower-*.f64N/A

                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                          4. lower-neg.f64N/A

                                                                                            \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                          5. lower--.f64N/A

                                                                                            \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                        5. Applied rewrites49.0%

                                                                                          \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                        6. Taylor expanded in i around 0

                                                                                          \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                        7. Step-by-step derivation
                                                                                          1. Applied rewrites55.2%

                                                                                            \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                          2. Taylor expanded in y0 around inf

                                                                                            \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                          3. Step-by-step derivation
                                                                                            1. Applied rewrites49.6%

                                                                                              \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                            2. Step-by-step derivation
                                                                                              1. Applied rewrites58.4%

                                                                                                \[\leadsto y5 \cdot \left(y0 \cdot \color{blue}{\mathsf{fma}\left(-k, y2, y3 \cdot j\right)}\right) \]

                                                                                              if 8.0000000000000004e238 < y3

                                                                                              1. Initial program 33.3%

                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                              2. Add Preprocessing
                                                                                              3. Taylor expanded in y around -inf

                                                                                                \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                              4. Step-by-step derivation
                                                                                                1. mul-1-negN/A

                                                                                                  \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                2. distribute-lft-neg-inN/A

                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                3. lower-*.f64N/A

                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                4. lower-neg.f64N/A

                                                                                                  \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                5. lower--.f64N/A

                                                                                                  \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                              5. Applied rewrites60.0%

                                                                                                \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                              6. Taylor expanded in a around -inf

                                                                                                \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                              7. Step-by-step derivation
                                                                                                1. Applied rewrites73.5%

                                                                                                  \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                              8. Recombined 7 regimes into one program.
                                                                                              9. Add Preprocessing

                                                                                              Alternative 14: 23.7% accurate, 3.4× speedup?

                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{if}\;y3 \leq -4.2 \cdot 10^{+111}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -1.36 \cdot 10^{-44}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq 1.9 \cdot 10^{-274}:\\ \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\ \mathbf{elif}\;y3 \leq 4.3 \cdot 10^{-158}:\\ \;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\ \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                               :precision binary64
                                                                                               (let* ((t_1 (* j (* y0 (* y3 y5)))))
                                                                                                 (if (<= y3 -4.2e+111)
                                                                                                   t_1
                                                                                                   (if (<= y3 -1.36e-44)
                                                                                                     (* (* x y) (fma (- c) i (* a b)))
                                                                                                     (if (<= y3 1.9e-274)
                                                                                                       (* (* y2 y4) (* (- c) t))
                                                                                                       (if (<= y3 4.3e-158)
                                                                                                         (* (* i y) (fma k y5 (* (- c) x)))
                                                                                                         (if (<= y3 8e+17)
                                                                                                           (- (* k (* (* y0 y2) y5)))
                                                                                                           (if (<= y3 8e+238) t_1 (* (* a y) (fma b x (* (- y3) y5)))))))))))
                                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                              	double t_1 = j * (y0 * (y3 * y5));
                                                                                              	double tmp;
                                                                                              	if (y3 <= -4.2e+111) {
                                                                                              		tmp = t_1;
                                                                                              	} else if (y3 <= -1.36e-44) {
                                                                                              		tmp = (x * y) * fma(-c, i, (a * b));
                                                                                              	} else if (y3 <= 1.9e-274) {
                                                                                              		tmp = (y2 * y4) * (-c * t);
                                                                                              	} else if (y3 <= 4.3e-158) {
                                                                                              		tmp = (i * y) * fma(k, y5, (-c * x));
                                                                                              	} else if (y3 <= 8e+17) {
                                                                                              		tmp = -(k * ((y0 * y2) * y5));
                                                                                              	} else if (y3 <= 8e+238) {
                                                                                              		tmp = t_1;
                                                                                              	} else {
                                                                                              		tmp = (a * y) * fma(b, x, (-y3 * y5));
                                                                                              	}
                                                                                              	return tmp;
                                                                                              }
                                                                                              
                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                              	t_1 = Float64(j * Float64(y0 * Float64(y3 * y5)))
                                                                                              	tmp = 0.0
                                                                                              	if (y3 <= -4.2e+111)
                                                                                              		tmp = t_1;
                                                                                              	elseif (y3 <= -1.36e-44)
                                                                                              		tmp = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)));
                                                                                              	elseif (y3 <= 1.9e-274)
                                                                                              		tmp = Float64(Float64(y2 * y4) * Float64(Float64(-c) * t));
                                                                                              	elseif (y3 <= 4.3e-158)
                                                                                              		tmp = Float64(Float64(i * y) * fma(k, y5, Float64(Float64(-c) * x)));
                                                                                              	elseif (y3 <= 8e+17)
                                                                                              		tmp = Float64(-Float64(k * Float64(Float64(y0 * y2) * y5)));
                                                                                              	elseif (y3 <= 8e+238)
                                                                                              		tmp = t_1;
                                                                                              	else
                                                                                              		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
                                                                                              	end
                                                                                              	return tmp
                                                                                              end
                                                                                              
                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -4.2e+111], t$95$1, If[LessEqual[y3, -1.36e-44], N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.9e-274], N[(N[(y2 * y4), $MachinePrecision] * N[((-c) * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.3e-158], N[(N[(i * y), $MachinePrecision] * N[(k * y5 + N[((-c) * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8e+17], (-N[(k * N[(N[(y0 * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y3, 8e+238], t$95$1, N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]
                                                                                              
                                                                                              \begin{array}{l}
                                                                                              
                                                                                              \\
                                                                                              \begin{array}{l}
                                                                                              t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                              \mathbf{if}\;y3 \leq -4.2 \cdot 10^{+111}:\\
                                                                                              \;\;\;\;t\_1\\
                                                                                              
                                                                                              \mathbf{elif}\;y3 \leq -1.36 \cdot 10^{-44}:\\
                                                                                              \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                                                                                              
                                                                                              \mathbf{elif}\;y3 \leq 1.9 \cdot 10^{-274}:\\
                                                                                              \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\
                                                                                              
                                                                                              \mathbf{elif}\;y3 \leq 4.3 \cdot 10^{-158}:\\
                                                                                              \;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\
                                                                                              
                                                                                              \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\
                                                                                              \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\
                                                                                              
                                                                                              \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                              \;\;\;\;t\_1\\
                                                                                              
                                                                                              \mathbf{else}:\\
                                                                                              \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\
                                                                                              
                                                                                              
                                                                                              \end{array}
                                                                                              \end{array}
                                                                                              
                                                                                              Derivation
                                                                                              1. Split input into 6 regimes
                                                                                              2. if y3 < -4.1999999999999999e111 or 8e17 < y3 < 8.0000000000000004e238

                                                                                                1. Initial program 18.6%

                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                2. Add Preprocessing
                                                                                                3. Taylor expanded in y5 around -inf

                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                4. Step-by-step derivation
                                                                                                  1. mul-1-negN/A

                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                  3. lower-*.f64N/A

                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                  4. lower-neg.f64N/A

                                                                                                    \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                  5. lower--.f64N/A

                                                                                                    \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                5. Applied rewrites40.4%

                                                                                                  \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                6. Taylor expanded in y3 around -inf

                                                                                                  \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                7. Step-by-step derivation
                                                                                                  1. Applied rewrites51.5%

                                                                                                    \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                  2. Taylor expanded in y around 0

                                                                                                    \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                  3. Step-by-step derivation
                                                                                                    1. Applied rewrites48.4%

                                                                                                      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                    if -4.1999999999999999e111 < y3 < -1.36000000000000002e-44

                                                                                                    1. Initial program 42.2%

                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                    2. Add Preprocessing
                                                                                                    3. Taylor expanded in y around -inf

                                                                                                      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                    4. Step-by-step derivation
                                                                                                      1. mul-1-negN/A

                                                                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                      2. distribute-lft-neg-inN/A

                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                      3. lower-*.f64N/A

                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                      4. lower-neg.f64N/A

                                                                                                        \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                      5. lower--.f64N/A

                                                                                                        \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                    5. Applied rewrites47.1%

                                                                                                      \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                    6. Taylor expanded in a around -inf

                                                                                                      \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                    7. Step-by-step derivation
                                                                                                      1. Applied rewrites24.3%

                                                                                                        \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                      2. Taylor expanded in x around inf

                                                                                                        \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                                                                                      3. Step-by-step derivation
                                                                                                        1. Applied rewrites46.6%

                                                                                                          \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                                                                                        if -1.36000000000000002e-44 < y3 < 1.89999999999999992e-274

                                                                                                        1. Initial program 43.9%

                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                        2. Add Preprocessing
                                                                                                        3. Taylor expanded in y2 around inf

                                                                                                          \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                        4. Step-by-step derivation
                                                                                                          1. *-commutativeN/A

                                                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                          2. lower-*.f64N/A

                                                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                        5. Applied rewrites38.7%

                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                        6. Taylor expanded in y4 around inf

                                                                                                          \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                                                                                        7. Step-by-step derivation
                                                                                                          1. Applied rewrites39.2%

                                                                                                            \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                                                                                          2. Taylor expanded in t around inf

                                                                                                            \[\leadsto \left(y2 \cdot y4\right) \cdot \left(-1 \cdot \left(c \cdot \color{blue}{t}\right)\right) \]
                                                                                                          3. Step-by-step derivation
                                                                                                            1. Applied rewrites39.0%

                                                                                                              \[\leadsto \left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right) \]

                                                                                                            if 1.89999999999999992e-274 < y3 < 4.29999999999999961e-158

                                                                                                            1. Initial program 43.4%

                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                            2. Add Preprocessing
                                                                                                            3. Taylor expanded in y around -inf

                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                            4. Step-by-step derivation
                                                                                                              1. mul-1-negN/A

                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                              3. lower-*.f64N/A

                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                              4. lower-neg.f64N/A

                                                                                                                \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                              5. lower--.f64N/A

                                                                                                                \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                            5. Applied rewrites48.0%

                                                                                                              \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                            6. Taylor expanded in a around -inf

                                                                                                              \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                            7. Step-by-step derivation
                                                                                                              1. Applied rewrites27.7%

                                                                                                                \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                              2. Taylor expanded in x around inf

                                                                                                                \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                              3. Step-by-step derivation
                                                                                                                1. Applied rewrites19.3%

                                                                                                                  \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                2. Taylor expanded in i around -inf

                                                                                                                  \[\leadsto i \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot x\right) + k \cdot y5\right)\right)} \]
                                                                                                                3. Step-by-step derivation
                                                                                                                  1. Applied rewrites44.2%

                                                                                                                    \[\leadsto \left(i \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(k, y5, -c \cdot x\right)} \]

                                                                                                                  if 4.29999999999999961e-158 < y3 < 8e17

                                                                                                                  1. Initial program 50.0%

                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                  2. Add Preprocessing
                                                                                                                  3. Taylor expanded in y5 around -inf

                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                  4. Step-by-step derivation
                                                                                                                    1. mul-1-negN/A

                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                    3. lower-*.f64N/A

                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                    4. lower-neg.f64N/A

                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                    5. lower--.f64N/A

                                                                                                                      \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                  5. Applied rewrites50.8%

                                                                                                                    \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                  6. Taylor expanded in i around 0

                                                                                                                    \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                  7. Step-by-step derivation
                                                                                                                    1. Applied rewrites46.3%

                                                                                                                      \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                    2. Taylor expanded in y0 around inf

                                                                                                                      \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                    3. Step-by-step derivation
                                                                                                                      1. Applied rewrites31.3%

                                                                                                                        \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                      2. Taylor expanded in j around 0

                                                                                                                        \[\leadsto -k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right) \]
                                                                                                                      3. Step-by-step derivation
                                                                                                                        1. Applied rewrites33.5%

                                                                                                                          \[\leadsto -k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right) \]

                                                                                                                        if 8.0000000000000004e238 < y3

                                                                                                                        1. Initial program 33.3%

                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                        2. Add Preprocessing
                                                                                                                        3. Taylor expanded in y around -inf

                                                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                        4. Step-by-step derivation
                                                                                                                          1. mul-1-negN/A

                                                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                          2. distribute-lft-neg-inN/A

                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                          3. lower-*.f64N/A

                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                          4. lower-neg.f64N/A

                                                                                                                            \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                          5. lower--.f64N/A

                                                                                                                            \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                        5. Applied rewrites60.0%

                                                                                                                          \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                        6. Taylor expanded in a around -inf

                                                                                                                          \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                        7. Step-by-step derivation
                                                                                                                          1. Applied rewrites73.5%

                                                                                                                            \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                        8. Recombined 6 regimes into one program.
                                                                                                                        9. Final simplification44.7%

                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -4.2 \cdot 10^{+111}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq -1.36 \cdot 10^{-44}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq 1.9 \cdot 10^{-274}:\\ \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\ \mathbf{elif}\;y3 \leq 4.3 \cdot 10^{-158}:\\ \;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\ \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \end{array} \]
                                                                                                                        10. Add Preprocessing

                                                                                                                        Alternative 15: 23.5% accurate, 3.4× speedup?

                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ t_2 := \left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\ \mathbf{if}\;y3 \leq -4.9 \cdot 10^{+126}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -7.8 \cdot 10^{-42}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y3 \leq 1.9 \cdot 10^{-274}:\\ \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\ \mathbf{elif}\;y3 \leq 4.3 \cdot 10^{-158}:\\ \;\;\;\;t\_2\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\ \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                         :precision binary64
                                                                                                                         (let* ((t_1 (* j (* y0 (* y3 y5)))) (t_2 (* (* i y) (fma k y5 (* (- c) x)))))
                                                                                                                           (if (<= y3 -4.9e+126)
                                                                                                                             t_1
                                                                                                                             (if (<= y3 -7.8e-42)
                                                                                                                               t_2
                                                                                                                               (if (<= y3 1.9e-274)
                                                                                                                                 (* (* y2 y4) (* (- c) t))
                                                                                                                                 (if (<= y3 4.3e-158)
                                                                                                                                   t_2
                                                                                                                                   (if (<= y3 8e+17)
                                                                                                                                     (- (* k (* (* y0 y2) y5)))
                                                                                                                                     (if (<= y3 8e+238) t_1 (* (* a y) (fma b x (* (- y3) y5)))))))))))
                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                        	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                        	double t_2 = (i * y) * fma(k, y5, (-c * x));
                                                                                                                        	double tmp;
                                                                                                                        	if (y3 <= -4.9e+126) {
                                                                                                                        		tmp = t_1;
                                                                                                                        	} else if (y3 <= -7.8e-42) {
                                                                                                                        		tmp = t_2;
                                                                                                                        	} else if (y3 <= 1.9e-274) {
                                                                                                                        		tmp = (y2 * y4) * (-c * t);
                                                                                                                        	} else if (y3 <= 4.3e-158) {
                                                                                                                        		tmp = t_2;
                                                                                                                        	} else if (y3 <= 8e+17) {
                                                                                                                        		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                        	} else if (y3 <= 8e+238) {
                                                                                                                        		tmp = t_1;
                                                                                                                        	} else {
                                                                                                                        		tmp = (a * y) * fma(b, x, (-y3 * y5));
                                                                                                                        	}
                                                                                                                        	return tmp;
                                                                                                                        }
                                                                                                                        
                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                        	t_1 = Float64(j * Float64(y0 * Float64(y3 * y5)))
                                                                                                                        	t_2 = Float64(Float64(i * y) * fma(k, y5, Float64(Float64(-c) * x)))
                                                                                                                        	tmp = 0.0
                                                                                                                        	if (y3 <= -4.9e+126)
                                                                                                                        		tmp = t_1;
                                                                                                                        	elseif (y3 <= -7.8e-42)
                                                                                                                        		tmp = t_2;
                                                                                                                        	elseif (y3 <= 1.9e-274)
                                                                                                                        		tmp = Float64(Float64(y2 * y4) * Float64(Float64(-c) * t));
                                                                                                                        	elseif (y3 <= 4.3e-158)
                                                                                                                        		tmp = t_2;
                                                                                                                        	elseif (y3 <= 8e+17)
                                                                                                                        		tmp = Float64(-Float64(k * Float64(Float64(y0 * y2) * y5)));
                                                                                                                        	elseif (y3 <= 8e+238)
                                                                                                                        		tmp = t_1;
                                                                                                                        	else
                                                                                                                        		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
                                                                                                                        	end
                                                                                                                        	return tmp
                                                                                                                        end
                                                                                                                        
                                                                                                                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(i * y), $MachinePrecision] * N[(k * y5 + N[((-c) * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -4.9e+126], t$95$1, If[LessEqual[y3, -7.8e-42], t$95$2, If[LessEqual[y3, 1.9e-274], N[(N[(y2 * y4), $MachinePrecision] * N[((-c) * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 4.3e-158], t$95$2, If[LessEqual[y3, 8e+17], (-N[(k * N[(N[(y0 * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y3, 8e+238], t$95$1, N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]]]
                                                                                                                        
                                                                                                                        \begin{array}{l}
                                                                                                                        
                                                                                                                        \\
                                                                                                                        \begin{array}{l}
                                                                                                                        t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                        t_2 := \left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\
                                                                                                                        \mathbf{if}\;y3 \leq -4.9 \cdot 10^{+126}:\\
                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y3 \leq -7.8 \cdot 10^{-42}:\\
                                                                                                                        \;\;\;\;t\_2\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y3 \leq 1.9 \cdot 10^{-274}:\\
                                                                                                                        \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y3 \leq 4.3 \cdot 10^{-158}:\\
                                                                                                                        \;\;\;\;t\_2\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\
                                                                                                                        \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\
                                                                                                                        
                                                                                                                        \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                        \;\;\;\;t\_1\\
                                                                                                                        
                                                                                                                        \mathbf{else}:\\
                                                                                                                        \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\
                                                                                                                        
                                                                                                                        
                                                                                                                        \end{array}
                                                                                                                        \end{array}
                                                                                                                        
                                                                                                                        Derivation
                                                                                                                        1. Split input into 5 regimes
                                                                                                                        2. if y3 < -4.90000000000000001e126 or 8e17 < y3 < 8.0000000000000004e238

                                                                                                                          1. Initial program 17.2%

                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                          2. Add Preprocessing
                                                                                                                          3. Taylor expanded in y5 around -inf

                                                                                                                            \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                          4. Step-by-step derivation
                                                                                                                            1. mul-1-negN/A

                                                                                                                              \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                            2. distribute-lft-neg-inN/A

                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                            3. lower-*.f64N/A

                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                            4. lower-neg.f64N/A

                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                            5. lower--.f64N/A

                                                                                                                              \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                          5. Applied rewrites39.8%

                                                                                                                            \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                          6. Taylor expanded in y3 around -inf

                                                                                                                            \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                          7. Step-by-step derivation
                                                                                                                            1. Applied rewrites49.4%

                                                                                                                              \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                            2. Taylor expanded in y around 0

                                                                                                                              \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                            3. Step-by-step derivation
                                                                                                                              1. Applied rewrites48.3%

                                                                                                                                \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                                              if -4.90000000000000001e126 < y3 < -7.8000000000000003e-42 or 1.89999999999999992e-274 < y3 < 4.29999999999999961e-158

                                                                                                                              1. Initial program 43.3%

                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                              2. Add Preprocessing
                                                                                                                              3. Taylor expanded in y around -inf

                                                                                                                                \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                              4. Step-by-step derivation
                                                                                                                                1. mul-1-negN/A

                                                                                                                                  \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                2. distribute-lft-neg-inN/A

                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                3. lower-*.f64N/A

                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                4. lower-neg.f64N/A

                                                                                                                                  \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                5. lower--.f64N/A

                                                                                                                                  \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                              5. Applied rewrites49.7%

                                                                                                                                \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                              6. Taylor expanded in a around -inf

                                                                                                                                \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                              7. Step-by-step derivation
                                                                                                                                1. Applied rewrites29.6%

                                                                                                                                  \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                2. Taylor expanded in x around inf

                                                                                                                                  \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                3. Step-by-step derivation
                                                                                                                                  1. Applied rewrites18.4%

                                                                                                                                    \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                  2. Taylor expanded in i around -inf

                                                                                                                                    \[\leadsto i \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot x\right) + k \cdot y5\right)\right)} \]
                                                                                                                                  3. Step-by-step derivation
                                                                                                                                    1. Applied rewrites42.3%

                                                                                                                                      \[\leadsto \left(i \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(k, y5, -c \cdot x\right)} \]

                                                                                                                                    if -7.8000000000000003e-42 < y3 < 1.89999999999999992e-274

                                                                                                                                    1. Initial program 43.9%

                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                    2. Add Preprocessing
                                                                                                                                    3. Taylor expanded in y2 around inf

                                                                                                                                      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                    4. Step-by-step derivation
                                                                                                                                      1. *-commutativeN/A

                                                                                                                                        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                      2. lower-*.f64N/A

                                                                                                                                        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                    5. Applied rewrites38.7%

                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                    6. Taylor expanded in y4 around inf

                                                                                                                                      \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                                                                                                                    7. Step-by-step derivation
                                                                                                                                      1. Applied rewrites39.2%

                                                                                                                                        \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                                                                                                                      2. Taylor expanded in t around inf

                                                                                                                                        \[\leadsto \left(y2 \cdot y4\right) \cdot \left(-1 \cdot \left(c \cdot \color{blue}{t}\right)\right) \]
                                                                                                                                      3. Step-by-step derivation
                                                                                                                                        1. Applied rewrites39.0%

                                                                                                                                          \[\leadsto \left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right) \]

                                                                                                                                        if 4.29999999999999961e-158 < y3 < 8e17

                                                                                                                                        1. Initial program 50.0%

                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                        2. Add Preprocessing
                                                                                                                                        3. Taylor expanded in y5 around -inf

                                                                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                        4. Step-by-step derivation
                                                                                                                                          1. mul-1-negN/A

                                                                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                          2. distribute-lft-neg-inN/A

                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                          3. lower-*.f64N/A

                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                          4. lower-neg.f64N/A

                                                                                                                                            \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                          5. lower--.f64N/A

                                                                                                                                            \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                        5. Applied rewrites50.8%

                                                                                                                                          \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                        6. Taylor expanded in i around 0

                                                                                                                                          \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                        7. Step-by-step derivation
                                                                                                                                          1. Applied rewrites46.3%

                                                                                                                                            \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                          2. Taylor expanded in y0 around inf

                                                                                                                                            \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                          3. Step-by-step derivation
                                                                                                                                            1. Applied rewrites31.3%

                                                                                                                                              \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                            2. Taylor expanded in j around 0

                                                                                                                                              \[\leadsto -k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right) \]
                                                                                                                                            3. Step-by-step derivation
                                                                                                                                              1. Applied rewrites33.5%

                                                                                                                                                \[\leadsto -k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right) \]

                                                                                                                                              if 8.0000000000000004e238 < y3

                                                                                                                                              1. Initial program 33.3%

                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                              2. Add Preprocessing
                                                                                                                                              3. Taylor expanded in y around -inf

                                                                                                                                                \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                1. mul-1-negN/A

                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                2. distribute-lft-neg-inN/A

                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                3. lower-*.f64N/A

                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                4. lower-neg.f64N/A

                                                                                                                                                  \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                5. lower--.f64N/A

                                                                                                                                                  \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                              5. Applied rewrites60.0%

                                                                                                                                                \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                              6. Taylor expanded in a around -inf

                                                                                                                                                \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                1. Applied rewrites73.5%

                                                                                                                                                  \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                              8. Recombined 5 regimes into one program.
                                                                                                                                              9. Final simplification44.0%

                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -4.9 \cdot 10^{+126}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq -7.8 \cdot 10^{-42}:\\ \;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\ \mathbf{elif}\;y3 \leq 1.9 \cdot 10^{-274}:\\ \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\ \mathbf{elif}\;y3 \leq 4.3 \cdot 10^{-158}:\\ \;\;\;\;\left(i \cdot y\right) \cdot \mathsf{fma}\left(k, y5, \left(-c\right) \cdot x\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\ \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \end{array} \]
                                                                                                                                              10. Add Preprocessing

                                                                                                                                              Alternative 16: 32.4% accurate, 3.6× speedup?

                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -9.2 \cdot 10^{-41}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq -1.06 \cdot 10^{-253}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\ \mathbf{elif}\;y3 \leq 3.15 \cdot 10^{-22}:\\ \;\;\;\;\left(-a\right) \cdot \left(y2 \cdot \mathsf{fma}\left(x, y1, \left(-t\right) \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 2.95 \cdot 10^{+168}:\\ \;\;\;\;\left(\left(-k\right) \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                               :precision binary64
                                                                                                                                               (let* ((t_1 (* (* y3 y5) (fma j y0 (* (- a) y)))))
                                                                                                                                                 (if (<= y3 -1.46e+58)
                                                                                                                                                   t_1
                                                                                                                                                   (if (<= y3 -9.2e-41)
                                                                                                                                                     (* (* x y) (fma (- c) i (* a b)))
                                                                                                                                                     (if (<= y3 -1.06e-253)
                                                                                                                                                       (* (* c (fma x y0 (* (- t) y4))) y2)
                                                                                                                                                       (if (<= y3 3.15e-22)
                                                                                                                                                         (* (- a) (* y2 (fma x y1 (* (- t) y5))))
                                                                                                                                                         (if (<= y3 2.95e+168)
                                                                                                                                                           (* (* (- k) (fma y y4 (* (- y0) z))) b)
                                                                                                                                                           t_1)))))))
                                                                                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                              	double t_1 = (y3 * y5) * fma(j, y0, (-a * y));
                                                                                                                                              	double tmp;
                                                                                                                                              	if (y3 <= -1.46e+58) {
                                                                                                                                              		tmp = t_1;
                                                                                                                                              	} else if (y3 <= -9.2e-41) {
                                                                                                                                              		tmp = (x * y) * fma(-c, i, (a * b));
                                                                                                                                              	} else if (y3 <= -1.06e-253) {
                                                                                                                                              		tmp = (c * fma(x, y0, (-t * y4))) * y2;
                                                                                                                                              	} else if (y3 <= 3.15e-22) {
                                                                                                                                              		tmp = -a * (y2 * fma(x, y1, (-t * y5)));
                                                                                                                                              	} else if (y3 <= 2.95e+168) {
                                                                                                                                              		tmp = (-k * fma(y, y4, (-y0 * z))) * b;
                                                                                                                                              	} else {
                                                                                                                                              		tmp = t_1;
                                                                                                                                              	}
                                                                                                                                              	return tmp;
                                                                                                                                              }
                                                                                                                                              
                                                                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                              	t_1 = Float64(Float64(y3 * y5) * fma(j, y0, Float64(Float64(-a) * y)))
                                                                                                                                              	tmp = 0.0
                                                                                                                                              	if (y3 <= -1.46e+58)
                                                                                                                                              		tmp = t_1;
                                                                                                                                              	elseif (y3 <= -9.2e-41)
                                                                                                                                              		tmp = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)));
                                                                                                                                              	elseif (y3 <= -1.06e-253)
                                                                                                                                              		tmp = Float64(Float64(c * fma(x, y0, Float64(Float64(-t) * y4))) * y2);
                                                                                                                                              	elseif (y3 <= 3.15e-22)
                                                                                                                                              		tmp = Float64(Float64(-a) * Float64(y2 * fma(x, y1, Float64(Float64(-t) * y5))));
                                                                                                                                              	elseif (y3 <= 2.95e+168)
                                                                                                                                              		tmp = Float64(Float64(Float64(-k) * fma(y, y4, Float64(Float64(-y0) * z))) * b);
                                                                                                                                              	else
                                                                                                                                              		tmp = t_1;
                                                                                                                                              	end
                                                                                                                                              	return tmp
                                                                                                                                              end
                                                                                                                                              
                                                                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y3 * y5), $MachinePrecision] * N[(j * y0 + N[((-a) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.46e+58], t$95$1, If[LessEqual[y3, -9.2e-41], N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.06e-253], N[(N[(c * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y3, 3.15e-22], N[((-a) * N[(y2 * N[(x * y1 + N[((-t) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.95e+168], N[(N[((-k) * N[(y * y4 + N[((-y0) * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * b), $MachinePrecision], t$95$1]]]]]]
                                                                                                                                              
                                                                                                                                              \begin{array}{l}
                                                                                                                                              
                                                                                                                                              \\
                                                                                                                                              \begin{array}{l}
                                                                                                                                              t_1 := \left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\
                                                                                                                                              \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\
                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                              
                                                                                                                                              \mathbf{elif}\;y3 \leq -9.2 \cdot 10^{-41}:\\
                                                                                                                                              \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                                                                                                                                              
                                                                                                                                              \mathbf{elif}\;y3 \leq -1.06 \cdot 10^{-253}:\\
                                                                                                                                              \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\
                                                                                                                                              
                                                                                                                                              \mathbf{elif}\;y3 \leq 3.15 \cdot 10^{-22}:\\
                                                                                                                                              \;\;\;\;\left(-a\right) \cdot \left(y2 \cdot \mathsf{fma}\left(x, y1, \left(-t\right) \cdot y5\right)\right)\\
                                                                                                                                              
                                                                                                                                              \mathbf{elif}\;y3 \leq 2.95 \cdot 10^{+168}:\\
                                                                                                                                              \;\;\;\;\left(\left(-k\right) \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b\\
                                                                                                                                              
                                                                                                                                              \mathbf{else}:\\
                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                              
                                                                                                                                              
                                                                                                                                              \end{array}
                                                                                                                                              \end{array}
                                                                                                                                              
                                                                                                                                              Derivation
                                                                                                                                              1. Split input into 5 regimes
                                                                                                                                              2. if y3 < -1.4599999999999999e58 or 2.94999999999999993e168 < y3

                                                                                                                                                1. Initial program 19.6%

                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                2. Add Preprocessing
                                                                                                                                                3. Taylor expanded in y5 around -inf

                                                                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                  1. mul-1-negN/A

                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                  3. lower-*.f64N/A

                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                  4. lower-neg.f64N/A

                                                                                                                                                    \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                  5. lower--.f64N/A

                                                                                                                                                    \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                5. Applied rewrites40.3%

                                                                                                                                                  \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                6. Taylor expanded in y3 around -inf

                                                                                                                                                  \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                  1. Applied rewrites56.2%

                                                                                                                                                    \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]

                                                                                                                                                  if -1.4599999999999999e58 < y3 < -9.20000000000000041e-41

                                                                                                                                                  1. Initial program 52.5%

                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                  3. Taylor expanded in y around -inf

                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                      \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                      \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                  5. Applied rewrites59.0%

                                                                                                                                                    \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                  6. Taylor expanded in a around -inf

                                                                                                                                                    \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                    1. Applied rewrites17.5%

                                                                                                                                                      \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                    2. Taylor expanded in x around inf

                                                                                                                                                      \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                      1. Applied rewrites53.1%

                                                                                                                                                        \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                                                                                                                                      if -9.20000000000000041e-41 < y3 < -1.06000000000000007e-253

                                                                                                                                                      1. Initial program 46.6%

                                                                                                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                      2. Add Preprocessing
                                                                                                                                                      3. Taylor expanded in y2 around inf

                                                                                                                                                        \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                        1. *-commutativeN/A

                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                        2. lower-*.f64N/A

                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                      5. Applied rewrites39.1%

                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                      6. Taylor expanded in c around inf

                                                                                                                                                        \[\leadsto \left(c \cdot \left(x \cdot y0 - t \cdot y4\right)\right) \cdot y2 \]
                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                        1. Applied rewrites49.8%

                                                                                                                                                          \[\leadsto \left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2 \]

                                                                                                                                                        if -1.06000000000000007e-253 < y3 < 3.15e-22

                                                                                                                                                        1. Initial program 46.6%

                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                        3. Taylor expanded in y2 around inf

                                                                                                                                                          \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                          2. lower-*.f64N/A

                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                        5. Applied rewrites45.0%

                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                        6. Taylor expanded in y4 around inf

                                                                                                                                                          \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                          1. Applied rewrites21.6%

                                                                                                                                                            \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                                                                                                                                          2. Taylor expanded in a around -inf

                                                                                                                                                            \[\leadsto -1 \cdot \color{blue}{\left(a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\right)} \]
                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                            1. Applied rewrites40.1%

                                                                                                                                                              \[\leadsto \left(-a\right) \cdot \color{blue}{\left(y2 \cdot \mathsf{fma}\left(x, y1, \left(-t\right) \cdot y5\right)\right)} \]

                                                                                                                                                            if 3.15e-22 < y3 < 2.94999999999999993e168

                                                                                                                                                            1. Initial program 25.8%

                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                            3. Taylor expanded in b around inf

                                                                                                                                                              \[\leadsto \color{blue}{b \cdot \left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right)} \]
                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                              1. *-commutativeN/A

                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                              2. lower-*.f64N/A

                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(a \cdot \left(x \cdot y - t \cdot z\right) + y4 \cdot \left(j \cdot t - k \cdot y\right)\right) - y0 \cdot \left(j \cdot x - k \cdot z\right)\right) \cdot b} \]
                                                                                                                                                            5. Applied rewrites46.2%

                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y, x, \left(-t\right) \cdot z\right), a, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot y4\right) - \mathsf{fma}\left(j, x, \left(-k\right) \cdot z\right) \cdot y0\right) \cdot b} \]
                                                                                                                                                            6. Taylor expanded in k around -inf

                                                                                                                                                              \[\leadsto \left(-1 \cdot \left(k \cdot \left(y \cdot y4 - y0 \cdot z\right)\right)\right) \cdot b \]
                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                              1. Applied rewrites58.1%

                                                                                                                                                                \[\leadsto \left(-k \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b \]
                                                                                                                                                            8. Recombined 5 regimes into one program.
                                                                                                                                                            9. Final simplification50.6%

                                                                                                                                                              \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \mathbf{elif}\;y3 \leq -9.2 \cdot 10^{-41}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq -1.06 \cdot 10^{-253}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\ \mathbf{elif}\;y3 \leq 3.15 \cdot 10^{-22}:\\ \;\;\;\;\left(-a\right) \cdot \left(y2 \cdot \mathsf{fma}\left(x, y1, \left(-t\right) \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 2.95 \cdot 10^{+168}:\\ \;\;\;\;\left(\left(-k\right) \cdot \mathsf{fma}\left(y, y4, \left(-y0\right) \cdot z\right)\right) \cdot b\\ \mathbf{else}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \end{array} \]
                                                                                                                                                            10. Add Preprocessing

                                                                                                                                                            Alternative 17: 31.9% accurate, 3.7× speedup?

                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \mathbf{elif}\;y3 \leq -9.2 \cdot 10^{-41}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq -1.06 \cdot 10^{-253}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\ \mathbf{elif}\;y3 \leq 6.2 \cdot 10^{+73}:\\ \;\;\;\;\left(-a\right) \cdot \left(y2 \cdot \mathsf{fma}\left(x, y1, \left(-t\right) \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                             :precision binary64
                                                                                                                                                             (if (<= y3 -1.46e+58)
                                                                                                                                                               (* (* y3 y5) (fma j y0 (* (- a) y)))
                                                                                                                                                               (if (<= y3 -9.2e-41)
                                                                                                                                                                 (* (* x y) (fma (- c) i (* a b)))
                                                                                                                                                                 (if (<= y3 -1.06e-253)
                                                                                                                                                                   (* (* c (fma x y0 (* (- t) y4))) y2)
                                                                                                                                                                   (if (<= y3 6.2e+73)
                                                                                                                                                                     (* (- a) (* y2 (fma x y1 (* (- t) y5))))
                                                                                                                                                                     (if (<= y3 8e+238)
                                                                                                                                                                       (* y5 (* y0 (fma (- k) y2 (* y3 j))))
                                                                                                                                                                       (* (* a y) (fma b x (* (- y3) y5)))))))))
                                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                            	double tmp;
                                                                                                                                                            	if (y3 <= -1.46e+58) {
                                                                                                                                                            		tmp = (y3 * y5) * fma(j, y0, (-a * y));
                                                                                                                                                            	} else if (y3 <= -9.2e-41) {
                                                                                                                                                            		tmp = (x * y) * fma(-c, i, (a * b));
                                                                                                                                                            	} else if (y3 <= -1.06e-253) {
                                                                                                                                                            		tmp = (c * fma(x, y0, (-t * y4))) * y2;
                                                                                                                                                            	} else if (y3 <= 6.2e+73) {
                                                                                                                                                            		tmp = -a * (y2 * fma(x, y1, (-t * y5)));
                                                                                                                                                            	} else if (y3 <= 8e+238) {
                                                                                                                                                            		tmp = y5 * (y0 * fma(-k, y2, (y3 * j)));
                                                                                                                                                            	} else {
                                                                                                                                                            		tmp = (a * y) * fma(b, x, (-y3 * y5));
                                                                                                                                                            	}
                                                                                                                                                            	return tmp;
                                                                                                                                                            }
                                                                                                                                                            
                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                            	tmp = 0.0
                                                                                                                                                            	if (y3 <= -1.46e+58)
                                                                                                                                                            		tmp = Float64(Float64(y3 * y5) * fma(j, y0, Float64(Float64(-a) * y)));
                                                                                                                                                            	elseif (y3 <= -9.2e-41)
                                                                                                                                                            		tmp = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)));
                                                                                                                                                            	elseif (y3 <= -1.06e-253)
                                                                                                                                                            		tmp = Float64(Float64(c * fma(x, y0, Float64(Float64(-t) * y4))) * y2);
                                                                                                                                                            	elseif (y3 <= 6.2e+73)
                                                                                                                                                            		tmp = Float64(Float64(-a) * Float64(y2 * fma(x, y1, Float64(Float64(-t) * y5))));
                                                                                                                                                            	elseif (y3 <= 8e+238)
                                                                                                                                                            		tmp = Float64(y5 * Float64(y0 * fma(Float64(-k), y2, Float64(y3 * j))));
                                                                                                                                                            	else
                                                                                                                                                            		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
                                                                                                                                                            	end
                                                                                                                                                            	return tmp
                                                                                                                                                            end
                                                                                                                                                            
                                                                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -1.46e+58], N[(N[(y3 * y5), $MachinePrecision] * N[(j * y0 + N[((-a) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -9.2e-41], N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.06e-253], N[(N[(c * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y3, 6.2e+73], N[((-a) * N[(y2 * N[(x * y1 + N[((-t) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8e+238], N[(y5 * N[(y0 * N[((-k) * y2 + N[(y3 * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
                                                                                                                                                            
                                                                                                                                                            \begin{array}{l}
                                                                                                                                                            
                                                                                                                                                            \\
                                                                                                                                                            \begin{array}{l}
                                                                                                                                                            \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\
                                                                                                                                                            \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\
                                                                                                                                                            
                                                                                                                                                            \mathbf{elif}\;y3 \leq -9.2 \cdot 10^{-41}:\\
                                                                                                                                                            \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                                                                                                                                                            
                                                                                                                                                            \mathbf{elif}\;y3 \leq -1.06 \cdot 10^{-253}:\\
                                                                                                                                                            \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\
                                                                                                                                                            
                                                                                                                                                            \mathbf{elif}\;y3 \leq 6.2 \cdot 10^{+73}:\\
                                                                                                                                                            \;\;\;\;\left(-a\right) \cdot \left(y2 \cdot \mathsf{fma}\left(x, y1, \left(-t\right) \cdot y5\right)\right)\\
                                                                                                                                                            
                                                                                                                                                            \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                                                            \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\
                                                                                                                                                            
                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                            \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\
                                                                                                                                                            
                                                                                                                                                            
                                                                                                                                                            \end{array}
                                                                                                                                                            \end{array}
                                                                                                                                                            
                                                                                                                                                            Derivation
                                                                                                                                                            1. Split input into 6 regimes
                                                                                                                                                            2. if y3 < -1.4599999999999999e58

                                                                                                                                                              1. Initial program 19.1%

                                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                              2. Add Preprocessing
                                                                                                                                                              3. Taylor expanded in y5 around -inf

                                                                                                                                                                \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                1. mul-1-negN/A

                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                2. distribute-lft-neg-inN/A

                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                3. lower-*.f64N/A

                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                4. lower-neg.f64N/A

                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                5. lower--.f64N/A

                                                                                                                                                                  \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                              5. Applied rewrites37.8%

                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                              6. Taylor expanded in y3 around -inf

                                                                                                                                                                \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                1. Applied rewrites56.4%

                                                                                                                                                                  \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]

                                                                                                                                                                if -1.4599999999999999e58 < y3 < -9.20000000000000041e-41

                                                                                                                                                                1. Initial program 52.5%

                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                3. Taylor expanded in y around -inf

                                                                                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                  1. mul-1-negN/A

                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                  3. lower-*.f64N/A

                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                  4. lower-neg.f64N/A

                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                  5. lower--.f64N/A

                                                                                                                                                                    \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                5. Applied rewrites59.0%

                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                6. Taylor expanded in a around -inf

                                                                                                                                                                  \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                  1. Applied rewrites17.5%

                                                                                                                                                                    \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                  2. Taylor expanded in x around inf

                                                                                                                                                                    \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                    1. Applied rewrites53.1%

                                                                                                                                                                      \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                                                                                                                                                    if -9.20000000000000041e-41 < y3 < -1.06000000000000007e-253

                                                                                                                                                                    1. Initial program 46.6%

                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                    3. Taylor expanded in y2 around inf

                                                                                                                                                                      \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                      1. *-commutativeN/A

                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                      2. lower-*.f64N/A

                                                                                                                                                                        \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                    5. Applied rewrites39.1%

                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                                    6. Taylor expanded in c around inf

                                                                                                                                                                      \[\leadsto \left(c \cdot \left(x \cdot y0 - t \cdot y4\right)\right) \cdot y2 \]
                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                      1. Applied rewrites49.8%

                                                                                                                                                                        \[\leadsto \left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2 \]

                                                                                                                                                                      if -1.06000000000000007e-253 < y3 < 6.1999999999999999e73

                                                                                                                                                                      1. Initial program 41.7%

                                                                                                                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                      2. Add Preprocessing
                                                                                                                                                                      3. Taylor expanded in y2 around inf

                                                                                                                                                                        \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                        1. *-commutativeN/A

                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                        2. lower-*.f64N/A

                                                                                                                                                                          \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                      5. Applied rewrites44.9%

                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                                      6. Taylor expanded in y4 around inf

                                                                                                                                                                        \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                        1. Applied rewrites22.4%

                                                                                                                                                                          \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                                                                                                                                                        2. Taylor expanded in a around -inf

                                                                                                                                                                          \[\leadsto -1 \cdot \color{blue}{\left(a \cdot \left(y2 \cdot \left(x \cdot y1 - t \cdot y5\right)\right)\right)} \]
                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                          1. Applied rewrites39.8%

                                                                                                                                                                            \[\leadsto \left(-a\right) \cdot \color{blue}{\left(y2 \cdot \mathsf{fma}\left(x, y1, \left(-t\right) \cdot y5\right)\right)} \]

                                                                                                                                                                          if 6.1999999999999999e73 < y3 < 8.0000000000000004e238

                                                                                                                                                                          1. Initial program 21.2%

                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                          3. Taylor expanded in y5 around -inf

                                                                                                                                                                            \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                            1. mul-1-negN/A

                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                            2. distribute-lft-neg-inN/A

                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                            3. lower-*.f64N/A

                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                            4. lower-neg.f64N/A

                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                            5. lower--.f64N/A

                                                                                                                                                                              \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                          5. Applied rewrites49.0%

                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                          6. Taylor expanded in i around 0

                                                                                                                                                                            \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                            1. Applied rewrites55.2%

                                                                                                                                                                              \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                            2. Taylor expanded in y0 around inf

                                                                                                                                                                              \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                              1. Applied rewrites49.6%

                                                                                                                                                                                \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                                                              2. Step-by-step derivation
                                                                                                                                                                                1. Applied rewrites58.4%

                                                                                                                                                                                  \[\leadsto y5 \cdot \left(y0 \cdot \color{blue}{\mathsf{fma}\left(-k, y2, y3 \cdot j\right)}\right) \]

                                                                                                                                                                                if 8.0000000000000004e238 < y3

                                                                                                                                                                                1. Initial program 33.3%

                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                3. Taylor expanded in y around -inf

                                                                                                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                  1. mul-1-negN/A

                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                  3. lower-*.f64N/A

                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                  4. lower-neg.f64N/A

                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                  5. lower--.f64N/A

                                                                                                                                                                                    \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                5. Applied rewrites60.0%

                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                6. Taylor expanded in a around -inf

                                                                                                                                                                                  \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                  1. Applied rewrites73.5%

                                                                                                                                                                                    \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                8. Recombined 6 regimes into one program.
                                                                                                                                                                                9. Add Preprocessing

                                                                                                                                                                                Alternative 18: 27.7% accurate, 3.7× speedup?

                                                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \mathbf{elif}\;y3 \leq -1.36 \cdot 10^{-44}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 3.4 \cdot 10^{-266}:\\ \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\ \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-136}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                 :precision binary64
                                                                                                                                                                                 (let* ((t_1 (* (* x y) (fma (- c) i (* a b)))))
                                                                                                                                                                                   (if (<= y3 -1.46e+58)
                                                                                                                                                                                     (* (* y3 y5) (fma j y0 (* (- a) y)))
                                                                                                                                                                                     (if (<= y3 -1.36e-44)
                                                                                                                                                                                       t_1
                                                                                                                                                                                       (if (<= y3 3.4e-266)
                                                                                                                                                                                         (* (* y2 y4) (* (- c) t))
                                                                                                                                                                                         (if (<= y3 3.2e-136)
                                                                                                                                                                                           t_1
                                                                                                                                                                                           (if (<= y3 8e+238)
                                                                                                                                                                                             (* y5 (* y0 (fma (- k) y2 (* y3 j))))
                                                                                                                                                                                             (* (* a y) (fma b x (* (- y3) y5))))))))))
                                                                                                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                	double t_1 = (x * y) * fma(-c, i, (a * b));
                                                                                                                                                                                	double tmp;
                                                                                                                                                                                	if (y3 <= -1.46e+58) {
                                                                                                                                                                                		tmp = (y3 * y5) * fma(j, y0, (-a * y));
                                                                                                                                                                                	} else if (y3 <= -1.36e-44) {
                                                                                                                                                                                		tmp = t_1;
                                                                                                                                                                                	} else if (y3 <= 3.4e-266) {
                                                                                                                                                                                		tmp = (y2 * y4) * (-c * t);
                                                                                                                                                                                	} else if (y3 <= 3.2e-136) {
                                                                                                                                                                                		tmp = t_1;
                                                                                                                                                                                	} else if (y3 <= 8e+238) {
                                                                                                                                                                                		tmp = y5 * (y0 * fma(-k, y2, (y3 * j)));
                                                                                                                                                                                	} else {
                                                                                                                                                                                		tmp = (a * y) * fma(b, x, (-y3 * y5));
                                                                                                                                                                                	}
                                                                                                                                                                                	return tmp;
                                                                                                                                                                                }
                                                                                                                                                                                
                                                                                                                                                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                	t_1 = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)))
                                                                                                                                                                                	tmp = 0.0
                                                                                                                                                                                	if (y3 <= -1.46e+58)
                                                                                                                                                                                		tmp = Float64(Float64(y3 * y5) * fma(j, y0, Float64(Float64(-a) * y)));
                                                                                                                                                                                	elseif (y3 <= -1.36e-44)
                                                                                                                                                                                		tmp = t_1;
                                                                                                                                                                                	elseif (y3 <= 3.4e-266)
                                                                                                                                                                                		tmp = Float64(Float64(y2 * y4) * Float64(Float64(-c) * t));
                                                                                                                                                                                	elseif (y3 <= 3.2e-136)
                                                                                                                                                                                		tmp = t_1;
                                                                                                                                                                                	elseif (y3 <= 8e+238)
                                                                                                                                                                                		tmp = Float64(y5 * Float64(y0 * fma(Float64(-k), y2, Float64(y3 * j))));
                                                                                                                                                                                	else
                                                                                                                                                                                		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
                                                                                                                                                                                	end
                                                                                                                                                                                	return tmp
                                                                                                                                                                                end
                                                                                                                                                                                
                                                                                                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.46e+58], N[(N[(y3 * y5), $MachinePrecision] * N[(j * y0 + N[((-a) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.36e-44], t$95$1, If[LessEqual[y3, 3.4e-266], N[(N[(y2 * y4), $MachinePrecision] * N[((-c) * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.2e-136], t$95$1, If[LessEqual[y3, 8e+238], N[(y5 * N[(y0 * N[((-k) * y2 + N[(y3 * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
                                                                                                                                                                                
                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                
                                                                                                                                                                                \\
                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                t_1 := \left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                                                                                                                                                                                \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\
                                                                                                                                                                                \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\
                                                                                                                                                                                
                                                                                                                                                                                \mathbf{elif}\;y3 \leq -1.36 \cdot 10^{-44}:\\
                                                                                                                                                                                \;\;\;\;t\_1\\
                                                                                                                                                                                
                                                                                                                                                                                \mathbf{elif}\;y3 \leq 3.4 \cdot 10^{-266}:\\
                                                                                                                                                                                \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\
                                                                                                                                                                                
                                                                                                                                                                                \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-136}:\\
                                                                                                                                                                                \;\;\;\;t\_1\\
                                                                                                                                                                                
                                                                                                                                                                                \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                                                                                \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\
                                                                                                                                                                                
                                                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                                                \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\
                                                                                                                                                                                
                                                                                                                                                                                
                                                                                                                                                                                \end{array}
                                                                                                                                                                                \end{array}
                                                                                                                                                                                
                                                                                                                                                                                Derivation
                                                                                                                                                                                1. Split input into 5 regimes
                                                                                                                                                                                2. if y3 < -1.4599999999999999e58

                                                                                                                                                                                  1. Initial program 19.1%

                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                  3. Taylor expanded in y5 around -inf

                                                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                                                      \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                  5. Applied rewrites37.8%

                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                  6. Taylor expanded in y3 around -inf

                                                                                                                                                                                    \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                    1. Applied rewrites56.4%

                                                                                                                                                                                      \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]

                                                                                                                                                                                    if -1.4599999999999999e58 < y3 < -1.36000000000000002e-44 or 3.39999999999999995e-266 < y3 < 3.19999999999999993e-136

                                                                                                                                                                                    1. Initial program 42.2%

                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                    3. Taylor expanded in y around -inf

                                                                                                                                                                                      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                      1. mul-1-negN/A

                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                      2. distribute-lft-neg-inN/A

                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                      3. lower-*.f64N/A

                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                      4. lower-neg.f64N/A

                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                      5. lower--.f64N/A

                                                                                                                                                                                        \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                    5. Applied rewrites52.0%

                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                    6. Taylor expanded in a around -inf

                                                                                                                                                                                      \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                      1. Applied rewrites26.0%

                                                                                                                                                                                        \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                      2. Taylor expanded in x around inf

                                                                                                                                                                                        \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                        1. Applied rewrites47.5%

                                                                                                                                                                                          \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                                                                                                                                                                        if -1.36000000000000002e-44 < y3 < 3.39999999999999995e-266

                                                                                                                                                                                        1. Initial program 44.9%

                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                        3. Taylor expanded in y2 around inf

                                                                                                                                                                                          \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                          2. lower-*.f64N/A

                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                        5. Applied rewrites39.8%

                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                                                        6. Taylor expanded in y4 around inf

                                                                                                                                                                                          \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                          1. Applied rewrites38.5%

                                                                                                                                                                                            \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                                                                                                                                                                          2. Taylor expanded in t around inf

                                                                                                                                                                                            \[\leadsto \left(y2 \cdot y4\right) \cdot \left(-1 \cdot \left(c \cdot \color{blue}{t}\right)\right) \]
                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                            1. Applied rewrites38.4%

                                                                                                                                                                                              \[\leadsto \left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right) \]

                                                                                                                                                                                            if 3.19999999999999993e-136 < y3 < 8.0000000000000004e238

                                                                                                                                                                                            1. Initial program 35.8%

                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                            3. Taylor expanded in y5 around -inf

                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                            5. Applied rewrites47.6%

                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                            6. Taylor expanded in i around 0

                                                                                                                                                                                              \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                              1. Applied rewrites47.8%

                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                              2. Taylor expanded in y0 around inf

                                                                                                                                                                                                \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                1. Applied rewrites36.0%

                                                                                                                                                                                                  \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                                                                                2. Step-by-step derivation
                                                                                                                                                                                                  1. Applied rewrites41.8%

                                                                                                                                                                                                    \[\leadsto y5 \cdot \left(y0 \cdot \color{blue}{\mathsf{fma}\left(-k, y2, y3 \cdot j\right)}\right) \]

                                                                                                                                                                                                  if 8.0000000000000004e238 < y3

                                                                                                                                                                                                  1. Initial program 33.3%

                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                  3. Taylor expanded in y around -inf

                                                                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                                                                      \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                  5. Applied rewrites60.0%

                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                  6. Taylor expanded in a around -inf

                                                                                                                                                                                                    \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                    1. Applied rewrites73.5%

                                                                                                                                                                                                      \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                  8. Recombined 5 regimes into one program.
                                                                                                                                                                                                  9. Add Preprocessing

                                                                                                                                                                                                  Alternative 19: 26.0% accurate, 3.7× speedup?

                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{if}\;y3 \leq -4.2 \cdot 10^{+111}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{elif}\;y3 \leq -1.36 \cdot 10^{-44}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 3.4 \cdot 10^{-266}:\\ \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\ \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-136}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                   :precision binary64
                                                                                                                                                                                                   (let* ((t_1 (* (* x y) (fma (- c) i (* a b)))))
                                                                                                                                                                                                     (if (<= y3 -4.2e+111)
                                                                                                                                                                                                       (* j (* y0 (* y3 y5)))
                                                                                                                                                                                                       (if (<= y3 -1.36e-44)
                                                                                                                                                                                                         t_1
                                                                                                                                                                                                         (if (<= y3 3.4e-266)
                                                                                                                                                                                                           (* (* y2 y4) (* (- c) t))
                                                                                                                                                                                                           (if (<= y3 3.2e-136)
                                                                                                                                                                                                             t_1
                                                                                                                                                                                                             (if (<= y3 8e+238)
                                                                                                                                                                                                               (* y5 (* y0 (fma (- k) y2 (* y3 j))))
                                                                                                                                                                                                               (* (* a y) (fma b x (* (- y3) y5))))))))))
                                                                                                                                                                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                  	double t_1 = (x * y) * fma(-c, i, (a * b));
                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                  	if (y3 <= -4.2e+111) {
                                                                                                                                                                                                  		tmp = j * (y0 * (y3 * y5));
                                                                                                                                                                                                  	} else if (y3 <= -1.36e-44) {
                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                  	} else if (y3 <= 3.4e-266) {
                                                                                                                                                                                                  		tmp = (y2 * y4) * (-c * t);
                                                                                                                                                                                                  	} else if (y3 <= 3.2e-136) {
                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                  	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                  		tmp = y5 * (y0 * fma(-k, y2, (y3 * j)));
                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                  		tmp = (a * y) * fma(b, x, (-y3 * y5));
                                                                                                                                                                                                  	}
                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                  }
                                                                                                                                                                                                  
                                                                                                                                                                                                  function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                  	t_1 = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)))
                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                  	if (y3 <= -4.2e+111)
                                                                                                                                                                                                  		tmp = Float64(j * Float64(y0 * Float64(y3 * y5)));
                                                                                                                                                                                                  	elseif (y3 <= -1.36e-44)
                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                  	elseif (y3 <= 3.4e-266)
                                                                                                                                                                                                  		tmp = Float64(Float64(y2 * y4) * Float64(Float64(-c) * t));
                                                                                                                                                                                                  	elseif (y3 <= 3.2e-136)
                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                  	elseif (y3 <= 8e+238)
                                                                                                                                                                                                  		tmp = Float64(y5 * Float64(y0 * fma(Float64(-k), y2, Float64(y3 * j))));
                                                                                                                                                                                                  	else
                                                                                                                                                                                                  		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
                                                                                                                                                                                                  	end
                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                  end
                                                                                                                                                                                                  
                                                                                                                                                                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -4.2e+111], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -1.36e-44], t$95$1, If[LessEqual[y3, 3.4e-266], N[(N[(y2 * y4), $MachinePrecision] * N[((-c) * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.2e-136], t$95$1, If[LessEqual[y3, 8e+238], N[(y5 * N[(y0 * N[((-k) * y2 + N[(y3 * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
                                                                                                                                                                                                  
                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                  
                                                                                                                                                                                                  \\
                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                  t_1 := \left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                                                                                                                                                                                                  \mathbf{if}\;y3 \leq -4.2 \cdot 10^{+111}:\\
                                                                                                                                                                                                  \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq -1.36 \cdot 10^{-44}:\\
                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq 3.4 \cdot 10^{-266}:\\
                                                                                                                                                                                                  \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-136}:\\
                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                                                                                                  \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                  \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\
                                                                                                                                                                                                  
                                                                                                                                                                                                  
                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                  
                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                  1. Split input into 5 regimes
                                                                                                                                                                                                  2. if y3 < -4.1999999999999999e111

                                                                                                                                                                                                    1. Initial program 19.7%

                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                    3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                      1. mul-1-negN/A

                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                      2. distribute-lft-neg-inN/A

                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                      3. lower-*.f64N/A

                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                      4. lower-neg.f64N/A

                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                      5. lower--.f64N/A

                                                                                                                                                                                                        \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                    5. Applied rewrites37.1%

                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                    6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                      \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                      1. Applied rewrites56.3%

                                                                                                                                                                                                        \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                                                                                                      2. Taylor expanded in y around 0

                                                                                                                                                                                                        \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                        1. Applied rewrites52.7%

                                                                                                                                                                                                          \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                                                                                                                        if -4.1999999999999999e111 < y3 < -1.36000000000000002e-44 or 3.39999999999999995e-266 < y3 < 3.19999999999999993e-136

                                                                                                                                                                                                        1. Initial program 38.4%

                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                        3. Taylor expanded in y around -inf

                                                                                                                                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                          1. mul-1-negN/A

                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                          2. distribute-lft-neg-inN/A

                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                          3. lower-*.f64N/A

                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                          4. lower-neg.f64N/A

                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                          5. lower--.f64N/A

                                                                                                                                                                                                            \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                        5. Applied rewrites47.0%

                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                        6. Taylor expanded in a around -inf

                                                                                                                                                                                                          \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                          1. Applied rewrites28.3%

                                                                                                                                                                                                            \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                          2. Taylor expanded in x around inf

                                                                                                                                                                                                            \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                            1. Applied rewrites45.0%

                                                                                                                                                                                                              \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                                                                                                                                                                                            if -1.36000000000000002e-44 < y3 < 3.39999999999999995e-266

                                                                                                                                                                                                            1. Initial program 44.9%

                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                            3. Taylor expanded in y2 around inf

                                                                                                                                                                                                              \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                              1. *-commutativeN/A

                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                              2. lower-*.f64N/A

                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                            5. Applied rewrites39.8%

                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                                                                            6. Taylor expanded in y4 around inf

                                                                                                                                                                                                              \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                              1. Applied rewrites38.5%

                                                                                                                                                                                                                \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                                                                                                                                                                                              2. Taylor expanded in t around inf

                                                                                                                                                                                                                \[\leadsto \left(y2 \cdot y4\right) \cdot \left(-1 \cdot \left(c \cdot \color{blue}{t}\right)\right) \]
                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                1. Applied rewrites38.4%

                                                                                                                                                                                                                  \[\leadsto \left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right) \]

                                                                                                                                                                                                                if 3.19999999999999993e-136 < y3 < 8.0000000000000004e238

                                                                                                                                                                                                                1. Initial program 35.8%

                                                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                                                3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                                  1. mul-1-negN/A

                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                  3. lower-*.f64N/A

                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                  4. lower-neg.f64N/A

                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                  5. lower--.f64N/A

                                                                                                                                                                                                                    \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                5. Applied rewrites47.6%

                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                6. Taylor expanded in i around 0

                                                                                                                                                                                                                  \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                  1. Applied rewrites47.8%

                                                                                                                                                                                                                    \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                  2. Taylor expanded in y0 around inf

                                                                                                                                                                                                                    \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                    1. Applied rewrites36.0%

                                                                                                                                                                                                                      \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                                                                                                    2. Step-by-step derivation
                                                                                                                                                                                                                      1. Applied rewrites41.8%

                                                                                                                                                                                                                        \[\leadsto y5 \cdot \left(y0 \cdot \color{blue}{\mathsf{fma}\left(-k, y2, y3 \cdot j\right)}\right) \]

                                                                                                                                                                                                                      if 8.0000000000000004e238 < y3

                                                                                                                                                                                                                      1. Initial program 33.3%

                                                                                                                                                                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                      2. Add Preprocessing
                                                                                                                                                                                                                      3. Taylor expanded in y around -inf

                                                                                                                                                                                                                        \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                        1. mul-1-negN/A

                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                        2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                        3. lower-*.f64N/A

                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                        4. lower-neg.f64N/A

                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                        5. lower--.f64N/A

                                                                                                                                                                                                                          \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                      5. Applied rewrites60.0%

                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                      6. Taylor expanded in a around -inf

                                                                                                                                                                                                                        \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                        1. Applied rewrites73.5%

                                                                                                                                                                                                                          \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                      8. Recombined 5 regimes into one program.
                                                                                                                                                                                                                      9. Add Preprocessing

                                                                                                                                                                                                                      Alternative 20: 22.8% accurate, 3.7× speedup?

                                                                                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{if}\;y3 \leq -1 \cdot 10^{+110}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -1.3 \cdot 10^{-43}:\\ \;\;\;\;\left(b \cdot y\right) \cdot \mathsf{fma}\left(-k, y4, a \cdot x\right)\\ \mathbf{elif}\;y3 \leq 1.85 \cdot 10^{-168}:\\ \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\ \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                       :precision binary64
                                                                                                                                                                                                                       (let* ((t_1 (* j (* y0 (* y3 y5)))))
                                                                                                                                                                                                                         (if (<= y3 -1e+110)
                                                                                                                                                                                                                           t_1
                                                                                                                                                                                                                           (if (<= y3 -1.3e-43)
                                                                                                                                                                                                                             (* (* b y) (fma (- k) y4 (* a x)))
                                                                                                                                                                                                                             (if (<= y3 1.85e-168)
                                                                                                                                                                                                                               (* (* y2 y4) (* (- c) t))
                                                                                                                                                                                                                               (if (<= y3 8e+17)
                                                                                                                                                                                                                                 (- (* k (* (* y0 y2) y5)))
                                                                                                                                                                                                                                 (if (<= y3 8e+238) t_1 (* (* a y) (fma b x (* (- y3) y5))))))))))
                                                                                                                                                                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                      	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                      	double tmp;
                                                                                                                                                                                                                      	if (y3 <= -1e+110) {
                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                      	} else if (y3 <= -1.3e-43) {
                                                                                                                                                                                                                      		tmp = (b * y) * fma(-k, y4, (a * x));
                                                                                                                                                                                                                      	} else if (y3 <= 1.85e-168) {
                                                                                                                                                                                                                      		tmp = (y2 * y4) * (-c * t);
                                                                                                                                                                                                                      	} else if (y3 <= 8e+17) {
                                                                                                                                                                                                                      		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                                                                                                                      	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                      	} else {
                                                                                                                                                                                                                      		tmp = (a * y) * fma(b, x, (-y3 * y5));
                                                                                                                                                                                                                      	}
                                                                                                                                                                                                                      	return tmp;
                                                                                                                                                                                                                      }
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                      	t_1 = Float64(j * Float64(y0 * Float64(y3 * y5)))
                                                                                                                                                                                                                      	tmp = 0.0
                                                                                                                                                                                                                      	if (y3 <= -1e+110)
                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                      	elseif (y3 <= -1.3e-43)
                                                                                                                                                                                                                      		tmp = Float64(Float64(b * y) * fma(Float64(-k), y4, Float64(a * x)));
                                                                                                                                                                                                                      	elseif (y3 <= 1.85e-168)
                                                                                                                                                                                                                      		tmp = Float64(Float64(y2 * y4) * Float64(Float64(-c) * t));
                                                                                                                                                                                                                      	elseif (y3 <= 8e+17)
                                                                                                                                                                                                                      		tmp = Float64(-Float64(k * Float64(Float64(y0 * y2) * y5)));
                                                                                                                                                                                                                      	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                      	else
                                                                                                                                                                                                                      		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
                                                                                                                                                                                                                      	end
                                                                                                                                                                                                                      	return tmp
                                                                                                                                                                                                                      end
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1e+110], t$95$1, If[LessEqual[y3, -1.3e-43], N[(N[(b * y), $MachinePrecision] * N[((-k) * y4 + N[(a * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.85e-168], N[(N[(y2 * y4), $MachinePrecision] * N[((-c) * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8e+17], (-N[(k * N[(N[(y0 * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y3, 8e+238], t$95$1, N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]]
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \\
                                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                                      t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                                                                                                                      \mathbf{if}\;y3 \leq -1 \cdot 10^{+110}:\\
                                                                                                                                                                                                                      \;\;\;\;t\_1\\
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \mathbf{elif}\;y3 \leq -1.3 \cdot 10^{-43}:\\
                                                                                                                                                                                                                      \;\;\;\;\left(b \cdot y\right) \cdot \mathsf{fma}\left(-k, y4, a \cdot x\right)\\
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \mathbf{elif}\;y3 \leq 1.85 \cdot 10^{-168}:\\
                                                                                                                                                                                                                      \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\
                                                                                                                                                                                                                      \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                                                                                                                      \;\;\;\;t\_1\\
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \mathbf{else}:\\
                                                                                                                                                                                                                      \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                                      
                                                                                                                                                                                                                      Derivation
                                                                                                                                                                                                                      1. Split input into 5 regimes
                                                                                                                                                                                                                      2. if y3 < -1e110 or 8e17 < y3 < 8.0000000000000004e238

                                                                                                                                                                                                                        1. Initial program 18.6%

                                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                                        3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                          1. mul-1-negN/A

                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                          2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                          3. lower-*.f64N/A

                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                          4. lower-neg.f64N/A

                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                          5. lower--.f64N/A

                                                                                                                                                                                                                            \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                        5. Applied rewrites40.4%

                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                        6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                          \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                          1. Applied rewrites51.5%

                                                                                                                                                                                                                            \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                                                                                                                          2. Taylor expanded in y around 0

                                                                                                                                                                                                                            \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                            1. Applied rewrites48.4%

                                                                                                                                                                                                                              \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                            if -1e110 < y3 < -1.3e-43

                                                                                                                                                                                                                            1. Initial program 42.2%

                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                            3. Taylor expanded in y around -inf

                                                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                                                \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                            5. Applied rewrites47.1%

                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                            6. Taylor expanded in a around -inf

                                                                                                                                                                                                                              \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                              1. Applied rewrites24.3%

                                                                                                                                                                                                                                \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                              2. Taylor expanded in b around -inf

                                                                                                                                                                                                                                \[\leadsto b \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(k \cdot y4\right) + a \cdot x\right)\right)} \]
                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                1. Applied rewrites35.0%

                                                                                                                                                                                                                                  \[\leadsto \left(b \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-k, y4, a \cdot x\right)} \]

                                                                                                                                                                                                                                if -1.3e-43 < y3 < 1.84999999999999999e-168

                                                                                                                                                                                                                                1. Initial program 43.1%

                                                                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                                                                3. Taylor expanded in y2 around inf

                                                                                                                                                                                                                                  \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                                                  1. *-commutativeN/A

                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                  2. lower-*.f64N/A

                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                5. Applied rewrites37.0%

                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                                                                                                6. Taylor expanded in y4 around inf

                                                                                                                                                                                                                                  \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                  1. Applied rewrites33.6%

                                                                                                                                                                                                                                    \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                                                                                                                                                                                                                  2. Taylor expanded in t around inf

                                                                                                                                                                                                                                    \[\leadsto \left(y2 \cdot y4\right) \cdot \left(-1 \cdot \left(c \cdot \color{blue}{t}\right)\right) \]
                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                    1. Applied rewrites31.1%

                                                                                                                                                                                                                                      \[\leadsto \left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right) \]

                                                                                                                                                                                                                                    if 1.84999999999999999e-168 < y3 < 8e17

                                                                                                                                                                                                                                    1. Initial program 51.1%

                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                    3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                      1. mul-1-negN/A

                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                      2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                      3. lower-*.f64N/A

                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                      4. lower-neg.f64N/A

                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                      5. lower--.f64N/A

                                                                                                                                                                                                                                        \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                    5. Applied rewrites49.6%

                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                    6. Taylor expanded in i around 0

                                                                                                                                                                                                                                      \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                      1. Applied rewrites45.3%

                                                                                                                                                                                                                                        \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                      2. Taylor expanded in y0 around inf

                                                                                                                                                                                                                                        \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                        1. Applied rewrites30.6%

                                                                                                                                                                                                                                          \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                                                                                                                        2. Taylor expanded in j around 0

                                                                                                                                                                                                                                          \[\leadsto -k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right) \]
                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                          1. Applied rewrites32.8%

                                                                                                                                                                                                                                            \[\leadsto -k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right) \]

                                                                                                                                                                                                                                          if 8.0000000000000004e238 < y3

                                                                                                                                                                                                                                          1. Initial program 33.3%

                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                          3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                            \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                            1. mul-1-negN/A

                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                            2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                            3. lower-*.f64N/A

                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                            4. lower-neg.f64N/A

                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                            5. lower--.f64N/A

                                                                                                                                                                                                                                              \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                          5. Applied rewrites60.0%

                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                          6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                            \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                            1. Applied rewrites73.5%

                                                                                                                                                                                                                                              \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                          8. Recombined 5 regimes into one program.
                                                                                                                                                                                                                                          9. Add Preprocessing

                                                                                                                                                                                                                                          Alternative 21: 32.7% accurate, 4.2× speedup?

                                                                                                                                                                                                                                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -9.2 \cdot 10^{-41}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq 1.4 \cdot 10^{-208}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\ \mathbf{elif}\;y3 \leq 3.15 \cdot 10^{+128}:\\ \;\;\;\;x \cdot \left(a \cdot \mathsf{fma}\left(b, y, \left(-y1\right) \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                          (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                           :precision binary64
                                                                                                                                                                                                                                           (let* ((t_1 (* (* y3 y5) (fma j y0 (* (- a) y)))))
                                                                                                                                                                                                                                             (if (<= y3 -1.46e+58)
                                                                                                                                                                                                                                               t_1
                                                                                                                                                                                                                                               (if (<= y3 -9.2e-41)
                                                                                                                                                                                                                                                 (* (* x y) (fma (- c) i (* a b)))
                                                                                                                                                                                                                                                 (if (<= y3 1.4e-208)
                                                                                                                                                                                                                                                   (* (* c (fma x y0 (* (- t) y4))) y2)
                                                                                                                                                                                                                                                   (if (<= y3 3.15e+128) (* x (* a (fma b y (* (- y1) y2)))) t_1))))))
                                                                                                                                                                                                                                          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                          	double t_1 = (y3 * y5) * fma(j, y0, (-a * y));
                                                                                                                                                                                                                                          	double tmp;
                                                                                                                                                                                                                                          	if (y3 <= -1.46e+58) {
                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                          	} else if (y3 <= -9.2e-41) {
                                                                                                                                                                                                                                          		tmp = (x * y) * fma(-c, i, (a * b));
                                                                                                                                                                                                                                          	} else if (y3 <= 1.4e-208) {
                                                                                                                                                                                                                                          		tmp = (c * fma(x, y0, (-t * y4))) * y2;
                                                                                                                                                                                                                                          	} else if (y3 <= 3.15e+128) {
                                                                                                                                                                                                                                          		tmp = x * (a * fma(b, y, (-y1 * y2)));
                                                                                                                                                                                                                                          	} else {
                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                          	}
                                                                                                                                                                                                                                          	return tmp;
                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                          	t_1 = Float64(Float64(y3 * y5) * fma(j, y0, Float64(Float64(-a) * y)))
                                                                                                                                                                                                                                          	tmp = 0.0
                                                                                                                                                                                                                                          	if (y3 <= -1.46e+58)
                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                          	elseif (y3 <= -9.2e-41)
                                                                                                                                                                                                                                          		tmp = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)));
                                                                                                                                                                                                                                          	elseif (y3 <= 1.4e-208)
                                                                                                                                                                                                                                          		tmp = Float64(Float64(c * fma(x, y0, Float64(Float64(-t) * y4))) * y2);
                                                                                                                                                                                                                                          	elseif (y3 <= 3.15e+128)
                                                                                                                                                                                                                                          		tmp = Float64(x * Float64(a * fma(b, y, Float64(Float64(-y1) * y2))));
                                                                                                                                                                                                                                          	else
                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                          	end
                                                                                                                                                                                                                                          	return tmp
                                                                                                                                                                                                                                          end
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y3 * y5), $MachinePrecision] * N[(j * y0 + N[((-a) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.46e+58], t$95$1, If[LessEqual[y3, -9.2e-41], N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 1.4e-208], N[(N[(c * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] * y2), $MachinePrecision], If[LessEqual[y3, 3.15e+128], N[(x * N[(a * N[(b * y + N[((-y1) * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          \begin{array}{l}
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          \\
                                                                                                                                                                                                                                          \begin{array}{l}
                                                                                                                                                                                                                                          t_1 := \left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\
                                                                                                                                                                                                                                          \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\
                                                                                                                                                                                                                                          \;\;\;\;t\_1\\
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          \mathbf{elif}\;y3 \leq -9.2 \cdot 10^{-41}:\\
                                                                                                                                                                                                                                          \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          \mathbf{elif}\;y3 \leq 1.4 \cdot 10^{-208}:\\
                                                                                                                                                                                                                                          \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          \mathbf{elif}\;y3 \leq 3.15 \cdot 10^{+128}:\\
                                                                                                                                                                                                                                          \;\;\;\;x \cdot \left(a \cdot \mathsf{fma}\left(b, y, \left(-y1\right) \cdot y2\right)\right)\\
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          \mathbf{else}:\\
                                                                                                                                                                                                                                          \;\;\;\;t\_1\\
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          \end{array}
                                                                                                                                                                                                                                          \end{array}
                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                          Derivation
                                                                                                                                                                                                                                          1. Split input into 4 regimes
                                                                                                                                                                                                                                          2. if y3 < -1.4599999999999999e58 or 3.1499999999999999e128 < y3

                                                                                                                                                                                                                                            1. Initial program 19.0%

                                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                                            3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                            5. Applied rewrites40.2%

                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                            6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                              \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                              1. Applied rewrites55.9%

                                                                                                                                                                                                                                                \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]

                                                                                                                                                                                                                                              if -1.4599999999999999e58 < y3 < -9.20000000000000041e-41

                                                                                                                                                                                                                                              1. Initial program 52.5%

                                                                                                                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                              2. Add Preprocessing
                                                                                                                                                                                                                                              3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                                1. mul-1-negN/A

                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                3. lower-*.f64N/A

                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                4. lower-neg.f64N/A

                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                5. lower--.f64N/A

                                                                                                                                                                                                                                                  \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                              5. Applied rewrites59.0%

                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                              6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                1. Applied rewrites17.5%

                                                                                                                                                                                                                                                  \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                  \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                  1. Applied rewrites53.1%

                                                                                                                                                                                                                                                    \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                                                                                                                                                                                                                                  if -9.20000000000000041e-41 < y3 < 1.40000000000000001e-208

                                                                                                                                                                                                                                                  1. Initial program 44.3%

                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                  3. Taylor expanded in y2 around inf

                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                    1. *-commutativeN/A

                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                    2. lower-*.f64N/A

                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                  5. Applied rewrites37.3%

                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                                                                                                                  6. Taylor expanded in c around inf

                                                                                                                                                                                                                                                    \[\leadsto \left(c \cdot \left(x \cdot y0 - t \cdot y4\right)\right) \cdot y2 \]
                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                    1. Applied rewrites43.6%

                                                                                                                                                                                                                                                      \[\leadsto \left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2 \]

                                                                                                                                                                                                                                                    if 1.40000000000000001e-208 < y3 < 3.1499999999999999e128

                                                                                                                                                                                                                                                    1. Initial program 42.5%

                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                    3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                      1. mul-1-negN/A

                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                      2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                      3. lower-*.f64N/A

                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                      4. lower-neg.f64N/A

                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                      5. lower--.f64N/A

                                                                                                                                                                                                                                                        \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                    5. Applied rewrites45.9%

                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                    6. Taylor expanded in i around 0

                                                                                                                                                                                                                                                      \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                      1. Applied rewrites40.6%

                                                                                                                                                                                                                                                        \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                      2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                        1. lower-*.f64N/A

                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                        2. lower--.f64N/A

                                                                                                                                                                                                                                                          \[\leadsto x \cdot \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                      4. Applied rewrites47.1%

                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(-c, i, a \cdot b\right), y2 \cdot \mathsf{fma}\left(-a, y1, c \cdot y0\right)\right) - j \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)} \]
                                                                                                                                                                                                                                                      5. Taylor expanded in a around inf

                                                                                                                                                                                                                                                        \[\leadsto x \cdot \left(a \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot y2\right) + b \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                      6. Step-by-step derivation
                                                                                                                                                                                                                                                        1. Applied rewrites42.2%

                                                                                                                                                                                                                                                          \[\leadsto x \cdot \left(a \cdot \color{blue}{\mathsf{fma}\left(b, y, -y1 \cdot y2\right)}\right) \]
                                                                                                                                                                                                                                                      7. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                      8. Final simplification48.5%

                                                                                                                                                                                                                                                        \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \mathbf{elif}\;y3 \leq -9.2 \cdot 10^{-41}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq 1.4 \cdot 10^{-208}:\\ \;\;\;\;\left(c \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\right) \cdot y2\\ \mathbf{elif}\;y3 \leq 3.15 \cdot 10^{+128}:\\ \;\;\;\;x \cdot \left(a \cdot \mathsf{fma}\left(b, y, \left(-y1\right) \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \end{array} \]
                                                                                                                                                                                                                                                      9. Add Preprocessing

                                                                                                                                                                                                                                                      Alternative 22: 32.2% accurate, 4.2× speedup?

                                                                                                                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := \left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq -7.8 \cdot 10^{-42}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-234}:\\ \;\;\;\;\left(c \cdot y2\right) \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\\ \mathbf{elif}\;y3 \leq 3.15 \cdot 10^{+128}:\\ \;\;\;\;x \cdot \left(a \cdot \mathsf{fma}\left(b, y, \left(-y1\right) \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                       :precision binary64
                                                                                                                                                                                                                                                       (let* ((t_1 (* (* y3 y5) (fma j y0 (* (- a) y)))))
                                                                                                                                                                                                                                                         (if (<= y3 -1.46e+58)
                                                                                                                                                                                                                                                           t_1
                                                                                                                                                                                                                                                           (if (<= y3 -7.8e-42)
                                                                                                                                                                                                                                                             (* (* x y) (fma (- c) i (* a b)))
                                                                                                                                                                                                                                                             (if (<= y3 3.2e-234)
                                                                                                                                                                                                                                                               (* (* c y2) (fma x y0 (* (- t) y4)))
                                                                                                                                                                                                                                                               (if (<= y3 3.15e+128) (* x (* a (fma b y (* (- y1) y2)))) t_1))))))
                                                                                                                                                                                                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                      	double t_1 = (y3 * y5) * fma(j, y0, (-a * y));
                                                                                                                                                                                                                                                      	double tmp;
                                                                                                                                                                                                                                                      	if (y3 <= -1.46e+58) {
                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                      	} else if (y3 <= -7.8e-42) {
                                                                                                                                                                                                                                                      		tmp = (x * y) * fma(-c, i, (a * b));
                                                                                                                                                                                                                                                      	} else if (y3 <= 3.2e-234) {
                                                                                                                                                                                                                                                      		tmp = (c * y2) * fma(x, y0, (-t * y4));
                                                                                                                                                                                                                                                      	} else if (y3 <= 3.15e+128) {
                                                                                                                                                                                                                                                      		tmp = x * (a * fma(b, y, (-y1 * y2)));
                                                                                                                                                                                                                                                      	} else {
                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                      	}
                                                                                                                                                                                                                                                      	return tmp;
                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                      	t_1 = Float64(Float64(y3 * y5) * fma(j, y0, Float64(Float64(-a) * y)))
                                                                                                                                                                                                                                                      	tmp = 0.0
                                                                                                                                                                                                                                                      	if (y3 <= -1.46e+58)
                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                      	elseif (y3 <= -7.8e-42)
                                                                                                                                                                                                                                                      		tmp = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)));
                                                                                                                                                                                                                                                      	elseif (y3 <= 3.2e-234)
                                                                                                                                                                                                                                                      		tmp = Float64(Float64(c * y2) * fma(x, y0, Float64(Float64(-t) * y4)));
                                                                                                                                                                                                                                                      	elseif (y3 <= 3.15e+128)
                                                                                                                                                                                                                                                      		tmp = Float64(x * Float64(a * fma(b, y, Float64(Float64(-y1) * y2))));
                                                                                                                                                                                                                                                      	else
                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                      	end
                                                                                                                                                                                                                                                      	return tmp
                                                                                                                                                                                                                                                      end
                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y3 * y5), $MachinePrecision] * N[(j * y0 + N[((-a) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.46e+58], t$95$1, If[LessEqual[y3, -7.8e-42], N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.2e-234], N[(N[(c * y2), $MachinePrecision] * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 3.15e+128], N[(x * N[(a * N[(b * y + N[((-y1) * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], t$95$1]]]]]
                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                      \\
                                                                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                                                                      t_1 := \left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\
                                                                                                                                                                                                                                                      \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\
                                                                                                                                                                                                                                                      \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                      \mathbf{elif}\;y3 \leq -7.8 \cdot 10^{-42}:\\
                                                                                                                                                                                                                                                      \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                      \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-234}:\\
                                                                                                                                                                                                                                                      \;\;\;\;\left(c \cdot y2\right) \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\\
                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                      \mathbf{elif}\;y3 \leq 3.15 \cdot 10^{+128}:\\
                                                                                                                                                                                                                                                      \;\;\;\;x \cdot \left(a \cdot \mathsf{fma}\left(b, y, \left(-y1\right) \cdot y2\right)\right)\\
                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                      \mathbf{else}:\\
                                                                                                                                                                                                                                                      \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                      Derivation
                                                                                                                                                                                                                                                      1. Split input into 4 regimes
                                                                                                                                                                                                                                                      2. if y3 < -1.4599999999999999e58 or 3.1499999999999999e128 < y3

                                                                                                                                                                                                                                                        1. Initial program 19.0%

                                                                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                                                                        3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                                                          1. mul-1-negN/A

                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                          2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                          3. lower-*.f64N/A

                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                          4. lower-neg.f64N/A

                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                          5. lower--.f64N/A

                                                                                                                                                                                                                                                            \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                        5. Applied rewrites40.2%

                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                        6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                                          \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                          1. Applied rewrites55.9%

                                                                                                                                                                                                                                                            \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]

                                                                                                                                                                                                                                                          if -1.4599999999999999e58 < y3 < -7.8000000000000003e-42

                                                                                                                                                                                                                                                          1. Initial program 52.5%

                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                          3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                            1. mul-1-negN/A

                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                            2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                            3. lower-*.f64N/A

                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                            4. lower-neg.f64N/A

                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                            5. lower--.f64N/A

                                                                                                                                                                                                                                                              \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                          5. Applied rewrites59.0%

                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                          6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                            \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                            1. Applied rewrites17.5%

                                                                                                                                                                                                                                                              \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                            2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                              \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                              1. Applied rewrites53.1%

                                                                                                                                                                                                                                                                \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                                                                                                                                                                                                                                              if -7.8000000000000003e-42 < y3 < 3.1999999999999999e-234

                                                                                                                                                                                                                                                              1. Initial program 42.4%

                                                                                                                                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                              2. Add Preprocessing
                                                                                                                                                                                                                                                              3. Taylor expanded in y2 around inf

                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                                                1. *-commutativeN/A

                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                                2. lower-*.f64N/A

                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                              5. Applied rewrites38.1%

                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                                                                                                                              6. Taylor expanded in c around inf

                                                                                                                                                                                                                                                                \[\leadsto c \cdot \color{blue}{\left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)} \]
                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                1. Applied rewrites41.8%

                                                                                                                                                                                                                                                                  \[\leadsto \left(c \cdot y2\right) \cdot \color{blue}{\mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)} \]

                                                                                                                                                                                                                                                                if 3.1999999999999999e-234 < y3 < 3.1499999999999999e128

                                                                                                                                                                                                                                                                1. Initial program 44.1%

                                                                                                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                                                                                                3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                                                                                  1. mul-1-negN/A

                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                  3. lower-*.f64N/A

                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                  4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                  5. lower--.f64N/A

                                                                                                                                                                                                                                                                    \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                5. Applied rewrites46.2%

                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                6. Taylor expanded in i around 0

                                                                                                                                                                                                                                                                  \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                  1. Applied rewrites38.7%

                                                                                                                                                                                                                                                                    \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                  2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                    1. lower-*.f64N/A

                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{x \cdot \left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                    2. lower--.f64N/A

                                                                                                                                                                                                                                                                      \[\leadsto x \cdot \color{blue}{\left(\left(y \cdot \left(a \cdot b - c \cdot i\right) + y2 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - j \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                  4. Applied rewrites46.1%

                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{x \cdot \left(\mathsf{fma}\left(y, \mathsf{fma}\left(-c, i, a \cdot b\right), y2 \cdot \mathsf{fma}\left(-a, y1, c \cdot y0\right)\right) - j \cdot \mathsf{fma}\left(-i, y1, b \cdot y0\right)\right)} \]
                                                                                                                                                                                                                                                                  5. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                    \[\leadsto x \cdot \left(a \cdot \color{blue}{\left(-1 \cdot \left(y1 \cdot y2\right) + b \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                  6. Step-by-step derivation
                                                                                                                                                                                                                                                                    1. Applied rewrites40.1%

                                                                                                                                                                                                                                                                      \[\leadsto x \cdot \left(a \cdot \color{blue}{\mathsf{fma}\left(b, y, -y1 \cdot y2\right)}\right) \]
                                                                                                                                                                                                                                                                  7. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                  8. Final simplification47.4%

                                                                                                                                                                                                                                                                    \[\leadsto \begin{array}{l} \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \mathbf{elif}\;y3 \leq -7.8 \cdot 10^{-42}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq 3.2 \cdot 10^{-234}:\\ \;\;\;\;\left(c \cdot y2\right) \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\\ \mathbf{elif}\;y3 \leq 3.15 \cdot 10^{+128}:\\ \;\;\;\;x \cdot \left(a \cdot \mathsf{fma}\left(b, y, \left(-y1\right) \cdot y2\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                  9. Add Preprocessing

                                                                                                                                                                                                                                                                  Alternative 23: 30.1% accurate, 4.2× speedup?

                                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\ \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\ \mathbf{elif}\;y3 \leq -7.8 \cdot 10^{-42}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{elif}\;y3 \leq 2.8 \cdot 10^{-136}:\\ \;\;\;\;\left(c \cdot y2\right) \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                   :precision binary64
                                                                                                                                                                                                                                                                   (if (<= y3 -1.46e+58)
                                                                                                                                                                                                                                                                     (* (* y3 y5) (fma j y0 (* (- a) y)))
                                                                                                                                                                                                                                                                     (if (<= y3 -7.8e-42)
                                                                                                                                                                                                                                                                       (* (* x y) (fma (- c) i (* a b)))
                                                                                                                                                                                                                                                                       (if (<= y3 2.8e-136)
                                                                                                                                                                                                                                                                         (* (* c y2) (fma x y0 (* (- t) y4)))
                                                                                                                                                                                                                                                                         (if (<= y3 8e+238)
                                                                                                                                                                                                                                                                           (* y5 (* y0 (fma (- k) y2 (* y3 j))))
                                                                                                                                                                                                                                                                           (* (* a y) (fma b x (* (- y3) y5))))))))
                                                                                                                                                                                                                                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                  	if (y3 <= -1.46e+58) {
                                                                                                                                                                                                                                                                  		tmp = (y3 * y5) * fma(j, y0, (-a * y));
                                                                                                                                                                                                                                                                  	} else if (y3 <= -7.8e-42) {
                                                                                                                                                                                                                                                                  		tmp = (x * y) * fma(-c, i, (a * b));
                                                                                                                                                                                                                                                                  	} else if (y3 <= 2.8e-136) {
                                                                                                                                                                                                                                                                  		tmp = (c * y2) * fma(x, y0, (-t * y4));
                                                                                                                                                                                                                                                                  	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                  		tmp = y5 * (y0 * fma(-k, y2, (y3 * j)));
                                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                                  		tmp = (a * y) * fma(b, x, (-y3 * y5));
                                                                                                                                                                                                                                                                  	}
                                                                                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                                                  	if (y3 <= -1.46e+58)
                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(y3 * y5) * fma(j, y0, Float64(Float64(-a) * y)));
                                                                                                                                                                                                                                                                  	elseif (y3 <= -7.8e-42)
                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)));
                                                                                                                                                                                                                                                                  	elseif (y3 <= 2.8e-136)
                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(c * y2) * fma(x, y0, Float64(Float64(-t) * y4)));
                                                                                                                                                                                                                                                                  	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                  		tmp = Float64(y5 * Float64(y0 * fma(Float64(-k), y2, Float64(y3 * j))));
                                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
                                                                                                                                                                                                                                                                  	end
                                                                                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                                                                                  end
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y3, -1.46e+58], N[(N[(y3 * y5), $MachinePrecision] * N[(j * y0 + N[((-a) * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, -7.8e-42], N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 2.8e-136], N[(N[(c * y2), $MachinePrecision] * N[(x * y0 + N[((-t) * y4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8e+238], N[(y5 * N[(y0 * N[((-k) * y2 + N[(y3 * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                  \mathbf{if}\;y3 \leq -1.46 \cdot 10^{+58}:\\
                                                                                                                                                                                                                                                                  \;\;\;\;\left(y3 \cdot y5\right) \cdot \mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)\\
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq -7.8 \cdot 10^{-42}:\\
                                                                                                                                                                                                                                                                  \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq 2.8 \cdot 10^{-136}:\\
                                                                                                                                                                                                                                                                  \;\;\;\;\left(c \cdot y2\right) \cdot \mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)\\
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                                                                                                                                                                  \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                                                  \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                                                  1. Split input into 5 regimes
                                                                                                                                                                                                                                                                  2. if y3 < -1.4599999999999999e58

                                                                                                                                                                                                                                                                    1. Initial program 19.1%

                                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                                    3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                                      1. mul-1-negN/A

                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                      2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                      3. lower-*.f64N/A

                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                      4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                      5. lower--.f64N/A

                                                                                                                                                                                                                                                                        \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                    5. Applied rewrites37.8%

                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                    6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                                                      \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                      1. Applied rewrites56.4%

                                                                                                                                                                                                                                                                        \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]

                                                                                                                                                                                                                                                                      if -1.4599999999999999e58 < y3 < -7.8000000000000003e-42

                                                                                                                                                                                                                                                                      1. Initial program 52.5%

                                                                                                                                                                                                                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                      2. Add Preprocessing
                                                                                                                                                                                                                                                                      3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                                                        1. mul-1-negN/A

                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                        2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                        3. lower-*.f64N/A

                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                        4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                        5. lower--.f64N/A

                                                                                                                                                                                                                                                                          \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                      5. Applied rewrites59.0%

                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                      6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                        \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                        1. Applied rewrites17.5%

                                                                                                                                                                                                                                                                          \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                        2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                          \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                          1. Applied rewrites53.1%

                                                                                                                                                                                                                                                                            \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                                                                                                                                                                                                                                                          if -7.8000000000000003e-42 < y3 < 2.8000000000000001e-136

                                                                                                                                                                                                                                                                          1. Initial program 41.6%

                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                          3. Taylor expanded in y2 around inf

                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                            1. *-commutativeN/A

                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                                            2. lower-*.f64N/A

                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                                          5. Applied rewrites37.2%

                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                                                                                                                                          6. Taylor expanded in c around inf

                                                                                                                                                                                                                                                                            \[\leadsto c \cdot \color{blue}{\left(y2 \cdot \left(x \cdot y0 - t \cdot y4\right)\right)} \]
                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                            1. Applied rewrites38.9%

                                                                                                                                                                                                                                                                              \[\leadsto \left(c \cdot y2\right) \cdot \color{blue}{\mathsf{fma}\left(x, y0, \left(-t\right) \cdot y4\right)} \]

                                                                                                                                                                                                                                                                            if 2.8000000000000001e-136 < y3 < 8.0000000000000004e238

                                                                                                                                                                                                                                                                            1. Initial program 35.8%

                                                                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                                                                            3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                            5. Applied rewrites47.6%

                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                            6. Taylor expanded in i around 0

                                                                                                                                                                                                                                                                              \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                              1. Applied rewrites47.8%

                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                              2. Taylor expanded in y0 around inf

                                                                                                                                                                                                                                                                                \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                1. Applied rewrites36.0%

                                                                                                                                                                                                                                                                                  \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                                                                                                                                                                2. Step-by-step derivation
                                                                                                                                                                                                                                                                                  1. Applied rewrites41.8%

                                                                                                                                                                                                                                                                                    \[\leadsto y5 \cdot \left(y0 \cdot \color{blue}{\mathsf{fma}\left(-k, y2, y3 \cdot j\right)}\right) \]

                                                                                                                                                                                                                                                                                  if 8.0000000000000004e238 < y3

                                                                                                                                                                                                                                                                                  1. Initial program 33.3%

                                                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                                                  3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                                                                                                                                                      \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                  5. Applied rewrites60.0%

                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                  6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                    \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                    1. Applied rewrites73.5%

                                                                                                                                                                                                                                                                                      \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                  8. Recombined 5 regimes into one program.
                                                                                                                                                                                                                                                                                  9. Add Preprocessing

                                                                                                                                                                                                                                                                                  Alternative 24: 21.7% accurate, 4.2× speedup?

                                                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{if}\;y3 \leq -9.2 \cdot 10^{-6}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 1.85 \cdot 10^{-168}:\\ \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\ \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                   :precision binary64
                                                                                                                                                                                                                                                                                   (let* ((t_1 (* j (* y0 (* y3 y5)))))
                                                                                                                                                                                                                                                                                     (if (<= y3 -9.2e-6)
                                                                                                                                                                                                                                                                                       t_1
                                                                                                                                                                                                                                                                                       (if (<= y3 1.85e-168)
                                                                                                                                                                                                                                                                                         (* (* y2 y4) (* (- c) t))
                                                                                                                                                                                                                                                                                         (if (<= y3 8e+17)
                                                                                                                                                                                                                                                                                           (- (* k (* (* y0 y2) y5)))
                                                                                                                                                                                                                                                                                           (if (<= y3 8e+238) t_1 (* (* a y) (fma b x (* (- y3) y5)))))))))
                                                                                                                                                                                                                                                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                  	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                  	if (y3 <= -9.2e-6) {
                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                  	} else if (y3 <= 1.85e-168) {
                                                                                                                                                                                                                                                                                  		tmp = (y2 * y4) * (-c * t);
                                                                                                                                                                                                                                                                                  	} else if (y3 <= 8e+17) {
                                                                                                                                                                                                                                                                                  		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                                                                                                                                                                                  	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                                                  		tmp = (a * y) * fma(b, x, (-y3 * y5));
                                                                                                                                                                                                                                                                                  	}
                                                                                                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                  	t_1 = Float64(j * Float64(y0 * Float64(y3 * y5)))
                                                                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                                                                  	if (y3 <= -9.2e-6)
                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                  	elseif (y3 <= 1.85e-168)
                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(y2 * y4) * Float64(Float64(-c) * t));
                                                                                                                                                                                                                                                                                  	elseif (y3 <= 8e+17)
                                                                                                                                                                                                                                                                                  		tmp = Float64(-Float64(k * Float64(Float64(y0 * y2) * y5)));
                                                                                                                                                                                                                                                                                  	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
                                                                                                                                                                                                                                                                                  	end
                                                                                                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                                                                                                  end
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -9.2e-6], t$95$1, If[LessEqual[y3, 1.85e-168], N[(N[(y2 * y4), $MachinePrecision] * N[((-c) * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8e+17], (-N[(k * N[(N[(y0 * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y3, 8e+238], t$95$1, N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]]]
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                  t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                                                                                                                                                                                  \mathbf{if}\;y3 \leq -9.2 \cdot 10^{-6}:\\
                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq 1.85 \cdot 10^{-168}:\\
                                                                                                                                                                                                                                                                                  \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\
                                                                                                                                                                                                                                                                                  \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                                                                  \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                                                                  1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                  2. if y3 < -9.2e-6 or 8e17 < y3 < 8.0000000000000004e238

                                                                                                                                                                                                                                                                                    1. Initial program 22.0%

                                                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                                                    3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                                                      1. mul-1-negN/A

                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                      2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                      3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                      4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                      5. lower--.f64N/A

                                                                                                                                                                                                                                                                                        \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                    5. Applied rewrites39.7%

                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                    6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                                                                      \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                      1. Applied rewrites48.9%

                                                                                                                                                                                                                                                                                        \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                                                                                                                                                                                      2. Taylor expanded in y around 0

                                                                                                                                                                                                                                                                                        \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                        1. Applied rewrites42.1%

                                                                                                                                                                                                                                                                                          \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                                                                                        if -9.2e-6 < y3 < 1.84999999999999999e-168

                                                                                                                                                                                                                                                                                        1. Initial program 44.6%

                                                                                                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                                                                                                        3. Taylor expanded in y2 around inf

                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                                                          2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                                                        5. Applied rewrites36.5%

                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                                                                                                                                                        6. Taylor expanded in y4 around inf

                                                                                                                                                                                                                                                                                          \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                          1. Applied rewrites33.3%

                                                                                                                                                                                                                                                                                            \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                                                                                                                                                                                                                                                                          2. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                            \[\leadsto \left(y2 \cdot y4\right) \cdot \left(-1 \cdot \left(c \cdot \color{blue}{t}\right)\right) \]
                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                            1. Applied rewrites29.6%

                                                                                                                                                                                                                                                                                              \[\leadsto \left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right) \]

                                                                                                                                                                                                                                                                                            if 1.84999999999999999e-168 < y3 < 8e17

                                                                                                                                                                                                                                                                                            1. Initial program 51.1%

                                                                                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                                                                                            3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                            5. Applied rewrites49.6%

                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                            6. Taylor expanded in i around 0

                                                                                                                                                                                                                                                                                              \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                              1. Applied rewrites45.3%

                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                              2. Taylor expanded in y0 around inf

                                                                                                                                                                                                                                                                                                \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                1. Applied rewrites30.6%

                                                                                                                                                                                                                                                                                                  \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                2. Taylor expanded in j around 0

                                                                                                                                                                                                                                                                                                  \[\leadsto -k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                  1. Applied rewrites32.8%

                                                                                                                                                                                                                                                                                                    \[\leadsto -k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right) \]

                                                                                                                                                                                                                                                                                                  if 8.0000000000000004e238 < y3

                                                                                                                                                                                                                                                                                                  1. Initial program 33.3%

                                                                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                                                                  3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                  5. Applied rewrites60.0%

                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                  6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                    \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                    1. Applied rewrites73.5%

                                                                                                                                                                                                                                                                                                      \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                  8. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                  9. Add Preprocessing

                                                                                                                                                                                                                                                                                                  Alternative 25: 21.8% accurate, 4.8× speedup?

                                                                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{if}\;y3 \leq -9.2 \cdot 10^{-6}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 1.85 \cdot 10^{-168}:\\ \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\ \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                   :precision binary64
                                                                                                                                                                                                                                                                                                   (let* ((t_1 (* j (* y0 (* y3 y5)))))
                                                                                                                                                                                                                                                                                                     (if (<= y3 -9.2e-6)
                                                                                                                                                                                                                                                                                                       t_1
                                                                                                                                                                                                                                                                                                       (if (<= y3 1.85e-168)
                                                                                                                                                                                                                                                                                                         (* (* y2 y4) (* (- c) t))
                                                                                                                                                                                                                                                                                                         (if (<= y3 8e+17)
                                                                                                                                                                                                                                                                                                           (- (* k (* (* y0 y2) y5)))
                                                                                                                                                                                                                                                                                                           (if (<= y3 8e+238) t_1 (* (- a) (* (* y y3) y5))))))))
                                                                                                                                                                                                                                                                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                  	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                                  	if (y3 <= -9.2e-6) {
                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                  	} else if (y3 <= 1.85e-168) {
                                                                                                                                                                                                                                                                                                  		tmp = (y2 * y4) * (-c * t);
                                                                                                                                                                                                                                                                                                  	} else if (y3 <= 8e+17) {
                                                                                                                                                                                                                                                                                                  		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                                                                                                                                                                                                  	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                                                                  		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                  	}
                                                                                                                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                      implicit none
                                                                                                                                                                                                                                                                                                      private
                                                                                                                                                                                                                                                                                                      public fmax
                                                                                                                                                                                                                                                                                                      public fmin
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                      interface fmax
                                                                                                                                                                                                                                                                                                          module procedure fmax88
                                                                                                                                                                                                                                                                                                          module procedure fmax44
                                                                                                                                                                                                                                                                                                          module procedure fmax84
                                                                                                                                                                                                                                                                                                          module procedure fmax48
                                                                                                                                                                                                                                                                                                      end interface
                                                                                                                                                                                                                                                                                                      interface fmin
                                                                                                                                                                                                                                                                                                          module procedure fmin88
                                                                                                                                                                                                                                                                                                          module procedure fmin44
                                                                                                                                                                                                                                                                                                          module procedure fmin84
                                                                                                                                                                                                                                                                                                          module procedure fmin48
                                                                                                                                                                                                                                                                                                      end interface
                                                                                                                                                                                                                                                                                                  contains
                                                                                                                                                                                                                                                                                                      real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                      real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                      real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                          res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                      real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                          res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                      real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                      real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                      real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                          res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                      real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                          res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                  end module
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                  use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                      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), intent (in) :: k
                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                      real(8) :: t_1
                                                                                                                                                                                                                                                                                                      real(8) :: tmp
                                                                                                                                                                                                                                                                                                      t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                      if (y3 <= (-9.2d-6)) then
                                                                                                                                                                                                                                                                                                          tmp = t_1
                                                                                                                                                                                                                                                                                                      else if (y3 <= 1.85d-168) then
                                                                                                                                                                                                                                                                                                          tmp = (y2 * y4) * (-c * t)
                                                                                                                                                                                                                                                                                                      else if (y3 <= 8d+17) then
                                                                                                                                                                                                                                                                                                          tmp = -(k * ((y0 * y2) * y5))
                                                                                                                                                                                                                                                                                                      else if (y3 <= 8d+238) then
                                                                                                                                                                                                                                                                                                          tmp = t_1
                                                                                                                                                                                                                                                                                                      else
                                                                                                                                                                                                                                                                                                          tmp = -a * ((y * y3) * y5)
                                                                                                                                                                                                                                                                                                      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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                  	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                                  	if (y3 <= -9.2e-6) {
                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                  	} else if (y3 <= 1.85e-168) {
                                                                                                                                                                                                                                                                                                  		tmp = (y2 * y4) * (-c * t);
                                                                                                                                                                                                                                                                                                  	} else if (y3 <= 8e+17) {
                                                                                                                                                                                                                                                                                                  		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                                                                                                                                                                                                  	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                                                                  		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                  	}
                                                                                                                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                  	t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                  	tmp = 0
                                                                                                                                                                                                                                                                                                  	if y3 <= -9.2e-6:
                                                                                                                                                                                                                                                                                                  		tmp = t_1
                                                                                                                                                                                                                                                                                                  	elif y3 <= 1.85e-168:
                                                                                                                                                                                                                                                                                                  		tmp = (y2 * y4) * (-c * t)
                                                                                                                                                                                                                                                                                                  	elif y3 <= 8e+17:
                                                                                                                                                                                                                                                                                                  		tmp = -(k * ((y0 * y2) * y5))
                                                                                                                                                                                                                                                                                                  	elif y3 <= 8e+238:
                                                                                                                                                                                                                                                                                                  		tmp = t_1
                                                                                                                                                                                                                                                                                                  	else:
                                                                                                                                                                                                                                                                                                  		tmp = -a * ((y * y3) * y5)
                                                                                                                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                  	t_1 = Float64(j * Float64(y0 * Float64(y3 * y5)))
                                                                                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                                                                                  	if (y3 <= -9.2e-6)
                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                  	elseif (y3 <= 1.85e-168)
                                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(y2 * y4) * Float64(Float64(-c) * t));
                                                                                                                                                                                                                                                                                                  	elseif (y3 <= 8e+17)
                                                                                                                                                                                                                                                                                                  		tmp = Float64(-Float64(k * Float64(Float64(y0 * y2) * y5)));
                                                                                                                                                                                                                                                                                                  	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(-a) * Float64(Float64(y * y3) * y5));
                                                                                                                                                                                                                                                                                                  	end
                                                                                                                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                                                                                                                  end
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                  	t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                  	tmp = 0.0;
                                                                                                                                                                                                                                                                                                  	if (y3 <= -9.2e-6)
                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                  	elseif (y3 <= 1.85e-168)
                                                                                                                                                                                                                                                                                                  		tmp = (y2 * y4) * (-c * t);
                                                                                                                                                                                                                                                                                                  	elseif (y3 <= 8e+17)
                                                                                                                                                                                                                                                                                                  		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                                                                                                                                                                                                  	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                                                  		tmp = t_1;
                                                                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                                                                  		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                  	end
                                                                                                                                                                                                                                                                                                  	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                  end
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -9.2e-6], t$95$1, If[LessEqual[y3, 1.85e-168], N[(N[(y2 * y4), $MachinePrecision] * N[((-c) * t), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8e+17], (-N[(k * N[(N[(y0 * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y3, 8e+238], t$95$1, N[((-a) * N[(N[(y * y3), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]]]]]]
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                  t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                                                                                                                                                                                                  \mathbf{if}\;y3 \leq -9.2 \cdot 10^{-6}:\\
                                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq 1.85 \cdot 10^{-168}:\\
                                                                                                                                                                                                                                                                                                  \;\;\;\;\left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right)\\
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\
                                                                                                                                                                                                                                                                                                  \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                                                                                                                                                                                                  \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                  \;\;\;\;\left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                                                                                  1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                                  2. if y3 < -9.2e-6 or 8e17 < y3 < 8.0000000000000004e238

                                                                                                                                                                                                                                                                                                    1. Initial program 22.0%

                                                                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                                                                    3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                      1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                      2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                      3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                      4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                      5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                        \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                    5. Applied rewrites39.7%

                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                    6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                                                                                      \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                      1. Applied rewrites48.9%

                                                                                                                                                                                                                                                                                                        \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                                                                                                                                                                                                      2. Taylor expanded in y around 0

                                                                                                                                                                                                                                                                                                        \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                        1. Applied rewrites42.1%

                                                                                                                                                                                                                                                                                                          \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                                                                                                        if -9.2e-6 < y3 < 1.84999999999999999e-168

                                                                                                                                                                                                                                                                                                        1. Initial program 44.6%

                                                                                                                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                                                                                                                        3. Taylor expanded in y2 around inf

                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                          1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                                                                          2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                                                                        5. Applied rewrites36.5%

                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                                                                                                                                                                        6. Taylor expanded in y4 around inf

                                                                                                                                                                                                                                                                                                          \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                          1. Applied rewrites33.3%

                                                                                                                                                                                                                                                                                                            \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                                                                                                                                                                                                                                                                                          2. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                            \[\leadsto \left(y2 \cdot y4\right) \cdot \left(-1 \cdot \left(c \cdot \color{blue}{t}\right)\right) \]
                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                            1. Applied rewrites29.6%

                                                                                                                                                                                                                                                                                                              \[\leadsto \left(y2 \cdot y4\right) \cdot \left(\left(-c\right) \cdot t\right) \]

                                                                                                                                                                                                                                                                                                            if 1.84999999999999999e-168 < y3 < 8e17

                                                                                                                                                                                                                                                                                                            1. Initial program 51.1%

                                                                                                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                                                                                                            3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                            5. Applied rewrites49.6%

                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                            6. Taylor expanded in i around 0

                                                                                                                                                                                                                                                                                                              \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                              1. Applied rewrites45.3%

                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                              2. Taylor expanded in y0 around inf

                                                                                                                                                                                                                                                                                                                \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                1. Applied rewrites30.6%

                                                                                                                                                                                                                                                                                                                  \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                                2. Taylor expanded in j around 0

                                                                                                                                                                                                                                                                                                                  \[\leadsto -k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                  1. Applied rewrites32.8%

                                                                                                                                                                                                                                                                                                                    \[\leadsto -k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right) \]

                                                                                                                                                                                                                                                                                                                  if 8.0000000000000004e238 < y3

                                                                                                                                                                                                                                                                                                                  1. Initial program 33.3%

                                                                                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                  3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                  5. Applied rewrites60.0%

                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                  6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                    \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                    1. Applied rewrites73.5%

                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in x around 0

                                                                                                                                                                                                                                                                                                                      \[\leadsto -1 \cdot \left(a \cdot \color{blue}{\left(y \cdot \left(y3 \cdot y5\right)\right)}\right) \]
                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                      1. Applied rewrites67.7%

                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y5}\right) \]
                                                                                                                                                                                                                                                                                                                    4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                    5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                    Alternative 26: 22.2% accurate, 4.8× speedup?

                                                                                                                                                                                                                                                                                                                    \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{if}\;y3 \leq -7.6 \cdot 10^{+27}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 1.85 \cdot 10^{-168}:\\ \;\;\;\;\left(-c\right) \cdot \left(\left(t \cdot y2\right) \cdot y4\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\ \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                    (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                     :precision binary64
                                                                                                                                                                                                                                                                                                                     (let* ((t_1 (* j (* y0 (* y3 y5)))))
                                                                                                                                                                                                                                                                                                                       (if (<= y3 -7.6e+27)
                                                                                                                                                                                                                                                                                                                         t_1
                                                                                                                                                                                                                                                                                                                         (if (<= y3 1.85e-168)
                                                                                                                                                                                                                                                                                                                           (* (- c) (* (* t y2) y4))
                                                                                                                                                                                                                                                                                                                           (if (<= y3 8e+17)
                                                                                                                                                                                                                                                                                                                             (- (* k (* (* y0 y2) y5)))
                                                                                                                                                                                                                                                                                                                             (if (<= y3 8e+238) t_1 (* (- a) (* (* y y3) y5))))))))
                                                                                                                                                                                                                                                                                                                    double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                    	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                                                                                    	if (y3 <= -7.6e+27) {
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	} else if (y3 <= 1.85e-168) {
                                                                                                                                                                                                                                                                                                                    		tmp = -c * ((t * y2) * y4);
                                                                                                                                                                                                                                                                                                                    	} else if (y3 <= 8e+17) {
                                                                                                                                                                                                                                                                                                                    		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                                                                                                                                                                                                                    	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                                                                                    		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                                                                                    	return tmp;
                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                        implicit none
                                                                                                                                                                                                                                                                                                                        private
                                                                                                                                                                                                                                                                                                                        public fmax
                                                                                                                                                                                                                                                                                                                        public fmin
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                        interface fmax
                                                                                                                                                                                                                                                                                                                            module procedure fmax88
                                                                                                                                                                                                                                                                                                                            module procedure fmax44
                                                                                                                                                                                                                                                                                                                            module procedure fmax84
                                                                                                                                                                                                                                                                                                                            module procedure fmax48
                                                                                                                                                                                                                                                                                                                        end interface
                                                                                                                                                                                                                                                                                                                        interface fmin
                                                                                                                                                                                                                                                                                                                            module procedure fmin88
                                                                                                                                                                                                                                                                                                                            module procedure fmin44
                                                                                                                                                                                                                                                                                                                            module procedure fmin84
                                                                                                                                                                                                                                                                                                                            module procedure fmin48
                                                                                                                                                                                                                                                                                                                        end interface
                                                                                                                                                                                                                                                                                                                    contains
                                                                                                                                                                                                                                                                                                                        real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                            res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                        end function
                                                                                                                                                                                                                                                                                                                        real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                            real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                            real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                            res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                        end function
                                                                                                                                                                                                                                                                                                                        real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                            real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                            res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                        end function
                                                                                                                                                                                                                                                                                                                        real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                            real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                            res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                        end function
                                                                                                                                                                                                                                                                                                                        real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                            res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                        end function
                                                                                                                                                                                                                                                                                                                        real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                            real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                            real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                            res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                        end function
                                                                                                                                                                                                                                                                                                                        real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                            real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                            res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                        end function
                                                                                                                                                                                                                                                                                                                        real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                            real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                            res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                        end function
                                                                                                                                                                                                                                                                                                                    end module
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                    use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                        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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                        real(8) :: t_1
                                                                                                                                                                                                                                                                                                                        real(8) :: tmp
                                                                                                                                                                                                                                                                                                                        t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                        if (y3 <= (-7.6d+27)) then
                                                                                                                                                                                                                                                                                                                            tmp = t_1
                                                                                                                                                                                                                                                                                                                        else if (y3 <= 1.85d-168) then
                                                                                                                                                                                                                                                                                                                            tmp = -c * ((t * y2) * y4)
                                                                                                                                                                                                                                                                                                                        else if (y3 <= 8d+17) then
                                                                                                                                                                                                                                                                                                                            tmp = -(k * ((y0 * y2) * y5))
                                                                                                                                                                                                                                                                                                                        else if (y3 <= 8d+238) then
                                                                                                                                                                                                                                                                                                                            tmp = t_1
                                                                                                                                                                                                                                                                                                                        else
                                                                                                                                                                                                                                                                                                                            tmp = -a * ((y * y3) * y5)
                                                                                                                                                                                                                                                                                                                        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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                    	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                    	double tmp;
                                                                                                                                                                                                                                                                                                                    	if (y3 <= -7.6e+27) {
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	} else if (y3 <= 1.85e-168) {
                                                                                                                                                                                                                                                                                                                    		tmp = -c * ((t * y2) * y4);
                                                                                                                                                                                                                                                                                                                    	} else if (y3 <= 8e+17) {
                                                                                                                                                                                                                                                                                                                    		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                                                                                                                                                                                                                    	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	} else {
                                                                                                                                                                                                                                                                                                                    		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                    	}
                                                                                                                                                                                                                                                                                                                    	return tmp;
                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                    	t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                    	tmp = 0
                                                                                                                                                                                                                                                                                                                    	if y3 <= -7.6e+27:
                                                                                                                                                                                                                                                                                                                    		tmp = t_1
                                                                                                                                                                                                                                                                                                                    	elif y3 <= 1.85e-168:
                                                                                                                                                                                                                                                                                                                    		tmp = -c * ((t * y2) * y4)
                                                                                                                                                                                                                                                                                                                    	elif y3 <= 8e+17:
                                                                                                                                                                                                                                                                                                                    		tmp = -(k * ((y0 * y2) * y5))
                                                                                                                                                                                                                                                                                                                    	elif y3 <= 8e+238:
                                                                                                                                                                                                                                                                                                                    		tmp = t_1
                                                                                                                                                                                                                                                                                                                    	else:
                                                                                                                                                                                                                                                                                                                    		tmp = -a * ((y * y3) * y5)
                                                                                                                                                                                                                                                                                                                    	return tmp
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                    	t_1 = Float64(j * Float64(y0 * Float64(y3 * y5)))
                                                                                                                                                                                                                                                                                                                    	tmp = 0.0
                                                                                                                                                                                                                                                                                                                    	if (y3 <= -7.6e+27)
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	elseif (y3 <= 1.85e-168)
                                                                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(-c) * Float64(Float64(t * y2) * y4));
                                                                                                                                                                                                                                                                                                                    	elseif (y3 <= 8e+17)
                                                                                                                                                                                                                                                                                                                    		tmp = Float64(-Float64(k * Float64(Float64(y0 * y2) * y5)));
                                                                                                                                                                                                                                                                                                                    	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                                                                                                                    		tmp = Float64(Float64(-a) * Float64(Float64(y * y3) * y5));
                                                                                                                                                                                                                                                                                                                    	end
                                                                                                                                                                                                                                                                                                                    	return tmp
                                                                                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                    	t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                    	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                    	if (y3 <= -7.6e+27)
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	elseif (y3 <= 1.85e-168)
                                                                                                                                                                                                                                                                                                                    		tmp = -c * ((t * y2) * y4);
                                                                                                                                                                                                                                                                                                                    	elseif (y3 <= 8e+17)
                                                                                                                                                                                                                                                                                                                    		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                                                                                                                                                                                                                    	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                                                                    		tmp = t_1;
                                                                                                                                                                                                                                                                                                                    	else
                                                                                                                                                                                                                                                                                                                    		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                    	end
                                                                                                                                                                                                                                                                                                                    	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                    end
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -7.6e+27], t$95$1, If[LessEqual[y3, 1.85e-168], N[((-c) * N[(N[(t * y2), $MachinePrecision] * y4), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8e+17], (-N[(k * N[(N[(y0 * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y3, 8e+238], t$95$1, N[((-a) * N[(N[(y * y3), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]]]]]]
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \\
                                                                                                                                                                                                                                                                                                                    \begin{array}{l}
                                                                                                                                                                                                                                                                                                                    t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                                                                                                                                                                                                                    \mathbf{if}\;y3 \leq -7.6 \cdot 10^{+27}:\\
                                                                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \mathbf{elif}\;y3 \leq 1.85 \cdot 10^{-168}:\\
                                                                                                                                                                                                                                                                                                                    \;\;\;\;\left(-c\right) \cdot \left(\left(t \cdot y2\right) \cdot y4\right)\\
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\
                                                                                                                                                                                                                                                                                                                    \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                                                                                                                                                                                                                    \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                    \;\;\;\;\left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                                                    \end{array}
                                                                                                                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                                                                    Derivation
                                                                                                                                                                                                                                                                                                                    1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                                                    2. if y3 < -7.60000000000000043e27 or 8e17 < y3 < 8.0000000000000004e238

                                                                                                                                                                                                                                                                                                                      1. Initial program 19.7%

                                                                                                                                                                                                                                                                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                      2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                      3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                        1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                        2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                        3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                        4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                        5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                      5. Applied rewrites40.3%

                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                      6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                                                                                                        \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                        1. Applied rewrites50.1%

                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                                                                                                                                                                                                                        2. Taylor expanded in y around 0

                                                                                                                                                                                                                                                                                                                          \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                          1. Applied rewrites43.7%

                                                                                                                                                                                                                                                                                                                            \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                                                                                                                          if -7.60000000000000043e27 < y3 < 1.84999999999999999e-168

                                                                                                                                                                                                                                                                                                                          1. Initial program 45.6%

                                                                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                          3. Taylor expanded in y2 around inf

                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{y2 \cdot \left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                            1. *-commutativeN/A

                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                                                                                            2. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\left(k \cdot \left(y1 \cdot y4 - y0 \cdot y5\right) + x \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - t \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \cdot y2} \]
                                                                                                                                                                                                                                                                                                                          5. Applied rewrites37.0%

                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{fma}\left(\mathsf{fma}\left(y4, y1, \left(-y0\right) \cdot y5\right), k, \mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right) \cdot x\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot t\right) \cdot y2} \]
                                                                                                                                                                                                                                                                                                                          6. Taylor expanded in y4 around inf

                                                                                                                                                                                                                                                                                                                            \[\leadsto y2 \cdot \color{blue}{\left(y4 \cdot \left(k \cdot y1 - c \cdot t\right)\right)} \]
                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                            1. Applied rewrites30.7%

                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(y2 \cdot y4\right) \cdot \color{blue}{\mathsf{fma}\left(k, y1, \left(-c\right) \cdot t\right)} \]
                                                                                                                                                                                                                                                                                                                            2. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                              \[\leadsto -1 \cdot \left(c \cdot \color{blue}{\left(t \cdot \left(y2 \cdot y4\right)\right)}\right) \]
                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                              1. Applied rewrites27.6%

                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-c\right) \cdot \left(\left(t \cdot y2\right) \cdot \color{blue}{y4}\right) \]

                                                                                                                                                                                                                                                                                                                              if 1.84999999999999999e-168 < y3 < 8e17

                                                                                                                                                                                                                                                                                                                              1. Initial program 51.1%

                                                                                                                                                                                                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                              2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                              3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                              5. Applied rewrites49.6%

                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                              6. Taylor expanded in i around 0

                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                1. Applied rewrites45.3%

                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                2. Taylor expanded in y0 around inf

                                                                                                                                                                                                                                                                                                                                  \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites30.6%

                                                                                                                                                                                                                                                                                                                                    \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                                                  2. Taylor expanded in j around 0

                                                                                                                                                                                                                                                                                                                                    \[\leadsto -k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites32.8%

                                                                                                                                                                                                                                                                                                                                      \[\leadsto -k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right) \]

                                                                                                                                                                                                                                                                                                                                    if 8.0000000000000004e238 < y3

                                                                                                                                                                                                                                                                                                                                    1. Initial program 33.3%

                                                                                                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                    3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                      1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                      2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                      3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                      4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                      5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                    5. Applied rewrites60.0%

                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                    6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites73.5%

                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in x around 0

                                                                                                                                                                                                                                                                                                                                        \[\leadsto -1 \cdot \left(a \cdot \color{blue}{\left(y \cdot \left(y3 \cdot y5\right)\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites67.7%

                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y5}\right) \]
                                                                                                                                                                                                                                                                                                                                      4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                                      5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                      Alternative 27: 22.4% accurate, 4.8× speedup?

                                                                                                                                                                                                                                                                                                                                      \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{if}\;y3 \leq -1.65 \cdot 10^{+106}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 1.3 \cdot 10^{-257}:\\ \;\;\;\;c \cdot \left(\left(i \cdot t\right) \cdot z\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\ \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                      (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                       :precision binary64
                                                                                                                                                                                                                                                                                                                                       (let* ((t_1 (* j (* y0 (* y3 y5)))))
                                                                                                                                                                                                                                                                                                                                         (if (<= y3 -1.65e+106)
                                                                                                                                                                                                                                                                                                                                           t_1
                                                                                                                                                                                                                                                                                                                                           (if (<= y3 1.3e-257)
                                                                                                                                                                                                                                                                                                                                             (* c (* (* i t) z))
                                                                                                                                                                                                                                                                                                                                             (if (<= y3 8e+17)
                                                                                                                                                                                                                                                                                                                                               (- (* k (* (* y0 y2) y5)))
                                                                                                                                                                                                                                                                                                                                               (if (<= y3 8e+238) t_1 (* (- a) (* (* y y3) y5))))))))
                                                                                                                                                                                                                                                                                                                                      double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                      	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                      	double tmp;
                                                                                                                                                                                                                                                                                                                                      	if (y3 <= -1.65e+106) {
                                                                                                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                      	} else if (y3 <= 1.3e-257) {
                                                                                                                                                                                                                                                                                                                                      		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                      	} else if (y3 <= 8e+17) {
                                                                                                                                                                                                                                                                                                                                      		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                                                                                                                                                                                                                                      	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                      	} else {
                                                                                                                                                                                                                                                                                                                                      		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                                      	}
                                                                                                                                                                                                                                                                                                                                      	return tmp;
                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                          implicit none
                                                                                                                                                                                                                                                                                                                                          private
                                                                                                                                                                                                                                                                                                                                          public fmax
                                                                                                                                                                                                                                                                                                                                          public fmin
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                          interface fmax
                                                                                                                                                                                                                                                                                                                                              module procedure fmax88
                                                                                                                                                                                                                                                                                                                                              module procedure fmax44
                                                                                                                                                                                                                                                                                                                                              module procedure fmax84
                                                                                                                                                                                                                                                                                                                                              module procedure fmax48
                                                                                                                                                                                                                                                                                                                                          end interface
                                                                                                                                                                                                                                                                                                                                          interface fmin
                                                                                                                                                                                                                                                                                                                                              module procedure fmin88
                                                                                                                                                                                                                                                                                                                                              module procedure fmin44
                                                                                                                                                                                                                                                                                                                                              module procedure fmin84
                                                                                                                                                                                                                                                                                                                                              module procedure fmin48
                                                                                                                                                                                                                                                                                                                                          end interface
                                                                                                                                                                                                                                                                                                                                      contains
                                                                                                                                                                                                                                                                                                                                          real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                              res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                          end function
                                                                                                                                                                                                                                                                                                                                          real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                              real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                              real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                              res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                          end function
                                                                                                                                                                                                                                                                                                                                          real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                              real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                              res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                          end function
                                                                                                                                                                                                                                                                                                                                          real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                              real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                              res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                          end function
                                                                                                                                                                                                                                                                                                                                          real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                              res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                          end function
                                                                                                                                                                                                                                                                                                                                          real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                              real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                              real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                              res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                          end function
                                                                                                                                                                                                                                                                                                                                          real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                              real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                              res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                          end function
                                                                                                                                                                                                                                                                                                                                          real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                              real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                              res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                          end function
                                                                                                                                                                                                                                                                                                                                      end module
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                      use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                          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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                          real(8) :: t_1
                                                                                                                                                                                                                                                                                                                                          real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                          t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                          if (y3 <= (-1.65d+106)) then
                                                                                                                                                                                                                                                                                                                                              tmp = t_1
                                                                                                                                                                                                                                                                                                                                          else if (y3 <= 1.3d-257) then
                                                                                                                                                                                                                                                                                                                                              tmp = c * ((i * t) * z)
                                                                                                                                                                                                                                                                                                                                          else if (y3 <= 8d+17) then
                                                                                                                                                                                                                                                                                                                                              tmp = -(k * ((y0 * y2) * y5))
                                                                                                                                                                                                                                                                                                                                          else if (y3 <= 8d+238) then
                                                                                                                                                                                                                                                                                                                                              tmp = t_1
                                                                                                                                                                                                                                                                                                                                          else
                                                                                                                                                                                                                                                                                                                                              tmp = -a * ((y * y3) * y5)
                                                                                                                                                                                                                                                                                                                                          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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                      	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                      	double tmp;
                                                                                                                                                                                                                                                                                                                                      	if (y3 <= -1.65e+106) {
                                                                                                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                      	} else if (y3 <= 1.3e-257) {
                                                                                                                                                                                                                                                                                                                                      		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                      	} else if (y3 <= 8e+17) {
                                                                                                                                                                                                                                                                                                                                      		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                                                                                                                                                                                                                                      	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                      	} else {
                                                                                                                                                                                                                                                                                                                                      		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                                      	}
                                                                                                                                                                                                                                                                                                                                      	return tmp;
                                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                      	t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                      	tmp = 0
                                                                                                                                                                                                                                                                                                                                      	if y3 <= -1.65e+106:
                                                                                                                                                                                                                                                                                                                                      		tmp = t_1
                                                                                                                                                                                                                                                                                                                                      	elif y3 <= 1.3e-257:
                                                                                                                                                                                                                                                                                                                                      		tmp = c * ((i * t) * z)
                                                                                                                                                                                                                                                                                                                                      	elif y3 <= 8e+17:
                                                                                                                                                                                                                                                                                                                                      		tmp = -(k * ((y0 * y2) * y5))
                                                                                                                                                                                                                                                                                                                                      	elif y3 <= 8e+238:
                                                                                                                                                                                                                                                                                                                                      		tmp = t_1
                                                                                                                                                                                                                                                                                                                                      	else:
                                                                                                                                                                                                                                                                                                                                      		tmp = -a * ((y * y3) * y5)
                                                                                                                                                                                                                                                                                                                                      	return tmp
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                      	t_1 = Float64(j * Float64(y0 * Float64(y3 * y5)))
                                                                                                                                                                                                                                                                                                                                      	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                      	if (y3 <= -1.65e+106)
                                                                                                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                      	elseif (y3 <= 1.3e-257)
                                                                                                                                                                                                                                                                                                                                      		tmp = Float64(c * Float64(Float64(i * t) * z));
                                                                                                                                                                                                                                                                                                                                      	elseif (y3 <= 8e+17)
                                                                                                                                                                                                                                                                                                                                      		tmp = Float64(-Float64(k * Float64(Float64(y0 * y2) * y5)));
                                                                                                                                                                                                                                                                                                                                      	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                      	else
                                                                                                                                                                                                                                                                                                                                      		tmp = Float64(Float64(-a) * Float64(Float64(y * y3) * y5));
                                                                                                                                                                                                                                                                                                                                      	end
                                                                                                                                                                                                                                                                                                                                      	return tmp
                                                                                                                                                                                                                                                                                                                                      end
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                      	t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                      	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                      	if (y3 <= -1.65e+106)
                                                                                                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                      	elseif (y3 <= 1.3e-257)
                                                                                                                                                                                                                                                                                                                                      		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                      	elseif (y3 <= 8e+17)
                                                                                                                                                                                                                                                                                                                                      		tmp = -(k * ((y0 * y2) * y5));
                                                                                                                                                                                                                                                                                                                                      	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                                                                                      		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                      	else
                                                                                                                                                                                                                                                                                                                                      		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                                      	end
                                                                                                                                                                                                                                                                                                                                      	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                      end
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.65e+106], t$95$1, If[LessEqual[y3, 1.3e-257], N[(c * N[(N[(i * t), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8e+17], (-N[(k * N[(N[(y0 * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y3, 8e+238], t$95$1, N[((-a) * N[(N[(y * y3), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]]]]]]
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \\
                                                                                                                                                                                                                                                                                                                                      \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                      t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                                                                                                                                                                                                                                      \mathbf{if}\;y3 \leq -1.65 \cdot 10^{+106}:\\
                                                                                                                                                                                                                                                                                                                                      \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \mathbf{elif}\;y3 \leq 1.3 \cdot 10^{-257}:\\
                                                                                                                                                                                                                                                                                                                                      \;\;\;\;c \cdot \left(\left(i \cdot t\right) \cdot z\right)\\
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \mathbf{elif}\;y3 \leq 8 \cdot 10^{+17}:\\
                                                                                                                                                                                                                                                                                                                                      \;\;\;\;-k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                                                                                                                                                                                                                                      \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                      \;\;\;\;\left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                                                                                                                                                      \end{array}
                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                      Derivation
                                                                                                                                                                                                                                                                                                                                      1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                                                                      2. if y3 < -1.65000000000000004e106 or 8e17 < y3 < 8.0000000000000004e238

                                                                                                                                                                                                                                                                                                                                        1. Initial program 18.6%

                                                                                                                                                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                        3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                          1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                          2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                          3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                          4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                          5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                        5. Applied rewrites40.4%

                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                        6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                                                                                                                          \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites51.5%

                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                                                                                                                                                                                                                                          2. Taylor expanded in y around 0

                                                                                                                                                                                                                                                                                                                                            \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites48.4%

                                                                                                                                                                                                                                                                                                                                              \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                            if -1.65000000000000004e106 < y3 < 1.3e-257

                                                                                                                                                                                                                                                                                                                                            1. Initial program 43.2%

                                                                                                                                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                            3. Taylor expanded in z around -inf

                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-z\right)} \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                                                                                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-z\right) \cdot \color{blue}{\left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                            5. Applied rewrites38.2%

                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-z\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y3, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot t\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot k\right)} \]
                                                                                                                                                                                                                                                                                                                                            6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                              \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(z \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites34.4%

                                                                                                                                                                                                                                                                                                                                                \[\leadsto -t \cdot \left(z \cdot \mathsf{fma}\left(-1, c \cdot i, a \cdot b\right)\right) \]
                                                                                                                                                                                                                                                                                                                                              2. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                \[\leadsto -a \cdot \left(b \cdot \left(t \cdot z\right)\right) \]
                                                                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites13.6%

                                                                                                                                                                                                                                                                                                                                                  \[\leadsto -a \cdot \left(b \cdot \left(t \cdot z\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                2. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                                                                                                  \[\leadsto c \cdot \left(i \cdot \color{blue}{\left(t \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites28.0%

                                                                                                                                                                                                                                                                                                                                                    \[\leadsto c \cdot \left(\left(i \cdot t\right) \cdot \color{blue}{z}\right) \]

                                                                                                                                                                                                                                                                                                                                                  if 1.3e-257 < y3 < 8e17

                                                                                                                                                                                                                                                                                                                                                  1. Initial program 48.3%

                                                                                                                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                  3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                  5. Applied rewrites46.2%

                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                  6. Taylor expanded in i around 0

                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites36.8%

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in y0 around inf

                                                                                                                                                                                                                                                                                                                                                      \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites26.0%

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in j around 0

                                                                                                                                                                                                                                                                                                                                                        \[\leadsto -k \cdot \left(y0 \cdot \left(y2 \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites26.0%

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto -k \cdot \left(\left(y0 \cdot y2\right) \cdot y5\right) \]

                                                                                                                                                                                                                                                                                                                                                        if 8.0000000000000004e238 < y3

                                                                                                                                                                                                                                                                                                                                                        1. Initial program 33.3%

                                                                                                                                                                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                        3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                          1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                          2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                          3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                          4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                          5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                        5. Applied rewrites60.0%

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                        6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites73.5%

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                          2. Taylor expanded in x around 0

                                                                                                                                                                                                                                                                                                                                                            \[\leadsto -1 \cdot \left(a \cdot \color{blue}{\left(y \cdot \left(y3 \cdot y5\right)\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites67.7%

                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y5}\right) \]
                                                                                                                                                                                                                                                                                                                                                          4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                          5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                          Alternative 28: 22.7% accurate, 4.8× speedup?

                                                                                                                                                                                                                                                                                                                                                          \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{if}\;y3 \leq -1.65 \cdot 10^{+106}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 2.8 \cdot 10^{-298}:\\ \;\;\;\;c \cdot \left(\left(i \cdot t\right) \cdot z\right)\\ \mathbf{elif}\;y3 \leq 5.2 \cdot 10^{+73}:\\ \;\;\;\;-i \cdot \left(\left(j \cdot t\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                          (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                           :precision binary64
                                                                                                                                                                                                                                                                                                                                                           (let* ((t_1 (* j (* y0 (* y3 y5)))))
                                                                                                                                                                                                                                                                                                                                                             (if (<= y3 -1.65e+106)
                                                                                                                                                                                                                                                                                                                                                               t_1
                                                                                                                                                                                                                                                                                                                                                               (if (<= y3 2.8e-298)
                                                                                                                                                                                                                                                                                                                                                                 (* c (* (* i t) z))
                                                                                                                                                                                                                                                                                                                                                                 (if (<= y3 5.2e+73)
                                                                                                                                                                                                                                                                                                                                                                   (- (* i (* (* j t) y5)))
                                                                                                                                                                                                                                                                                                                                                                   (if (<= y3 8e+238) t_1 (* (- a) (* (* y y3) y5))))))))
                                                                                                                                                                                                                                                                                                                                                          double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                          	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                          	double tmp;
                                                                                                                                                                                                                                                                                                                                                          	if (y3 <= -1.65e+106) {
                                                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                          	} else if (y3 <= 2.8e-298) {
                                                                                                                                                                                                                                                                                                                                                          		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                                          	} else if (y3 <= 5.2e+73) {
                                                                                                                                                                                                                                                                                                                                                          		tmp = -(i * ((j * t) * y5));
                                                                                                                                                                                                                                                                                                                                                          	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                          	} else {
                                                                                                                                                                                                                                                                                                                                                          		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                                                          	}
                                                                                                                                                                                                                                                                                                                                                          	return tmp;
                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                              implicit none
                                                                                                                                                                                                                                                                                                                                                              private
                                                                                                                                                                                                                                                                                                                                                              public fmax
                                                                                                                                                                                                                                                                                                                                                              public fmin
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                              interface fmax
                                                                                                                                                                                                                                                                                                                                                                  module procedure fmax88
                                                                                                                                                                                                                                                                                                                                                                  module procedure fmax44
                                                                                                                                                                                                                                                                                                                                                                  module procedure fmax84
                                                                                                                                                                                                                                                                                                                                                                  module procedure fmax48
                                                                                                                                                                                                                                                                                                                                                              end interface
                                                                                                                                                                                                                                                                                                                                                              interface fmin
                                                                                                                                                                                                                                                                                                                                                                  module procedure fmin88
                                                                                                                                                                                                                                                                                                                                                                  module procedure fmin44
                                                                                                                                                                                                                                                                                                                                                                  module procedure fmin84
                                                                                                                                                                                                                                                                                                                                                                  module procedure fmin48
                                                                                                                                                                                                                                                                                                                                                              end interface
                                                                                                                                                                                                                                                                                                                                                          contains
                                                                                                                                                                                                                                                                                                                                                              real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                  res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                              end function
                                                                                                                                                                                                                                                                                                                                                              real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                  real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                  real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                  res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                              end function
                                                                                                                                                                                                                                                                                                                                                              real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                  real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                  res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                              end function
                                                                                                                                                                                                                                                                                                                                                              real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                  real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                  res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                              end function
                                                                                                                                                                                                                                                                                                                                                              real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                  res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                              end function
                                                                                                                                                                                                                                                                                                                                                              real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                  real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                  real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                  res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                              end function
                                                                                                                                                                                                                                                                                                                                                              real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                  real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                  res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                              end function
                                                                                                                                                                                                                                                                                                                                                              real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                  real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                  res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                              end function
                                                                                                                                                                                                                                                                                                                                                          end module
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                          use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                              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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                              real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                              real(8) :: t_1
                                                                                                                                                                                                                                                                                                                                                              real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                              t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                                              if (y3 <= (-1.65d+106)) then
                                                                                                                                                                                                                                                                                                                                                                  tmp = t_1
                                                                                                                                                                                                                                                                                                                                                              else if (y3 <= 2.8d-298) then
                                                                                                                                                                                                                                                                                                                                                                  tmp = c * ((i * t) * z)
                                                                                                                                                                                                                                                                                                                                                              else if (y3 <= 5.2d+73) then
                                                                                                                                                                                                                                                                                                                                                                  tmp = -(i * ((j * t) * y5))
                                                                                                                                                                                                                                                                                                                                                              else if (y3 <= 8d+238) then
                                                                                                                                                                                                                                                                                                                                                                  tmp = t_1
                                                                                                                                                                                                                                                                                                                                                              else
                                                                                                                                                                                                                                                                                                                                                                  tmp = -a * ((y * y3) * y5)
                                                                                                                                                                                                                                                                                                                                                              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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                          	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                          	double tmp;
                                                                                                                                                                                                                                                                                                                                                          	if (y3 <= -1.65e+106) {
                                                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                          	} else if (y3 <= 2.8e-298) {
                                                                                                                                                                                                                                                                                                                                                          		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                                          	} else if (y3 <= 5.2e+73) {
                                                                                                                                                                                                                                                                                                                                                          		tmp = -(i * ((j * t) * y5));
                                                                                                                                                                                                                                                                                                                                                          	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                          	} else {
                                                                                                                                                                                                                                                                                                                                                          		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                                                          	}
                                                                                                                                                                                                                                                                                                                                                          	return tmp;
                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                          	t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                                          	tmp = 0
                                                                                                                                                                                                                                                                                                                                                          	if y3 <= -1.65e+106:
                                                                                                                                                                                                                                                                                                                                                          		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                          	elif y3 <= 2.8e-298:
                                                                                                                                                                                                                                                                                                                                                          		tmp = c * ((i * t) * z)
                                                                                                                                                                                                                                                                                                                                                          	elif y3 <= 5.2e+73:
                                                                                                                                                                                                                                                                                                                                                          		tmp = -(i * ((j * t) * y5))
                                                                                                                                                                                                                                                                                                                                                          	elif y3 <= 8e+238:
                                                                                                                                                                                                                                                                                                                                                          		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                          	else:
                                                                                                                                                                                                                                                                                                                                                          		tmp = -a * ((y * y3) * y5)
                                                                                                                                                                                                                                                                                                                                                          	return tmp
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                          	t_1 = Float64(j * Float64(y0 * Float64(y3 * y5)))
                                                                                                                                                                                                                                                                                                                                                          	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                          	if (y3 <= -1.65e+106)
                                                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                          	elseif (y3 <= 2.8e-298)
                                                                                                                                                                                                                                                                                                                                                          		tmp = Float64(c * Float64(Float64(i * t) * z));
                                                                                                                                                                                                                                                                                                                                                          	elseif (y3 <= 5.2e+73)
                                                                                                                                                                                                                                                                                                                                                          		tmp = Float64(-Float64(i * Float64(Float64(j * t) * y5)));
                                                                                                                                                                                                                                                                                                                                                          	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                          	else
                                                                                                                                                                                                                                                                                                                                                          		tmp = Float64(Float64(-a) * Float64(Float64(y * y3) * y5));
                                                                                                                                                                                                                                                                                                                                                          	end
                                                                                                                                                                                                                                                                                                                                                          	return tmp
                                                                                                                                                                                                                                                                                                                                                          end
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                          	t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                          	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                          	if (y3 <= -1.65e+106)
                                                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                          	elseif (y3 <= 2.8e-298)
                                                                                                                                                                                                                                                                                                                                                          		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                                          	elseif (y3 <= 5.2e+73)
                                                                                                                                                                                                                                                                                                                                                          		tmp = -(i * ((j * t) * y5));
                                                                                                                                                                                                                                                                                                                                                          	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                                                                                                          		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                          	else
                                                                                                                                                                                                                                                                                                                                                          		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                                                          	end
                                                                                                                                                                                                                                                                                                                                                          	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                          end
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.65e+106], t$95$1, If[LessEqual[y3, 2.8e-298], N[(c * N[(N[(i * t), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 5.2e+73], (-N[(i * N[(N[(j * t), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]), If[LessEqual[y3, 8e+238], t$95$1, N[((-a) * N[(N[(y * y3), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]]]]]]
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          \\
                                                                                                                                                                                                                                                                                                                                                          \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                          t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                          \mathbf{if}\;y3 \leq -1.65 \cdot 10^{+106}:\\
                                                                                                                                                                                                                                                                                                                                                          \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          \mathbf{elif}\;y3 \leq 2.8 \cdot 10^{-298}:\\
                                                                                                                                                                                                                                                                                                                                                          \;\;\;\;c \cdot \left(\left(i \cdot t\right) \cdot z\right)\\
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          \mathbf{elif}\;y3 \leq 5.2 \cdot 10^{+73}:\\
                                                                                                                                                                                                                                                                                                                                                          \;\;\;\;-i \cdot \left(\left(j \cdot t\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                                                                                                                                                                                                                                                          \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                          \;\;\;\;\left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          \end{array}
                                                                                                                                                                                                                                                                                                                                                          \end{array}
                                                                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                                                                          Derivation
                                                                                                                                                                                                                                                                                                                                                          1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                                                                                          2. if y3 < -1.65000000000000004e106 or 5.2000000000000001e73 < y3 < 8.0000000000000004e238

                                                                                                                                                                                                                                                                                                                                                            1. Initial program 20.3%

                                                                                                                                                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                            3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                            5. Applied rewrites41.8%

                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                            6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                                                                                                                                              \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites53.7%

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                                                                                                                                                                                                                                                              2. Taylor expanded in y around 0

                                                                                                                                                                                                                                                                                                                                                                \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites51.5%

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                                if -1.65000000000000004e106 < y3 < 2.79999999999999992e-298

                                                                                                                                                                                                                                                                                                                                                                1. Initial program 42.3%

                                                                                                                                                                                                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                3. Taylor expanded in z around -inf

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                  1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                  3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                  4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-z\right)} \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                  5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-z\right) \cdot \color{blue}{\left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                5. Applied rewrites37.9%

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-z\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y3, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot t\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot k\right)} \]
                                                                                                                                                                                                                                                                                                                                                                6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(z \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites34.8%

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto -t \cdot \left(z \cdot \mathsf{fma}\left(-1, c \cdot i, a \cdot b\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                  2. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto -a \cdot \left(b \cdot \left(t \cdot z\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites13.8%

                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto -a \cdot \left(b \cdot \left(t \cdot z\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto c \cdot \left(i \cdot \color{blue}{\left(t \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites27.6%

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto c \cdot \left(\left(i \cdot t\right) \cdot \color{blue}{z}\right) \]

                                                                                                                                                                                                                                                                                                                                                                      if 2.79999999999999992e-298 < y3 < 5.2000000000000001e73

                                                                                                                                                                                                                                                                                                                                                                      1. Initial program 43.7%

                                                                                                                                                                                                                                                                                                                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                      2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                      3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                        1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                        2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                        3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                        4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                        5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                      5. Applied rewrites44.6%

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                      6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(y5 \cdot \left(i \cdot j - a \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites32.5%

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto -\left(t \cdot y5\right) \cdot \mathsf{fma}\left(i, j, \left(-a\right) \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                                                                                        2. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto -i \cdot \left(j \cdot \left(t \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites25.1%

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto -i \cdot \left(\left(j \cdot t\right) \cdot y5\right) \]

                                                                                                                                                                                                                                                                                                                                                                          if 8.0000000000000004e238 < y3

                                                                                                                                                                                                                                                                                                                                                                          1. Initial program 33.3%

                                                                                                                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                          3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                            1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                            2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                            3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                            4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                            5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                          5. Applied rewrites60.0%

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                          6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites73.5%

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                            2. Taylor expanded in x around 0

                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto -1 \cdot \left(a \cdot \color{blue}{\left(y \cdot \left(y3 \cdot y5\right)\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites67.7%

                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y5}\right) \]
                                                                                                                                                                                                                                                                                                                                                                            4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                            5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                            Alternative 29: 22.6% accurate, 4.8× speedup?

                                                                                                                                                                                                                                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{if}\;y3 \leq -1.65 \cdot 10^{+106}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 1.7 \cdot 10^{-256}:\\ \;\;\;\;c \cdot \left(\left(i \cdot t\right) \cdot z\right)\\ \mathbf{elif}\;y3 \leq 6.8 \cdot 10^{+17}:\\ \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\ \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\ \;\;\;\;t\_1\\ \mathbf{else}:\\ \;\;\;\;\left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                             :precision binary64
                                                                                                                                                                                                                                                                                                                                                                             (let* ((t_1 (* j (* y0 (* y3 y5)))))
                                                                                                                                                                                                                                                                                                                                                                               (if (<= y3 -1.65e+106)
                                                                                                                                                                                                                                                                                                                                                                                 t_1
                                                                                                                                                                                                                                                                                                                                                                                 (if (<= y3 1.7e-256)
                                                                                                                                                                                                                                                                                                                                                                                   (* c (* (* i t) z))
                                                                                                                                                                                                                                                                                                                                                                                   (if (<= y3 6.8e+17)
                                                                                                                                                                                                                                                                                                                                                                                     (* a (* (* t y2) y5))
                                                                                                                                                                                                                                                                                                                                                                                     (if (<= y3 8e+238) t_1 (* (- a) (* (* y y3) y5))))))))
                                                                                                                                                                                                                                                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                            	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                                                                            	if (y3 <= -1.65e+106) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	} else if (y3 <= 1.7e-256) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                                                            	} else if (y3 <= 6.8e+17) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                            	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                implicit none
                                                                                                                                                                                                                                                                                                                                                                                private
                                                                                                                                                                                                                                                                                                                                                                                public fmax
                                                                                                                                                                                                                                                                                                                                                                                public fmin
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                interface fmax
                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax88
                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax44
                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax84
                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax48
                                                                                                                                                                                                                                                                                                                                                                                end interface
                                                                                                                                                                                                                                                                                                                                                                                interface fmin
                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin88
                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin44
                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin84
                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin48
                                                                                                                                                                                                                                                                                                                                                                                end interface
                                                                                                                                                                                                                                                                                                                                                                            contains
                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                    res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                    res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                            end module
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                            use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                real(8) :: t_1
                                                                                                                                                                                                                                                                                                                                                                                real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                                t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                                                                if (y3 <= (-1.65d+106)) then
                                                                                                                                                                                                                                                                                                                                                                                    tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                                else if (y3 <= 1.7d-256) then
                                                                                                                                                                                                                                                                                                                                                                                    tmp = c * ((i * t) * z)
                                                                                                                                                                                                                                                                                                                                                                                else if (y3 <= 6.8d+17) then
                                                                                                                                                                                                                                                                                                                                                                                    tmp = a * ((t * y2) * y5)
                                                                                                                                                                                                                                                                                                                                                                                else if (y3 <= 8d+238) then
                                                                                                                                                                                                                                                                                                                                                                                    tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                                else
                                                                                                                                                                                                                                                                                                                                                                                    tmp = -a * ((y * y3) * y5)
                                                                                                                                                                                                                                                                                                                                                                                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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                            	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                                                                            	if (y3 <= -1.65e+106) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	} else if (y3 <= 1.7e-256) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                                                            	} else if (y3 <= 6.8e+17) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                            	} else if (y3 <= 8e+238) {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                                                            		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                            	t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                                                            	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                            	if y3 <= -1.65e+106:
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                            	elif y3 <= 1.7e-256:
                                                                                                                                                                                                                                                                                                                                                                            		tmp = c * ((i * t) * z)
                                                                                                                                                                                                                                                                                                                                                                            	elif y3 <= 6.8e+17:
                                                                                                                                                                                                                                                                                                                                                                            		tmp = a * ((t * y2) * y5)
                                                                                                                                                                                                                                                                                                                                                                            	elif y3 <= 8e+238:
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                            	else:
                                                                                                                                                                                                                                                                                                                                                                            		tmp = -a * ((y * y3) * y5)
                                                                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                            	t_1 = Float64(j * Float64(y0 * Float64(y3 * y5)))
                                                                                                                                                                                                                                                                                                                                                                            	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                            	if (y3 <= -1.65e+106)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	elseif (y3 <= 1.7e-256)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(c * Float64(Float64(i * t) * z));
                                                                                                                                                                                                                                                                                                                                                                            	elseif (y3 <= 6.8e+17)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(a * Float64(Float64(t * y2) * y5));
                                                                                                                                                                                                                                                                                                                                                                            	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(Float64(-a) * Float64(Float64(y * y3) * y5));
                                                                                                                                                                                                                                                                                                                                                                            	end
                                                                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                            	t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                            	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                            	if (y3 <= -1.65e+106)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	elseif (y3 <= 1.7e-256)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                                                            	elseif (y3 <= 6.8e+17)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                            	elseif (y3 <= 8e+238)
                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                                                            		tmp = -a * ((y * y3) * y5);
                                                                                                                                                                                                                                                                                                                                                                            	end
                                                                                                                                                                                                                                                                                                                                                                            	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.65e+106], t$95$1, If[LessEqual[y3, 1.7e-256], N[(c * N[(N[(i * t), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 6.8e+17], N[(a * N[(N[(t * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 8e+238], t$95$1, N[((-a) * N[(N[(y * y3), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision]]]]]]
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \\
                                                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                            t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                            \mathbf{if}\;y3 \leq -1.65 \cdot 10^{+106}:\\
                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \mathbf{elif}\;y3 \leq 1.7 \cdot 10^{-256}:\\
                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;c \cdot \left(\left(i \cdot t\right) \cdot z\right)\\
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \mathbf{elif}\;y3 \leq 6.8 \cdot 10^{+17}:\\
                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \mathbf{elif}\;y3 \leq 8 \cdot 10^{+238}:\\
                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;\left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                                                                                                                                                                                            1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                                                                                                            2. if y3 < -1.65000000000000004e106 or 6.8e17 < y3 < 8.0000000000000004e238

                                                                                                                                                                                                                                                                                                                                                                              1. Initial program 18.6%

                                                                                                                                                                                                                                                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                              2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                              3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                              5. Applied rewrites40.4%

                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                              6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites51.5%

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                2. Taylor expanded in y around 0

                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites48.4%

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                  if -1.65000000000000004e106 < y3 < 1.7e-256

                                                                                                                                                                                                                                                                                                                                                                                  1. Initial program 43.2%

                                                                                                                                                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                  3. Taylor expanded in z around -inf

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-z\right)} \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-z\right) \cdot \color{blue}{\left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                  5. Applied rewrites38.2%

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-z\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y3, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot t\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot k\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                  6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(z \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites34.4%

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto -t \cdot \left(z \cdot \mathsf{fma}\left(-1, c \cdot i, a \cdot b\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto -a \cdot \left(b \cdot \left(t \cdot z\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites13.6%

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto -a \cdot \left(b \cdot \left(t \cdot z\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto c \cdot \left(i \cdot \color{blue}{\left(t \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites28.0%

                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto c \cdot \left(\left(i \cdot t\right) \cdot \color{blue}{z}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                        if 1.7e-256 < y3 < 6.8e17

                                                                                                                                                                                                                                                                                                                                                                                        1. Initial program 48.3%

                                                                                                                                                                                                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                        3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                          1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                          2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                          3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                          4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                          5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                        5. Applied rewrites46.2%

                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                        6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(y5 \cdot \left(i \cdot j - a \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites31.9%

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto -\left(t \cdot y5\right) \cdot \mathsf{fma}\left(i, j, \left(-a\right) \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                                                                                                          2. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y2 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites23.8%

                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot \color{blue}{y5}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                            if 8.0000000000000004e238 < y3

                                                                                                                                                                                                                                                                                                                                                                                            1. Initial program 33.3%

                                                                                                                                                                                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                            3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                            5. Applied rewrites60.0%

                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                            6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites73.5%

                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                              2. Taylor expanded in x around 0

                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto -1 \cdot \left(a \cdot \color{blue}{\left(y \cdot \left(y3 \cdot y5\right)\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites67.7%

                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(-a\right) \cdot \left(\left(y \cdot y3\right) \cdot \color{blue}{y5}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                              4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                              5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                              Alternative 30: 29.4% accurate, 4.8× speedup?

                                                                                                                                                                                                                                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -2.95 \cdot 10^{+23}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \mathbf{elif}\;y \leq 4.5 \cdot 10^{-193}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\ \mathbf{elif}\;y \leq 2.6 \cdot 10^{+214}:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(i, t, \left(-y0\right) \cdot y3\right)\\ \mathbf{else}:\\ \;\;\;\;\left(k \cdot y5\right) \cdot \mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                               :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                               (if (<= y -2.95e+23)
                                                                                                                                                                                                                                                                                                                                                                                                 (* (* a y) (fma b x (* (- y3) y5)))
                                                                                                                                                                                                                                                                                                                                                                                                 (if (<= y 4.5e-193)
                                                                                                                                                                                                                                                                                                                                                                                                   (* y5 (* y0 (fma (- k) y2 (* y3 j))))
                                                                                                                                                                                                                                                                                                                                                                                                   (if (<= y 2.6e+214)
                                                                                                                                                                                                                                                                                                                                                                                                     (* (* c z) (fma i t (* (- y0) y3)))
                                                                                                                                                                                                                                                                                                                                                                                                     (* (* k y5) (fma i y (* (- y0) y2)))))))
                                                                                                                                                                                                                                                                                                                                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                              	if (y <= -2.95e+23) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (a * y) * fma(b, x, (-y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y <= 4.5e-193) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = y5 * (y0 * fma(-k, y2, (y3 * j)));
                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y <= 2.6e+214) {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (c * z) * fma(i, t, (-y0 * y3));
                                                                                                                                                                                                                                                                                                                                                                                              	} else {
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (k * y5) * fma(i, y, (-y0 * y2));
                                                                                                                                                                                                                                                                                                                                                                                              	}
                                                                                                                                                                                                                                                                                                                                                                                              	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                              	if (y <= -2.95e+23)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y <= 4.5e-193)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(y5 * Float64(y0 * fma(Float64(-k), y2, Float64(y3 * j))));
                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y <= 2.6e+214)
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(Float64(c * z) * fma(i, t, Float64(Float64(-y0) * y3)));
                                                                                                                                                                                                                                                                                                                                                                                              	else
                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(Float64(k * y5) * fma(i, y, Float64(Float64(-y0) * y2)));
                                                                                                                                                                                                                                                                                                                                                                                              	end
                                                                                                                                                                                                                                                                                                                                                                                              	return tmp
                                                                                                                                                                                                                                                                                                                                                                                              end
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -2.95e+23], N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.5e-193], N[(y5 * N[(y0 * N[((-k) * y2 + N[(y3 * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 2.6e+214], N[(N[(c * z), $MachinePrecision] * N[(i * t + N[((-y0) * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(k * y5), $MachinePrecision] * N[(i * y + N[((-y0) * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \\
                                                                                                                                                                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{if}\;y \leq -2.95 \cdot 10^{+23}:\\
                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{elif}\;y \leq 4.5 \cdot 10^{-193}:\\
                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{elif}\;y \leq 2.6 \cdot 10^{+214}:\\
                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(i, t, \left(-y0\right) \cdot y3\right)\\
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;\left(k \cdot y5\right) \cdot \mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right)\\
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                              Derivation
                                                                                                                                                                                                                                                                                                                                                                                              1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                                                                                                                              2. if y < -2.94999999999999994e23

                                                                                                                                                                                                                                                                                                                                                                                                1. Initial program 26.2%

                                                                                                                                                                                                                                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                  1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                  3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                  4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                  5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                5. Applied rewrites47.6%

                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites47.9%

                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]

                                                                                                                                                                                                                                                                                                                                                                                                  if -2.94999999999999994e23 < y < 4.4999999999999999e-193

                                                                                                                                                                                                                                                                                                                                                                                                  1. Initial program 41.4%

                                                                                                                                                                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                  3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                  5. Applied rewrites51.5%

                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                  6. Taylor expanded in i around 0

                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites52.8%

                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in y0 around inf

                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites46.1%

                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                      2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites47.2%

                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto y5 \cdot \left(y0 \cdot \color{blue}{\mathsf{fma}\left(-k, y2, y3 \cdot j\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                        if 4.4999999999999999e-193 < y < 2.59999999999999993e214

                                                                                                                                                                                                                                                                                                                                                                                                        1. Initial program 38.8%

                                                                                                                                                                                                                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                        3. Taylor expanded in z around -inf

                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                          1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                          2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                          3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                          4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-z\right)} \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                          5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(-z\right) \cdot \color{blue}{\left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                        5. Applied rewrites45.4%

                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-z\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y3, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot t\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot k\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                        6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(z \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites31.3%

                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto -t \cdot \left(z \cdot \mathsf{fma}\left(-1, c \cdot i, a \cdot b\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                          2. Taylor expanded in c around -inf

                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto c \cdot \color{blue}{\left(z \cdot \left(-1 \cdot \left(y0 \cdot y3\right) + i \cdot t\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites34.2%

                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(c \cdot z\right) \cdot \color{blue}{\mathsf{fma}\left(i, t, -y0 \cdot y3\right)} \]

                                                                                                                                                                                                                                                                                                                                                                                                            if 2.59999999999999993e214 < y

                                                                                                                                                                                                                                                                                                                                                                                                            1. Initial program 20.0%

                                                                                                                                                                                                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                            3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                            5. Applied rewrites45.3%

                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                            6. Taylor expanded in i around 0

                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites35.7%

                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                              2. Taylor expanded in k around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto k \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites65.2%

                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(k \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(i, y, -y0 \cdot y2\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                              4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                                              5. Final simplification44.5%

                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.95 \cdot 10^{+23}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \mathbf{elif}\;y \leq 4.5 \cdot 10^{-193}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\ \mathbf{elif}\;y \leq 2.6 \cdot 10^{+214}:\\ \;\;\;\;\left(c \cdot z\right) \cdot \mathsf{fma}\left(i, t, \left(-y0\right) \cdot y3\right)\\ \mathbf{else}:\\ \;\;\;\;\left(k \cdot y5\right) \cdot \mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                              Alternative 31: 29.7% accurate, 4.8× speedup?

                                                                                                                                                                                                                                                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -2.95 \cdot 10^{+23}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \mathbf{elif}\;y \leq 1.16 \cdot 10^{-153}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\ \mathbf{elif}\;y \leq 4.6 \cdot 10^{+140}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;\left(k \cdot y5\right) \cdot \mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                                               :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                                               (if (<= y -2.95e+23)
                                                                                                                                                                                                                                                                                                                                                                                                                 (* (* a y) (fma b x (* (- y3) y5)))
                                                                                                                                                                                                                                                                                                                                                                                                                 (if (<= y 1.16e-153)
                                                                                                                                                                                                                                                                                                                                                                                                                   (* y5 (* y0 (fma (- k) y2 (* y3 j))))
                                                                                                                                                                                                                                                                                                                                                                                                                   (if (<= y 4.6e+140)
                                                                                                                                                                                                                                                                                                                                                                                                                     (* (* x y) (fma (- c) i (* a b)))
                                                                                                                                                                                                                                                                                                                                                                                                                     (* (* k y5) (fma i y (* (- y0) y2)))))))
                                                                                                                                                                                                                                                                                                                                                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                              	if (y <= -2.95e+23) {
                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (a * y) * fma(b, x, (-y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y <= 1.16e-153) {
                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = y5 * (y0 * fma(-k, y2, (y3 * j)));
                                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y <= 4.6e+140) {
                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (x * y) * fma(-c, i, (a * b));
                                                                                                                                                                                                                                                                                                                                                                                                              	} else {
                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = (k * y5) * fma(i, y, (-y0 * y2));
                                                                                                                                                                                                                                                                                                                                                                                                              	}
                                                                                                                                                                                                                                                                                                                                                                                                              	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                                              	if (y <= -2.95e+23)
                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(Float64(a * y) * fma(b, x, Float64(Float64(-y3) * y5)));
                                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y <= 1.16e-153)
                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(y5 * Float64(y0 * fma(Float64(-k), y2, Float64(y3 * j))));
                                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y <= 4.6e+140)
                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(Float64(x * y) * fma(Float64(-c), i, Float64(a * b)));
                                                                                                                                                                                                                                                                                                                                                                                                              	else
                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(Float64(k * y5) * fma(i, y, Float64(Float64(-y0) * y2)));
                                                                                                                                                                                                                                                                                                                                                                                                              	end
                                                                                                                                                                                                                                                                                                                                                                                                              	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                              end
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -2.95e+23], N[(N[(a * y), $MachinePrecision] * N[(b * x + N[((-y3) * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 1.16e-153], N[(y5 * N[(y0 * N[((-k) * y2 + N[(y3 * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y, 4.6e+140], N[(N[(x * y), $MachinePrecision] * N[((-c) * i + N[(a * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(k * y5), $MachinePrecision] * N[(i * y + N[((-y0) * y2), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]]
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              \\
                                                                                                                                                                                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{if}\;y \leq -2.95 \cdot 10^{+23}:\\
                                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{elif}\;y \leq 1.16 \cdot 10^{-153}:\\
                                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{elif}\;y \leq 4.6 \cdot 10^{+140}:\\
                                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;\left(k \cdot y5\right) \cdot \mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                              Derivation
                                                                                                                                                                                                                                                                                                                                                                                                              1. Split input into 4 regimes
                                                                                                                                                                                                                                                                                                                                                                                                              2. if y < -2.94999999999999994e23

                                                                                                                                                                                                                                                                                                                                                                                                                1. Initial program 26.2%

                                                                                                                                                                                                                                                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                  1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                  3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                  4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                  5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                5. Applied rewrites47.6%

                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites47.9%

                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]

                                                                                                                                                                                                                                                                                                                                                                                                                  if -2.94999999999999994e23 < y < 1.16e-153

                                                                                                                                                                                                                                                                                                                                                                                                                  1. Initial program 40.8%

                                                                                                                                                                                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                  3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                  5. Applied rewrites49.9%

                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                  6. Taylor expanded in i around 0

                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites49.0%

                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in y0 around inf

                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto -1 \cdot \color{blue}{\left(y0 \cdot \left(y5 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites42.0%

                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto -\left(y0 \cdot y5\right) \cdot \mathsf{fma}\left(-j, y3, k \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                      2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites44.0%

                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto y5 \cdot \left(y0 \cdot \color{blue}{\mathsf{fma}\left(-k, y2, y3 \cdot j\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                                        if 1.16e-153 < y < 4.59999999999999981e140

                                                                                                                                                                                                                                                                                                                                                                                                                        1. Initial program 36.6%

                                                                                                                                                                                                                                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                        3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                          1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                          2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                          3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                          4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                          5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                        5. Applied rewrites39.1%

                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                        6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites23.1%

                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                          2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto x \cdot \color{blue}{\left(y \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites30.9%

                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(x \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(-c, i, a \cdot b\right)} \]

                                                                                                                                                                                                                                                                                                                                                                                                                            if 4.59999999999999981e140 < y

                                                                                                                                                                                                                                                                                                                                                                                                                            1. Initial program 32.4%

                                                                                                                                                                                                                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                            3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                            5. Applied rewrites50.2%

                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                            6. Taylor expanded in i around 0

                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \left(-1 \cdot \left(j \cdot y3\right) + k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites42.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y5\right) \cdot \left(y0 \cdot \mathsf{fma}\left(-1, j \cdot y3, k \cdot y2\right) - \color{blue}{\mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right)} \cdot a\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                              2. Taylor expanded in k around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto k \cdot \color{blue}{\left(y5 \cdot \left(-1 \cdot \left(y0 \cdot y2\right) + i \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites53.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(k \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(i, y, -y0 \cdot y2\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                              4. Recombined 4 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                                                              5. Final simplification43.1%

                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \begin{array}{l} \mathbf{if}\;y \leq -2.95 \cdot 10^{+23}:\\ \;\;\;\;\left(a \cdot y\right) \cdot \mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)\\ \mathbf{elif}\;y \leq 1.16 \cdot 10^{-153}:\\ \;\;\;\;y5 \cdot \left(y0 \cdot \mathsf{fma}\left(-k, y2, y3 \cdot j\right)\right)\\ \mathbf{elif}\;y \leq 4.6 \cdot 10^{+140}:\\ \;\;\;\;\left(x \cdot y\right) \cdot \mathsf{fma}\left(-c, i, a \cdot b\right)\\ \mathbf{else}:\\ \;\;\;\;\left(k \cdot y5\right) \cdot \mathsf{fma}\left(i, y, \left(-y0\right) \cdot y2\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                              6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                              Alternative 32: 22.6% accurate, 5.9× speedup?

                                                                                                                                                                                                                                                                                                                                                                                                                              \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{if}\;y3 \leq -1.65 \cdot 10^{+106}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 1.7 \cdot 10^{-256}:\\ \;\;\;\;c \cdot \left(\left(i \cdot t\right) \cdot z\right)\\ \mathbf{elif}\;y3 \leq 6.8 \cdot 10^{+17}:\\ \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                              (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                                                               :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                                                               (let* ((t_1 (* j (* y0 (* y3 y5)))))
                                                                                                                                                                                                                                                                                                                                                                                                                                 (if (<= y3 -1.65e+106)
                                                                                                                                                                                                                                                                                                                                                                                                                                   t_1
                                                                                                                                                                                                                                                                                                                                                                                                                                   (if (<= y3 1.7e-256)
                                                                                                                                                                                                                                                                                                                                                                                                                                     (* c (* (* i t) z))
                                                                                                                                                                                                                                                                                                                                                                                                                                     (if (<= y3 6.8e+17) (* a (* (* t y2) y5)) t_1)))))
                                                                                                                                                                                                                                                                                                                                                                                                                              double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                              	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                              	if (y3 <= -1.65e+106) {
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y3 <= 1.7e-256) {
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y3 <= 6.8e+17) {
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                              	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                              	}
                                                                                                                                                                                                                                                                                                                                                                                                                              	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                  implicit none
                                                                                                                                                                                                                                                                                                                                                                                                                                  private
                                                                                                                                                                                                                                                                                                                                                                                                                                  public fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                  public fmin
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                                  interface fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                      module procedure fmax88
                                                                                                                                                                                                                                                                                                                                                                                                                                      module procedure fmax44
                                                                                                                                                                                                                                                                                                                                                                                                                                      module procedure fmax84
                                                                                                                                                                                                                                                                                                                                                                                                                                      module procedure fmax48
                                                                                                                                                                                                                                                                                                                                                                                                                                  end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                  interface fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                      module procedure fmin88
                                                                                                                                                                                                                                                                                                                                                                                                                                      module procedure fmin44
                                                                                                                                                                                                                                                                                                                                                                                                                                      module procedure fmin84
                                                                                                                                                                                                                                                                                                                                                                                                                                      module procedure fmin48
                                                                                                                                                                                                                                                                                                                                                                                                                                  end interface
                                                                                                                                                                                                                                                                                                                                                                                                                              contains
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                      res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                  end function
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                      res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                  end function
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                      res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                  end function
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                      res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                  end function
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                      res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                  end function
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                      res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                  end function
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                      res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                  end function
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                      res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                  end function
                                                                                                                                                                                                                                                                                                                                                                                                                              end module
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                              use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                  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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: t_1
                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                  t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                                                                                                                  if (y3 <= (-1.65d+106)) then
                                                                                                                                                                                                                                                                                                                                                                                                                                      tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                                                                                  else if (y3 <= 1.7d-256) then
                                                                                                                                                                                                                                                                                                                                                                                                                                      tmp = c * ((i * t) * z)
                                                                                                                                                                                                                                                                                                                                                                                                                                  else if (y3 <= 6.8d+17) then
                                                                                                                                                                                                                                                                                                                                                                                                                                      tmp = a * ((t * y2) * y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                  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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                              	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                              	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                              	if (y3 <= -1.65e+106) {
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y3 <= 1.7e-256) {
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                                                                                                              	} else if (y3 <= 6.8e+17) {
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                              	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                              	}
                                                                                                                                                                                                                                                                                                                                                                                                                              	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                                                              	t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                                                                                                              	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                                                                              	if y3 <= -1.65e+106:
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                                                                              	elif y3 <= 1.7e-256:
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = c * ((i * t) * z)
                                                                                                                                                                                                                                                                                                                                                                                                                              	elif y3 <= 6.8e+17:
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = a * ((t * y2) * y5)
                                                                                                                                                                                                                                                                                                                                                                                                                              	else:
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                                                                              	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                              	t_1 = Float64(j * Float64(y0 * Float64(y3 * y5)))
                                                                                                                                                                                                                                                                                                                                                                                                                              	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                                                              	if (y3 <= -1.65e+106)
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y3 <= 1.7e-256)
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(c * Float64(Float64(i * t) * z));
                                                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y3 <= 6.8e+17)
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = Float64(a * Float64(Float64(t * y2) * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                              	else
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                              	end
                                                                                                                                                                                                                                                                                                                                                                                                                              	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                              end
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                              	t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                              	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                                                                              	if (y3 <= -1.65e+106)
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y3 <= 1.7e-256)
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = c * ((i * t) * z);
                                                                                                                                                                                                                                                                                                                                                                                                                              	elseif (y3 <= 6.8e+17)
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                              	else
                                                                                                                                                                                                                                                                                                                                                                                                                              		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                              	end
                                                                                                                                                                                                                                                                                                                                                                                                                              	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                              end
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -1.65e+106], t$95$1, If[LessEqual[y3, 1.7e-256], N[(c * N[(N[(i * t), $MachinePrecision] * z), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 6.8e+17], N[(a * N[(N[(t * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              \\
                                                                                                                                                                                                                                                                                                                                                                                                                              \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                              t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{if}\;y3 \leq -1.65 \cdot 10^{+106}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{elif}\;y3 \leq 1.7 \cdot 10^{-256}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;c \cdot \left(\left(i \cdot t\right) \cdot z\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{elif}\;y3 \leq 6.8 \cdot 10^{+17}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                              \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                              \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                                                                                                                              Derivation
                                                                                                                                                                                                                                                                                                                                                                                                                              1. Split input into 3 regimes
                                                                                                                                                                                                                                                                                                                                                                                                                              2. if y3 < -1.65000000000000004e106 or 6.8e17 < y3

                                                                                                                                                                                                                                                                                                                                                                                                                                1. Initial program 20.6%

                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                  1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                  3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                  4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                  5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                5. Applied rewrites41.3%

                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites52.8%

                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                  2. Taylor expanded in y around 0

                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites47.3%

                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                                                    if -1.65000000000000004e106 < y3 < 1.7e-256

                                                                                                                                                                                                                                                                                                                                                                                                                                    1. Initial program 43.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                    3. Taylor expanded in z around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                      1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                      2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                      3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                      4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-z\right)} \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                      5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(-z\right) \cdot \color{blue}{\left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                    5. Applied rewrites38.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-z\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y3, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot t\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot k\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                    6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(z \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites34.4%

                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto -t \cdot \left(z \cdot \mathsf{fma}\left(-1, c \cdot i, a \cdot b\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto -a \cdot \left(b \cdot \left(t \cdot z\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites13.6%

                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto -a \cdot \left(b \cdot \left(t \cdot z\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                        2. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto c \cdot \left(i \cdot \color{blue}{\left(t \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites28.0%

                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto c \cdot \left(\left(i \cdot t\right) \cdot \color{blue}{z}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                                                          if 1.7e-256 < y3 < 6.8e17

                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Initial program 48.3%

                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                          3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                            1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                            2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                            3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                            4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                            5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                          5. Applied rewrites46.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                          6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(y5 \cdot \left(i \cdot j - a \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites31.9%

                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto -\left(t \cdot y5\right) \cdot \mathsf{fma}\left(i, j, \left(-a\right) \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                            2. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y2 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites23.8%

                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot \color{blue}{y5}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                            4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                                                                            5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                                            Alternative 33: 22.6% accurate, 5.9× speedup?

                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\begin{array}{l} \\ \begin{array}{l} t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \mathbf{if}\;y3 \leq -6.5 \cdot 10^{+109}:\\ \;\;\;\;t\_1\\ \mathbf{elif}\;y3 \leq 1.7 \cdot 10^{-256}:\\ \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\ \mathbf{elif}\;y3 \leq 6.8 \cdot 10^{+17}:\\ \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;t\_1\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                             :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                                                                             (let* ((t_1 (* j (* y0 (* y3 y5)))))
                                                                                                                                                                                                                                                                                                                                                                                                                                               (if (<= y3 -6.5e+109)
                                                                                                                                                                                                                                                                                                                                                                                                                                                 t_1
                                                                                                                                                                                                                                                                                                                                                                                                                                                 (if (<= y3 1.7e-256)
                                                                                                                                                                                                                                                                                                                                                                                                                                                   (* c (* i (* t z)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                   (if (<= y3 6.8e+17) (* a (* (* t y2) y5)) t_1)))))
                                                                                                                                                                                                                                                                                                                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                            	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                            	if (y3 <= -6.5e+109) {
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                                            	} else if (y3 <= 1.7e-256) {
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = c * (i * (t * z));
                                                                                                                                                                                                                                                                                                                                                                                                                                            	} else if (y3 <= 6.8e+17) {
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                implicit none
                                                                                                                                                                                                                                                                                                                                                                                                                                                private
                                                                                                                                                                                                                                                                                                                                                                                                                                                public fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                public fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                interface fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax88
                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax44
                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax84
                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax48
                                                                                                                                                                                                                                                                                                                                                                                                                                                end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                interface fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin88
                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin44
                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin84
                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin48
                                                                                                                                                                                                                                                                                                                                                                                                                                                end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                            contains
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                            end module
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                            use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) :: t_1
                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                                                                                                                                if (y3 <= (-6.5d+109)) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                    tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                                                                                                else if (y3 <= 1.7d-256) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                    tmp = c * (i * (t * z))
                                                                                                                                                                                                                                                                                                                                                                                                                                                else if (y3 <= 6.8d+17) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                    tmp = a * ((t * y2) * y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                            	double t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                                            	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                            	if (y3 <= -6.5e+109) {
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                                            	} else if (y3 <= 1.7e-256) {
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = c * (i * (t * z));
                                                                                                                                                                                                                                                                                                                                                                                                                                            	} else if (y3 <= 6.8e+17) {
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                                            	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                                            	}
                                                                                                                                                                                                                                                                                                                                                                                                                                            	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                                                                            	t_1 = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                                                                                                                            	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                                                                                            	if y3 <= -6.5e+109:
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                                                                                            	elif y3 <= 1.7e-256:
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = c * (i * (t * z))
                                                                                                                                                                                                                                                                                                                                                                                                                                            	elif y3 <= 6.8e+17:
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = a * ((t * y2) * y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                            	else:
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1
                                                                                                                                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                            	t_1 = Float64(j * Float64(y0 * Float64(y3 * y5)))
                                                                                                                                                                                                                                                                                                                                                                                                                                            	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                                                                            	if (y3 <= -6.5e+109)
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                                            	elseif (y3 <= 1.7e-256)
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(c * Float64(i * Float64(t * z)));
                                                                                                                                                                                                                                                                                                                                                                                                                                            	elseif (y3 <= 6.8e+17)
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = Float64(a * Float64(Float64(t * y2) * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                                            	end
                                                                                                                                                                                                                                                                                                                                                                                                                                            	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                            	t_1 = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                                            	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                                                                                            	if (y3 <= -6.5e+109)
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                                            	elseif (y3 <= 1.7e-256)
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = c * (i * (t * z));
                                                                                                                                                                                                                                                                                                                                                                                                                                            	elseif (y3 <= 6.8e+17)
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                                            	else
                                                                                                                                                                                                                                                                                                                                                                                                                                            		tmp = t_1;
                                                                                                                                                                                                                                                                                                                                                                                                                                            	end
                                                                                                                                                                                                                                                                                                                                                                                                                                            	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, If[LessEqual[y3, -6.5e+109], t$95$1, If[LessEqual[y3, 1.7e-256], N[(c * N[(i * N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[LessEqual[y3, 6.8e+17], N[(a * N[(N[(t * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision], t$95$1]]]]
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            \\
                                                                                                                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                            t_1 := j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                            \mathbf{if}\;y3 \leq -6.5 \cdot 10^{+109}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            \mathbf{elif}\;y3 \leq 1.7 \cdot 10^{-256}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;c \cdot \left(i \cdot \left(t \cdot z\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            \mathbf{elif}\;y3 \leq 6.8 \cdot 10^{+17}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                            \;\;\;\;t\_1\\
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                            1. Split input into 3 regimes
                                                                                                                                                                                                                                                                                                                                                                                                                                            2. if y3 < -6.5e109 or 6.8e17 < y3

                                                                                                                                                                                                                                                                                                                                                                                                                                              1. Initial program 20.6%

                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                              2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                              3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                              5. Applied rewrites41.3%

                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                              6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites52.8%

                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                2. Taylor expanded in y around 0

                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites47.3%

                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                                                                  if -6.5e109 < y3 < 1.7e-256

                                                                                                                                                                                                                                                                                                                                                                                                                                                  1. Initial program 43.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                  3. Taylor expanded in z around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(z \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(z\right)\right) \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-z\right)} \cdot \left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-z\right) \cdot \color{blue}{\left(\left(t \cdot \left(a \cdot b - c \cdot i\right) + y3 \cdot \left(c \cdot y0 - a \cdot y1\right)\right) - k \cdot \left(b \cdot y0 - i \cdot y1\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                  5. Applied rewrites38.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-z\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y0, c, \left(-a\right) \cdot y1\right), y3, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right) \cdot t\right) - \mathsf{fma}\left(y0, b, \left(-i\right) \cdot y1\right) \cdot k\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                  6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(z \cdot \left(-1 \cdot \left(c \cdot i\right) + a \cdot b\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites34.4%

                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto -t \cdot \left(z \cdot \mathsf{fma}\left(-1, c \cdot i, a \cdot b\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in a around 0

                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto c \cdot \left(i \cdot \color{blue}{\left(t \cdot z\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites26.9%

                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto c \cdot \left(i \cdot \color{blue}{\left(t \cdot z\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                                                                      if 1.7e-256 < y3 < 6.8e17

                                                                                                                                                                                                                                                                                                                                                                                                                                                      1. Initial program 48.3%

                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                      2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                      3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                        2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                        3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                        4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                        5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                      5. Applied rewrites46.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                      6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(y5 \cdot \left(i \cdot j - a \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites31.9%

                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto -\left(t \cdot y5\right) \cdot \mathsf{fma}\left(i, j, \left(-a\right) \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                        2. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y2 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites23.8%

                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot \color{blue}{y5}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                        4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Alternative 34: 21.6% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y2 \leq -3.4 \cdot 10^{+148} \lor \neg \left(y2 \leq 2.65 \cdot 10^{+103}\right):\\ \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                         :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                                                                                         (if (or (<= y2 -3.4e+148) (not (<= y2 2.65e+103)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                           (* a (* (* t y2) y5))
                                                                                                                                                                                                                                                                                                                                                                                                                                                           (* j (* y0 (* y3 y5)))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if ((y2 <= -3.4e+148) || !(y2 <= 2.65e+103)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                            implicit none
                                                                                                                                                                                                                                                                                                                                                                                                                                                            private
                                                                                                                                                                                                                                                                                                                                                                                                                                                            public fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                            public fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                            interface fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax48
                                                                                                                                                                                                                                                                                                                                                                                                                                                            end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                            interface fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin48
                                                                                                                                                                                                                                                                                                                                                                                                                                                            end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                        contains
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                        end module
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                        use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                            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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                            if ((y2 <= (-3.4d+148)) .or. (.not. (y2 <= 2.65d+103))) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                tmp = a * ((t * y2) * y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                            else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                tmp = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if ((y2 <= -3.4e+148) || !(y2 <= 2.65e+103)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if (y2 <= -3.4e+148) or not (y2 <= 2.65e+103):
                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * ((t * y2) * y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	else:
                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = j * (y0 * (y3 * y5))
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if ((y2 <= -3.4e+148) || !(y2 <= 2.65e+103))
                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = Float64(a * Float64(Float64(t * y2) * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = Float64(j * Float64(y0 * Float64(y3 * y5)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                        end
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if ((y2 <= -3.4e+148) || ~((y2 <= 2.65e+103)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = j * (y0 * (y3 * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                        end
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[y2, -3.4e+148], N[Not[LessEqual[y2, 2.65e+103]], $MachinePrecision]], N[(a * N[(N[(t * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision], N[(j * N[(y0 * N[(y3 * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        \\
                                                                                                                                                                                                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                        \mathbf{if}\;y2 \leq -3.4 \cdot 10^{+148} \lor \neg \left(y2 \leq 2.65 \cdot 10^{+103}\right):\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                        \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                        \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                                                                                                                                                        2. if y2 < -3.4000000000000003e148 or 2.64999999999999985e103 < y2

                                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Initial program 31.9%

                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                          3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                            1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                            2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                            3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                            4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                            5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                          5. Applied rewrites49.3%

                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                          6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(y5 \cdot \left(i \cdot j - a \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites41.6%

                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto -\left(t \cdot y5\right) \cdot \mathsf{fma}\left(i, j, \left(-a\right) \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                            2. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y2 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites39.4%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot \color{blue}{y5}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                                                                              if -3.4000000000000003e148 < y2 < 2.64999999999999985e103

                                                                                                                                                                                                                                                                                                                                                                                                                                                              1. Initial program 36.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                              2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                              3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                              4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                              5. Applied rewrites42.3%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                              6. Taylor expanded in y3 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto y3 \cdot \color{blue}{\left(y5 \cdot \left(j \cdot y0 - a \cdot y\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                              7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites34.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(y3 \cdot y5\right) \cdot \color{blue}{\mathsf{fma}\left(j, y0, \left(-a\right) \cdot y\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                2. Taylor expanded in y around 0

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites28.4%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto j \cdot \left(y0 \cdot \color{blue}{\left(y3 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                5. Final simplification31.7%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \begin{array}{l} \mathbf{if}\;y2 \leq -3.4 \cdot 10^{+148} \lor \neg \left(y2 \leq 2.65 \cdot 10^{+103}\right):\\ \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;j \cdot \left(y0 \cdot \left(y3 \cdot y5\right)\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                                                                Alternative 35: 21.9% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;t \leq -8 \cdot 10^{+34} \lor \neg \left(t \leq 1.7 \cdot 10^{-24}\right):\\ \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y\right)\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                 :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (if (or (<= t -8e+34) (not (<= t 1.7e-24)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                   (* a (* (* t y2) y5))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                   (* a (* b (* x y)))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	if ((t <= -8e+34) || !(t <= 1.7e-24)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    implicit none
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    private
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    public fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    public fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    interface fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmax88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmax44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmax84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmax48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    interface fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmin88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmin44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmin84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmin48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                contains
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                end module
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    if ((t <= (-8d+34)) .or. (.not. (t <= 1.7d-24))) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        tmp = a * ((t * y2) * y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        tmp = a * (b * (x * y))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	if ((t <= -8e+34) || !(t <= 1.7e-24)) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	if (t <= -8e+34) or not (t <= 1.7e-24):
                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = a * ((t * y2) * y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	else:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = a * (b * (x * y))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	if ((t <= -8e+34) || !(t <= 1.7e-24))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = Float64(a * Float64(Float64(t * y2) * y5));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = Float64(a * Float64(b * Float64(x * y)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	if ((t <= -8e+34) || ~((t <= 1.7e-24)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = a * ((t * y2) * y5);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[Or[LessEqual[t, -8e+34], N[Not[LessEqual[t, 1.7e-24]], $MachinePrecision]], N[(a * N[(N[(t * y2), $MachinePrecision] * y5), $MachinePrecision]), $MachinePrecision], N[(a * N[(b * N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                \\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                \mathbf{if}\;t \leq -8 \cdot 10^{+34} \lor \neg \left(t \leq 1.7 \cdot 10^{-24}\right):\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                Derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                                                                                                                                                                2. if t < -7.99999999999999956e34 or 1.69999999999999996e-24 < t

                                                                                                                                                                                                                                                                                                                                                                                                                                                                  1. Initial program 29.1%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  3. Taylor expanded in y5 around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{-1 \cdot \left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\mathsf{neg}\left(y5 \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y5\right)\right) \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y5\right)} \cdot \left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \left(-y5\right) \cdot \color{blue}{\left(\left(i \cdot \left(j \cdot t - k \cdot y\right) + y0 \cdot \left(k \cdot y2 - j \cdot y3\right)\right) - a \cdot \left(t \cdot y2 - y \cdot y3\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  5. Applied rewrites45.4%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y5\right) \cdot \left(\mathsf{fma}\left(\mathsf{fma}\left(y2, k, \left(-j\right) \cdot y3\right), y0, \mathsf{fma}\left(j, t, \left(-k\right) \cdot y\right) \cdot i\right) - \mathsf{fma}\left(y2, t, \left(-y\right) \cdot y3\right) \cdot a\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  6. Taylor expanded in t around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto -1 \cdot \color{blue}{\left(t \cdot \left(y5 \cdot \left(i \cdot j - a \cdot y2\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites40.0%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto -\left(t \cdot y5\right) \cdot \mathsf{fma}\left(i, j, \left(-a\right) \cdot y2\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    2. Taylor expanded in a around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \left(t \cdot \color{blue}{\left(y2 \cdot y5\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites32.3%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto a \cdot \left(\left(t \cdot y2\right) \cdot \color{blue}{y5}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      if -7.99999999999999956e34 < t < 1.69999999999999996e-24

                                                                                                                                                                                                                                                                                                                                                                                                                                                                      1. Initial program 41.0%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      5. Applied rewrites41.0%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites29.7%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites19.0%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        5. Final simplification25.8%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \begin{array}{l} \mathbf{if}\;t \leq -8 \cdot 10^{+34} \lor \neg \left(t \leq 1.7 \cdot 10^{-24}\right):\\ \;\;\;\;a \cdot \left(\left(t \cdot y2\right) \cdot y5\right)\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y\right)\right)\\ \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        6. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Alternative 36: 19.1% accurate, 7.2× speedup?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y \leq -2 \cdot 10^{+59}:\\ \;\;\;\;\left(\left(a \cdot y\right) \cdot b\right) \cdot x\\ \mathbf{elif}\;y \leq 2.15 \cdot 10^{-97}:\\ \;\;\;\;\left(\left(x \cdot b\right) \cdot a\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y\right)\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                         :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                                                                                                         (if (<= y -2e+59)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                           (* (* (* a y) b) x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                           (if (<= y 2.15e-97) (* (* (* x b) a) y) (* a (* b (* x y))))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if (y <= -2e+59) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((a * y) * b) * x;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	} else if (y <= 2.15e-97) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((x * b) * a) * y;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            implicit none
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            private
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            interface fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            interface fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        contains
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        end module
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (y <= (-2d+59)) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                tmp = ((a * y) * b) * x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            else if (y <= 2.15d-97) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                tmp = ((x * b) * a) * y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                tmp = a * (b * (x * y))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if (y <= -2e+59) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((a * y) * b) * x;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	} else if (y <= 2.15e-97) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((x * b) * a) * y;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if y <= -2e+59:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((a * y) * b) * x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	elif y <= 2.15e-97:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((x * b) * a) * y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	else:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * (b * (x * y))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if (y <= -2e+59)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = Float64(Float64(Float64(a * y) * b) * x);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	elseif (y <= 2.15e-97)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = Float64(Float64(Float64(x * b) * a) * y);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = Float64(a * Float64(b * Float64(x * y)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if (y <= -2e+59)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((a * y) * b) * x;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	elseif (y <= 2.15e-97)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((x * b) * a) * y;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y, -2e+59], N[(N[(N[(a * y), $MachinePrecision] * b), $MachinePrecision] * x), $MachinePrecision], If[LessEqual[y, 2.15e-97], N[(N[(N[(x * b), $MachinePrecision] * a), $MachinePrecision] * y), $MachinePrecision], N[(a * N[(b * N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \mathbf{if}\;y \leq -2 \cdot 10^{+59}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \;\;\;\;\left(\left(a \cdot y\right) \cdot b\right) \cdot x\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \mathbf{elif}\;y \leq 2.15 \cdot 10^{-97}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \;\;\;\;\left(\left(x \cdot b\right) \cdot a\right) \cdot y\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. Split input into 3 regimes
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        2. if y < -1.99999999999999994e59

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Initial program 25.4%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          5. Applied rewrites48.8%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites49.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites26.5%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites33.1%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(\left(a \cdot y\right) \cdot b\right) \cdot x \]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                if -1.99999999999999994e59 < y < 2.15e-97

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                1. Initial program 39.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                5. Applied rewrites29.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites16.7%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites5.8%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites13.4%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(\left(x \cdot b\right) \cdot a\right) \cdot y \]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      if 2.15e-97 < y

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      1. Initial program 35.0%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      5. Applied rewrites37.4%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites25.9%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites21.5%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        4. Recombined 3 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Alternative 37: 18.0% accurate, 9.2× speedup?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;a \leq -1.7 \cdot 10^{-106}:\\ \;\;\;\;\left(\left(b \cdot a\right) \cdot x\right) \cdot y\\ \mathbf{else}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y\right)\right)\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         (if (<= a -1.7e-106) (* (* (* b a) x) y) (* a (* b (* x y)))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if (a <= -1.7e-106) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((b * a) * x) * y;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            implicit none
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            private
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            public fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            interface fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmax48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            interface fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module procedure fmin48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        contains
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        end module
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            if (a <= (-1.7d-106)) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                tmp = ((b * a) * x) * y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                tmp = a * (b * (x * y))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if (a <= -1.7e-106) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((b * a) * x) * y;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if a <= -1.7e-106:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((b * a) * x) * y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	else:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * (b * (x * y))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if (a <= -1.7e-106)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = Float64(Float64(Float64(b * a) * x) * y);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = Float64(a * Float64(b * Float64(x * y)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	if (a <= -1.7e-106)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = ((b * a) * x) * y;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[a, -1.7e-106], N[(N[(N[(b * a), $MachinePrecision] * x), $MachinePrecision] * y), $MachinePrecision], N[(a * N[(b * N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \mathbf{if}\;a \leq -1.7 \cdot 10^{-106}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \;\;\;\;\left(\left(b \cdot a\right) \cdot x\right) \cdot y\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        2. if a < -1.69999999999999991e-106

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Initial program 31.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          5. Applied rewrites38.5%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites34.4%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites13.0%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites18.4%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \left(\left(b \cdot a\right) \cdot x\right) \cdot y \]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                if -1.69999999999999991e-106 < a

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                1. Initial program 36.9%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                5. Applied rewrites34.7%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  1. Applied rewrites22.6%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    1. Applied rewrites16.1%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  4. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  5. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Alternative 38: 16.9% accurate, 9.2× speedup?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\begin{array}{l} \\ \begin{array}{l} \mathbf{if}\;y1 \leq 3 \cdot 10^{-77}:\\ \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y\right)\right)\\ \mathbf{else}:\\ \;\;\;\;\left(\left(a \cdot y\right) \cdot b\right) \cdot x\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   (if (<= y1 3e-77) (* a (* b (* x y))) (* (* (* a y) b) x)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	if (y1 <= 3e-77) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  		tmp = ((a * y) * b) * x;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      implicit none
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      private
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      public fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      public fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      interface fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          module procedure fmax88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          module procedure fmax44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          module procedure fmax84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          module procedure fmax48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      interface fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          module procedure fmin88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          module procedure fmin44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          module procedure fmin84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          module procedure fmin48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  contains
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  end module
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      if (y1 <= 3d-77) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          tmp = a * (b * (x * y))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          tmp = ((a * y) * b) * x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	if (y1 <= 3e-77) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  		tmp = ((a * y) * b) * x;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	if y1 <= 3e-77:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  		tmp = a * (b * (x * y))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	else:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  		tmp = ((a * y) * b) * x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	if (y1 <= 3e-77)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  		tmp = Float64(a * Float64(b * Float64(x * y)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  		tmp = Float64(Float64(Float64(a * y) * b) * x);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	if (y1 <= 3e-77)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  		tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  		tmp = ((a * y) * b) * x;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := If[LessEqual[y1, 3e-77], N[(a * N[(b * N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], N[(N[(N[(a * y), $MachinePrecision] * b), $MachinePrecision] * x), $MachinePrecision]]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \mathbf{if}\;y1 \leq 3 \cdot 10^{-77}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \;\;\;\;a \cdot \left(b \cdot \left(x \cdot y\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \;\;\;\;\left(\left(a \cdot y\right) \cdot b\right) \cdot x\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  1. Split input into 2 regimes
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  2. if y1 < 3.00000000000000016e-77

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    1. Initial program 37.1%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    5. Applied rewrites38.8%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      1. Applied rewrites24.3%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. Applied rewrites17.3%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if 3.00000000000000016e-77 < y1

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        1. Initial program 29.7%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        5. Applied rewrites29.2%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          1. Applied rewrites32.1%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            1. Applied rewrites9.8%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            2. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites16.0%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(\left(a \cdot y\right) \cdot b\right) \cdot x \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            3. Recombined 2 regimes into one program.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            4. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Alternative 39: 17.0% accurate, 12.6× speedup?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \[\begin{array}{l} \\ a \cdot \left(b \cdot \left(x \cdot y\right)\right) \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             (* a (* b (* x y))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	return a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                implicit none
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                private
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                public fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                public fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                interface fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmax48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                interface fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    module procedure fmin48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            contains
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end module
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                code = a * (b * (x * 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, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	return a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	return a * (b * (x * y))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	return Float64(a * Float64(b * Float64(x * y)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            function tmp = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            	tmp = a * (b * (x * y));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := N[(a * N[(b * N[(x * y), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            a \cdot \left(b \cdot \left(x \cdot y\right)\right)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            1. Initial program 34.9%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(x \cdot j - z \cdot k\right) \cdot \left(y0 \cdot b - y1 \cdot i\right)\right) + \left(x \cdot y2 - z \cdot y3\right) \cdot \left(y0 \cdot c - y1 \cdot a\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot \left(y4 \cdot b - y5 \cdot i\right)\right) - \left(t \cdot y2 - y \cdot y3\right) \cdot \left(y4 \cdot c - y5 \cdot a\right)\right) + \left(k \cdot y2 - j \cdot y3\right) \cdot \left(y4 \cdot y1 - y5 \cdot y0\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            2. Add Preprocessing
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            3. Taylor expanded in y around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{-1 \cdot \left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            4. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              1. mul-1-negN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\mathsf{neg}\left(y \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              2. distribute-lft-neg-inN/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              3. lower-*.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(\mathsf{neg}\left(y\right)\right) \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              4. lower-neg.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \color{blue}{\left(-y\right)} \cdot \left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              5. lower--.f64N/A

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(-y\right) \cdot \color{blue}{\left(\left(-1 \cdot \left(x \cdot \left(a \cdot b - c \cdot i\right)\right) + k \cdot \left(b \cdot y4 - i \cdot y5\right)\right) - y3 \cdot \left(c \cdot y4 - a \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            5. Applied rewrites36.0%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto \color{blue}{\left(-y\right) \cdot \left(\mathsf{fma}\left(-x, \mathsf{fma}\left(b, a, \left(-c\right) \cdot i\right), \mathsf{fma}\left(y4, b, \left(-i\right) \cdot y5\right) \cdot k\right) - \mathsf{fma}\left(y4, c, \left(-a\right) \cdot y5\right) \cdot y3\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            6. Taylor expanded in a around -inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              \[\leadsto a \cdot \color{blue}{\left(y \cdot \left(b \cdot x - y3 \cdot y5\right)\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            7. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              1. Applied rewrites26.6%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto \left(a \cdot y\right) \cdot \color{blue}{\mathsf{fma}\left(b, x, \left(-y3\right) \cdot y5\right)} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              2. Taylor expanded in x around inf

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              3. Step-by-step derivation
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                1. Applied rewrites15.1%

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  \[\leadsto a \cdot \left(b \cdot \color{blue}{\left(x \cdot y\right)}\right) \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                2. Add Preprocessing

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Developer Target 1: 27.8% accurate, 0.7× speedup?

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \[\begin{array}{l} \\ \begin{array}{l} t_1 := y4 \cdot c - y5 \cdot a\\ t_2 := x \cdot y2 - z \cdot y3\\ t_3 := y2 \cdot t - y3 \cdot y\\ t_4 := k \cdot y2 - j \cdot y3\\ t_5 := y4 \cdot b - y5 \cdot i\\ t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\ t_7 := b \cdot a - i \cdot c\\ t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\ t_9 := j \cdot x - k \cdot z\\ t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\ t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\ t_12 := y4 \cdot y1 - y5 \cdot y0\\ t_13 := t\_4 \cdot t\_12\\ t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\ t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\ t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\ t_17 := t \cdot y2 - y \cdot y3\\ \mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\ \;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\ \mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\ \;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\ \mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\ \;\;\;\;t\_15\\ \mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\ \;\;\;\;t\_16\\ \mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\ \;\;\;\;t\_15\\ \mathbf{else}:\\ \;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\ \end{array} \end{array} \]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (let* ((t_1 (- (* y4 c) (* y5 a)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_2 (- (* x y2) (* z y3)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_3 (- (* y2 t) (* y3 y)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_4 (- (* k y2) (* j y3)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_5 (- (* y4 b) (* y5 i)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_6 (* (- (* j t) (* k y)) t_5))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_7 (- (* b a) (* i c)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_8 (* t_7 (- (* y x) (* t z))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_9 (- (* j x) (* k z)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_10 (* (- (* b y0) (* i y1)) t_9))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_11 (* t_9 (- (* y0 b) (* i y1))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_12 (- (* y4 y1) (* y5 y0)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_13 (* t_4 t_12))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_14 (* (- (* y2 k) (* y3 j)) t_12))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_15
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         (+
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          (-
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           (-
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            (* (* y5 t) (* i j)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           (- (* t_3 t_1) t_14))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          (- t_8 (- t_11 (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_16
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         (+
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          (+
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           (- t_6 (* (* y3 y) (- (* y5 a) (* y4 c))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           (+ (* (* y5 a) (* t y2)) t_13))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          (-
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           (* t_2 (- (* c y0) (* a y1)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           (- t_10 (* (- (* y x) (* z t)) t_7)))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (t_17 (- (* t y2) (* y y3))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   (if (< y4 -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     (- (- t_8 (- t_11 t_6)) (- (/ t_3 (/ 1.0 t_1)) t_14))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     (if (< y4 -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       (+
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (-
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         t_10)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        (-
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         (* (- (* y0 c) (* a y1)) t_2)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         (- (* t_17 (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) t_4))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       (if (< y4 -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         t_16
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         (if (< y4 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           t_15
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           (if (< y4 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             t_16
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             (if (< y4 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               t_15
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               (+
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                (-
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (+
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  (+
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   (-
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    (* (- (* x y) (* z t)) (- (* a b) (* c i)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    (-
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     (* k (* i (* z y1)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     (+ (* j (* i (* x y1))) (* y0 (* k (* z b))))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   (-
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    (* z (* y3 (* a y1)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3))))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  (* (- (* t j) (* y k)) t_5))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (* t_17 t_1))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_13)))))))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                double code(double x, double y, double z, double t, double a, double b, double c, double i, double j, double k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else if (y4 < -3.364603505246317e-66) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else if (y4 < -1.2000065055686116e-105) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 6.718963124057495e-279) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 4.77962681403792e-222) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 2.2852241541266835e-175) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                module fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    implicit none
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    private
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    public fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    public fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    interface fmax
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmax88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmax44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmax84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmax48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    interface fmin
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmin88
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmin44
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmin84
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        module procedure fmin48
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end interface
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                contains
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmax88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4) function fmax44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(x, max(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmax84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(dble(y), merge(x, max(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmax48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(dble(x), max(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmin88(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(4) function fmin44(x, y) result (res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(x, min(x, y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmin84(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(dble(y), merge(x, min(x, dble(y)), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) function fmin48(x, y) result(res)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(4), intent (in) :: x
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        real(8), intent (in) :: y
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        res = merge(y, merge(dble(x), min(dble(x), y), y /= y), x /= x)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    end function
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end module
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                real(8) function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                use fmin_fmax_functions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    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), intent (in) :: k
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y2
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y3
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y4
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8), intent (in) :: y5
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_1
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_10
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_11
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_12
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_13
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_14
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_15
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_16
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_17
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_2
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_3
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_4
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_5
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_6
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_7
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_8
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: t_9
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    real(8) :: tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_1 = (y4 * c) - (y5 * a)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_2 = (x * y2) - (z * y3)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_3 = (y2 * t) - (y3 * y)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_4 = (k * y2) - (j * y3)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_5 = (y4 * b) - (y5 * i)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_6 = ((j * t) - (k * y)) * t_5
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_7 = (b * a) - (i * c)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_8 = t_7 * ((y * x) - (t * z))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_9 = (j * x) - (k * z)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_10 = ((b * y0) - (i * y1)) * t_9
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_11 = t_9 * ((y0 * b) - (i * y1))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_12 = (y4 * y1) - (y5 * y0)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_13 = t_4 * t_12
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_14 = ((y2 * k) - (y3 * j)) * t_12
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    t_17 = (t * y2) - (y * y3)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    if (y4 < (-7.206256231996481d+60)) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0d0 / t_1)) - t_14)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    else if (y4 < (-3.364603505246317d-66)) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    else if (y4 < (-1.2000065055686116d-105)) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        tmp = t_16
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    else if (y4 < 6.718963124057495d-279) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        tmp = t_15
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    else if (y4 < 4.77962681403792d-222) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        tmp = t_16
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    else if (y4 < 2.2852241541266835d-175) then
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        tmp = t_15
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    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 k, double y0, double y1, double y2, double y3, double y4, double y5) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	double tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else if (y4 < -3.364603505246317e-66) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else if (y4 < -1.2000065055686116e-105) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 6.718963124057495e-279) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 4.77962681403792e-222) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else if (y4 < 2.2852241541266835e-175) {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	} else {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	return tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                def code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5):
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_1 = (y4 * c) - (y5 * a)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_2 = (x * y2) - (z * y3)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_3 = (y2 * t) - (y3 * y)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_4 = (k * y2) - (j * y3)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_5 = (y4 * b) - (y5 * i)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_6 = ((j * t) - (k * y)) * t_5
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_7 = (b * a) - (i * c)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_8 = t_7 * ((y * x) - (t * z))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_9 = (j * x) - (k * z)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_10 = ((b * y0) - (i * y1)) * t_9
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_11 = t_9 * ((y0 * b) - (i * y1))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_12 = (y4 * y1) - (y5 * y0)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_13 = t_4 * t_12
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_14 = ((y2 * k) - (y3 * j)) * t_12
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_17 = (t * y2) - (y * y3)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	tmp = 0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	if y4 < -7.206256231996481e+60:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elif y4 < -3.364603505246317e-66:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elif y4 < -1.2000065055686116e-105:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_16
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elif y4 < 6.718963124057495e-279:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_15
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elif y4 < 4.77962681403792e-222:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_16
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elif y4 < 2.2852241541266835e-175:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_15
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	else:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                function code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_1 = Float64(Float64(y4 * c) - Float64(y5 * a))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_2 = Float64(Float64(x * y2) - Float64(z * y3))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_3 = Float64(Float64(y2 * t) - Float64(y3 * y))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_4 = Float64(Float64(k * y2) - Float64(j * y3))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_5 = Float64(Float64(y4 * b) - Float64(y5 * i))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_6 = Float64(Float64(Float64(j * t) - Float64(k * y)) * t_5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_7 = Float64(Float64(b * a) - Float64(i * c))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_8 = Float64(t_7 * Float64(Float64(y * x) - Float64(t * z)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_9 = Float64(Float64(j * x) - Float64(k * z))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_10 = Float64(Float64(Float64(b * y0) - Float64(i * y1)) * t_9)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_11 = Float64(t_9 * Float64(Float64(y0 * b) - Float64(i * y1)))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_12 = Float64(Float64(y4 * y1) - Float64(y5 * y0))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_13 = Float64(t_4 * t_12)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_14 = Float64(Float64(Float64(y2 * k) - Float64(y3 * j)) * t_12)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_15 = Float64(Float64(Float64(Float64(Float64(Float64(k * y) * Float64(y5 * i)) - Float64(Float64(y * b) * Float64(y4 * k))) - Float64(Float64(y5 * t) * Float64(i * j))) - Float64(Float64(t_3 * t_1) - t_14)) + Float64(t_8 - Float64(t_11 - Float64(Float64(Float64(y2 * x) - Float64(y3 * z)) * Float64(Float64(c * y0) - Float64(y1 * a))))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_16 = Float64(Float64(Float64(t_6 - Float64(Float64(y3 * y) * Float64(Float64(y5 * a) - Float64(y4 * c)))) + Float64(Float64(Float64(y5 * a) * Float64(t * y2)) + t_13)) + Float64(Float64(t_2 * Float64(Float64(c * y0) - Float64(a * y1))) - Float64(t_10 - Float64(Float64(Float64(y * x) - Float64(z * t)) * t_7))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_17 = Float64(Float64(t * y2) - Float64(y * y3))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	tmp = 0.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(t_8 - Float64(t_11 - t_6)) - Float64(Float64(t_3 / Float64(1.0 / t_1)) - t_14));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elseif (y4 < -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(Float64(Float64(Float64(t * c) * Float64(i * z)) - Float64(Float64(a * t) * Float64(b * z))) - Float64(Float64(y * c) * Float64(i * x))) - t_10) + Float64(Float64(Float64(Float64(y0 * c) - Float64(a * y1)) * t_2) - Float64(Float64(t_17 * Float64(Float64(y4 * c) - Float64(a * y5))) - Float64(Float64(Float64(y1 * y4) - Float64(y5 * y0)) * t_4))));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elseif (y4 < -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = Float64(Float64(Float64(Float64(Float64(Float64(Float64(Float64(x * y) - Float64(z * t)) * Float64(Float64(a * b) - Float64(c * i))) - Float64(Float64(k * Float64(i * Float64(z * y1))) - Float64(Float64(j * Float64(i * Float64(x * y1))) + Float64(y0 * Float64(k * Float64(z * b)))))) + Float64(Float64(z * Float64(y3 * Float64(a * y1))) - Float64(Float64(y2 * Float64(x * Float64(a * y1))) + Float64(y0 * Float64(z * Float64(c * y3)))))) + Float64(Float64(Float64(t * j) - Float64(y * k)) * t_5)) - Float64(t_17 * t_1)) + t_13);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	return tmp
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                function tmp_2 = code(x, y, z, t, a, b, c, i, j, k, y0, y1, y2, y3, y4, y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_1 = (y4 * c) - (y5 * a);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_2 = (x * y2) - (z * y3);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_3 = (y2 * t) - (y3 * y);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_4 = (k * y2) - (j * y3);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_5 = (y4 * b) - (y5 * i);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_6 = ((j * t) - (k * y)) * t_5;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_7 = (b * a) - (i * c);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_8 = t_7 * ((y * x) - (t * z));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_9 = (j * x) - (k * z);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_10 = ((b * y0) - (i * y1)) * t_9;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_11 = t_9 * ((y0 * b) - (i * y1));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_12 = (y4 * y1) - (y5 * y0);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_13 = t_4 * t_12;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_14 = ((y2 * k) - (y3 * j)) * t_12;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_15 = (((((k * y) * (y5 * i)) - ((y * b) * (y4 * k))) - ((y5 * t) * (i * j))) - ((t_3 * t_1) - t_14)) + (t_8 - (t_11 - (((y2 * x) - (y3 * z)) * ((c * y0) - (y1 * a)))));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_16 = ((t_6 - ((y3 * y) * ((y5 * a) - (y4 * c)))) + (((y5 * a) * (t * y2)) + t_13)) + ((t_2 * ((c * y0) - (a * y1))) - (t_10 - (((y * x) - (z * t)) * t_7)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	t_17 = (t * y2) - (y * y3);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	tmp = 0.0;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	if (y4 < -7.206256231996481e+60)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (t_8 - (t_11 - t_6)) - ((t_3 / (1.0 / t_1)) - t_14);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elseif (y4 < -3.364603505246317e-66)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (((((t * c) * (i * z)) - ((a * t) * (b * z))) - ((y * c) * (i * x))) - t_10) + ((((y0 * c) - (a * y1)) * t_2) - ((t_17 * ((y4 * c) - (a * y5))) - (((y1 * y4) - (y5 * y0)) * t_4)));
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elseif (y4 < -1.2000065055686116e-105)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 6.718963124057495e-279)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 4.77962681403792e-222)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_16;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	elseif (y4 < 2.2852241541266835e-175)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = t_15;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	else
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                		tmp = (((((((x * y) - (z * t)) * ((a * b) - (c * i))) - ((k * (i * (z * y1))) - ((j * (i * (x * y1))) + (y0 * (k * (z * b)))))) + ((z * (y3 * (a * y1))) - ((y2 * (x * (a * y1))) + (y0 * (z * (c * y3)))))) + (((t * j) - (y * k)) * t_5)) - (t_17 * t_1)) + t_13;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                	tmp_2 = tmp;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                end
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                code[x_, y_, z_, t_, a_, b_, c_, i_, j_, k_, y0_, y1_, y2_, y3_, y4_, y5_] := Block[{t$95$1 = N[(N[(y4 * c), $MachinePrecision] - N[(y5 * a), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$2 = N[(N[(x * y2), $MachinePrecision] - N[(z * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$3 = N[(N[(y2 * t), $MachinePrecision] - N[(y3 * y), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$4 = N[(N[(k * y2), $MachinePrecision] - N[(j * y3), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$5 = N[(N[(y4 * b), $MachinePrecision] - N[(y5 * i), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$6 = N[(N[(N[(j * t), $MachinePrecision] - N[(k * y), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]}, Block[{t$95$7 = N[(N[(b * a), $MachinePrecision] - N[(i * c), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$8 = N[(t$95$7 * N[(N[(y * x), $MachinePrecision] - N[(t * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$9 = N[(N[(j * x), $MachinePrecision] - N[(k * z), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$10 = N[(N[(N[(b * y0), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision] * t$95$9), $MachinePrecision]}, Block[{t$95$11 = N[(t$95$9 * N[(N[(y0 * b), $MachinePrecision] - N[(i * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$12 = N[(N[(y4 * y1), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$13 = N[(t$95$4 * t$95$12), $MachinePrecision]}, Block[{t$95$14 = N[(N[(N[(y2 * k), $MachinePrecision] - N[(y3 * j), $MachinePrecision]), $MachinePrecision] * t$95$12), $MachinePrecision]}, Block[{t$95$15 = N[(N[(N[(N[(N[(N[(k * y), $MachinePrecision] * N[(y5 * i), $MachinePrecision]), $MachinePrecision] - N[(N[(y * b), $MachinePrecision] * N[(y4 * k), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y5 * t), $MachinePrecision] * N[(i * j), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 * t$95$1), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision] + N[(t$95$8 - N[(t$95$11 - N[(N[(N[(y2 * x), $MachinePrecision] - N[(y3 * z), $MachinePrecision]), $MachinePrecision] * N[(N[(c * y0), $MachinePrecision] - N[(y1 * a), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$16 = N[(N[(N[(t$95$6 - N[(N[(y3 * y), $MachinePrecision] * N[(N[(y5 * a), $MachinePrecision] - N[(y4 * c), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(y5 * a), $MachinePrecision] * N[(t * y2), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]), $MachinePrecision] + N[(N[(t$95$2 * N[(N[(c * y0), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(t$95$10 - N[(N[(N[(y * x), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * t$95$7), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]}, Block[{t$95$17 = N[(N[(t * y2), $MachinePrecision] - N[(y * y3), $MachinePrecision]), $MachinePrecision]}, If[Less[y4, -7.206256231996481e+60], N[(N[(t$95$8 - N[(t$95$11 - t$95$6), $MachinePrecision]), $MachinePrecision] - N[(N[(t$95$3 / N[(1.0 / t$95$1), $MachinePrecision]), $MachinePrecision] - t$95$14), $MachinePrecision]), $MachinePrecision], If[Less[y4, -3.364603505246317e-66], N[(N[(N[(N[(N[(N[(t * c), $MachinePrecision] * N[(i * z), $MachinePrecision]), $MachinePrecision] - N[(N[(a * t), $MachinePrecision] * N[(b * z), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y * c), $MachinePrecision] * N[(i * x), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - t$95$10), $MachinePrecision] + N[(N[(N[(N[(y0 * c), $MachinePrecision] - N[(a * y1), $MachinePrecision]), $MachinePrecision] * t$95$2), $MachinePrecision] - N[(N[(t$95$17 * N[(N[(y4 * c), $MachinePrecision] - N[(a * y5), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(N[(y1 * y4), $MachinePrecision] - N[(y5 * y0), $MachinePrecision]), $MachinePrecision] * t$95$4), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision], If[Less[y4, -1.2000065055686116e-105], t$95$16, If[Less[y4, 6.718963124057495e-279], t$95$15, If[Less[y4, 4.77962681403792e-222], t$95$16, If[Less[y4, 2.2852241541266835e-175], t$95$15, N[(N[(N[(N[(N[(N[(N[(N[(x * y), $MachinePrecision] - N[(z * t), $MachinePrecision]), $MachinePrecision] * N[(N[(a * b), $MachinePrecision] - N[(c * i), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(k * N[(i * N[(z * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(j * N[(i * N[(x * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(k * N[(z * b), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(z * N[(y3 * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] - N[(N[(y2 * N[(x * N[(a * y1), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(y0 * N[(z * N[(c * y3), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision]), $MachinePrecision] + N[(N[(N[(t * j), $MachinePrecision] - N[(y * k), $MachinePrecision]), $MachinePrecision] * t$95$5), $MachinePrecision]), $MachinePrecision] - N[(t$95$17 * t$95$1), $MachinePrecision]), $MachinePrecision] + t$95$13), $MachinePrecision]]]]]]]]]]]]]]]]]]]]]]]]
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \begin{array}{l}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_1 := y4 \cdot c - y5 \cdot a\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_2 := x \cdot y2 - z \cdot y3\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_3 := y2 \cdot t - y3 \cdot y\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_4 := k \cdot y2 - j \cdot y3\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_5 := y4 \cdot b - y5 \cdot i\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_6 := \left(j \cdot t - k \cdot y\right) \cdot t\_5\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_7 := b \cdot a - i \cdot c\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_8 := t\_7 \cdot \left(y \cdot x - t \cdot z\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_9 := j \cdot x - k \cdot z\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_10 := \left(b \cdot y0 - i \cdot y1\right) \cdot t\_9\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_11 := t\_9 \cdot \left(y0 \cdot b - i \cdot y1\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_12 := y4 \cdot y1 - y5 \cdot y0\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_13 := t\_4 \cdot t\_12\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_14 := \left(y2 \cdot k - y3 \cdot j\right) \cdot t\_12\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_15 := \left(\left(\left(\left(k \cdot y\right) \cdot \left(y5 \cdot i\right) - \left(y \cdot b\right) \cdot \left(y4 \cdot k\right)\right) - \left(y5 \cdot t\right) \cdot \left(i \cdot j\right)\right) - \left(t\_3 \cdot t\_1 - t\_14\right)\right) + \left(t\_8 - \left(t\_11 - \left(y2 \cdot x - y3 \cdot z\right) \cdot \left(c \cdot y0 - y1 \cdot a\right)\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_16 := \left(\left(t\_6 - \left(y3 \cdot y\right) \cdot \left(y5 \cdot a - y4 \cdot c\right)\right) + \left(\left(y5 \cdot a\right) \cdot \left(t \cdot y2\right) + t\_13\right)\right) + \left(t\_2 \cdot \left(c \cdot y0 - a \cdot y1\right) - \left(t\_10 - \left(y \cdot x - z \cdot t\right) \cdot t\_7\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                t_17 := t \cdot y2 - y \cdot y3\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \mathbf{if}\;y4 < -7.206256231996481 \cdot 10^{+60}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(t\_8 - \left(t\_11 - t\_6\right)\right) - \left(\frac{t\_3}{\frac{1}{t\_1}} - t\_14\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < -3.364603505246317 \cdot 10^{-66}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(\left(\left(t \cdot c\right) \cdot \left(i \cdot z\right) - \left(a \cdot t\right) \cdot \left(b \cdot z\right)\right) - \left(y \cdot c\right) \cdot \left(i \cdot x\right)\right) - t\_10\right) + \left(\left(y0 \cdot c - a \cdot y1\right) \cdot t\_2 - \left(t\_17 \cdot \left(y4 \cdot c - a \cdot y5\right) - \left(y1 \cdot y4 - y5 \cdot y0\right) \cdot t\_4\right)\right)\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < -1.2000065055686116 \cdot 10^{-105}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;t\_16\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < 6.718963124057495 \cdot 10^{-279}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;t\_15\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < 4.77962681403792 \cdot 10^{-222}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;t\_16\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \mathbf{elif}\;y4 < 2.2852241541266835 \cdot 10^{-175}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;t\_15\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \mathbf{else}:\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \;\;\;\;\left(\left(\left(\left(\left(x \cdot y - z \cdot t\right) \cdot \left(a \cdot b - c \cdot i\right) - \left(k \cdot \left(i \cdot \left(z \cdot y1\right)\right) - \left(j \cdot \left(i \cdot \left(x \cdot y1\right)\right) + y0 \cdot \left(k \cdot \left(z \cdot b\right)\right)\right)\right)\right) + \left(z \cdot \left(y3 \cdot \left(a \cdot y1\right)\right) - \left(y2 \cdot \left(x \cdot \left(a \cdot y1\right)\right) + y0 \cdot \left(z \cdot \left(c \cdot y3\right)\right)\right)\right)\right) + \left(t \cdot j - y \cdot k\right) \cdot t\_5\right) - t\_17 \cdot t\_1\right) + t\_13\\
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                \end{array}
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Reproduce

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ?
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                herbie shell --seed 2025016 
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                (FPCore (x y z t a b c i j k y0 y1 y2 y3 y4 y5)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  :name "Linear.Matrix:det44 from linear-1.19.1.3"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  :precision binary64
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  :alt
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  (! :herbie-platform default (if (< y4 -7206256231996481000000000000000000000000000000000000000000000) (- (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))))) (- (/ (- (* y2 t) (* y3 y)) (/ 1 (- (* y4 c) (* y5 a)))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (if (< y4 -3364603505246317/1000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* t c) (* i z)) (* (* a t) (* b z))) (* (* y c) (* i x))) (* (- (* b y0) (* i y1)) (- (* j x) (* k z)))) (- (* (- (* y0 c) (* a y1)) (- (* x y2) (* z y3))) (- (* (- (* t y2) (* y y3)) (- (* y4 c) (* a y5))) (* (- (* y1 y4) (* y5 y0)) (- (* k y2) (* j y3)))))) (if (< y4 -3000016263921529/2500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 1343792624811499/200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (if (< y4 29872667587737/6250000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (+ (- (* (- (* j t) (* k y)) (- (* y4 b) (* y5 i))) (* (* y3 y) (- (* y5 a) (* y4 c)))) (+ (* (* y5 a) (* t y2)) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* x y2) (* z y3)) (- (* c y0) (* a y1))) (- (* (- (* b y0) (* i y1)) (- (* j x) (* k z))) (* (- (* y x) (* z t)) (- (* b a) (* i c)))))) (if (< y4 4570448308253367/20000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) (+ (- (- (- (* (* k y) (* y5 i)) (* (* y b) (* y4 k))) (* (* y5 t) (* i j))) (- (* (- (* y2 t) (* y3 y)) (- (* y4 c) (* y5 a))) (* (- (* y2 k) (* y3 j)) (- (* y4 y1) (* y5 y0))))) (- (* (- (* b a) (* i c)) (- (* y x) (* t z))) (- (* (- (* j x) (* k z)) (- (* y0 b) (* i y1))) (* (- (* y2 x) (* y3 z)) (- (* c y0) (* y1 a)))))) (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (- (* k (* i (* z y1))) (+ (* j (* i (* x y1))) (* y0 (* k (* z b)))))) (- (* z (* y3 (* a y1))) (+ (* y2 (* x (* a y1))) (* y0 (* z (* c y3)))))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))))))))
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  (+ (- (+ (+ (- (* (- (* x y) (* z t)) (- (* a b) (* c i))) (* (- (* x j) (* z k)) (- (* y0 b) (* y1 i)))) (* (- (* x y2) (* z y3)) (- (* y0 c) (* y1 a)))) (* (- (* t j) (* y k)) (- (* y4 b) (* y5 i)))) (* (- (* t y2) (* y y3)) (- (* y4 c) (* y5 a)))) (* (- (* k y2) (* j y3)) (- (* y4 y1) (* y5 y0)))))