\[(x * y + z)_* - \left(1 + \left(x \cdot y + z\right)\right)\]
Test:
simple fma test
Bits:
128 bits
Bits error versus x
Bits error versus y
Bits error versus z
Time: 13.3 s
Input Error: 45.0
Output Error: 12.9
Log:
Profile: 🕒
\(\begin{cases} {\left(\sqrt[3]{\left((x * y + z)_* - z\right) - \left(y \cdot x + 1\right)}\right)}^3 & \text{when } z \le -0.8149153523690484 \\ 1 \cdot \left(\left((x * y + z)_* - y \cdot x\right) - \left(1 + z\right)\right) & \text{when } z \le 8618.608349889819 \\ (\left(\frac{-1}{x}\right) * \left(\frac{-1}{y}\right) + \left(\frac{-1}{z}\right))_* - 1 & \text{otherwise} \end{cases}\)

    if z < -0.8149153523690484

    1. Started with
      \[(x * y + z)_* - \left(1 + \left(x \cdot y + z\right)\right)\]
      60.4
    2. Using strategy rm
      60.4
    3. Applied add-cube-cbrt to get
      \[(x * y + z)_* - \color{red}{\left(1 + \left(x \cdot y + z\right)\right)} \leadsto (x * y + z)_* - \color{blue}{{\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3}\]
      61.4
    4. Using strategy rm
      61.4
    5. Applied add-cube-cbrt to get
      \[\color{red}{(x * y + z)_* - {\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3} \leadsto \color{blue}{{\left(\sqrt[3]{(x * y + z)_* - {\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3}\right)}^3}\]
      61.4
    6. Applied simplify to get
      \[{\color{red}{\left(\sqrt[3]{(x * y + z)_* - {\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3}\right)}}^3 \leadsto {\color{blue}{\left(\sqrt[3]{\left((x * y + z)_* - z\right) - \left(y \cdot x + 1\right)}\right)}}^3\]
      31.7

    if -0.8149153523690484 < z < 8618.608349889819

    1. Started with
      \[(x * y + z)_* - \left(1 + \left(x \cdot y + z\right)\right)\]
      29.6
    2. Using strategy rm
      29.6
    3. Applied add-cube-cbrt to get
      \[(x * y + z)_* - \color{red}{\left(1 + \left(x \cdot y + z\right)\right)} \leadsto (x * y + z)_* - \color{blue}{{\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3}\]
      30.2
    4. Using strategy rm
      30.2
    5. Applied *-un-lft-identity to get
      \[(x * y + z)_* - \color{red}{{\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3} \leadsto (x * y + z)_* - \color{blue}{1 \cdot {\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3}\]
      30.2
    6. Applied *-un-lft-identity to get
      \[\color{red}{(x * y + z)_*} - 1 \cdot {\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3 \leadsto \color{blue}{1 \cdot (x * y + z)_*} - 1 \cdot {\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3\]
      30.2
    7. Applied distribute-lft-out-- to get
      \[\color{red}{1 \cdot (x * y + z)_* - 1 \cdot {\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3} \leadsto \color{blue}{1 \cdot \left((x * y + z)_* - {\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3\right)}\]
      30.2
    8. Applied simplify to get
      \[1 \cdot \color{red}{\left((x * y + z)_* - {\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3\right)} \leadsto 1 \cdot \color{blue}{\left(\left((x * y + z)_* - y \cdot x\right) - \left(1 + z\right)\right)}\]
      8.9

    if 8618.608349889819 < z

    1. Started with
      \[(x * y + z)_* - \left(1 + \left(x \cdot y + z\right)\right)\]
      62.4
    2. Using strategy rm
      62.4
    3. Applied add-cube-cbrt to get
      \[(x * y + z)_* - \color{red}{\left(1 + \left(x \cdot y + z\right)\right)} \leadsto (x * y + z)_* - \color{blue}{{\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3}\]
      62.1
    4. Applied taylor to get
      \[(x * y + z)_* - {\left(\sqrt[3]{1 + \left(x \cdot y + z\right)}\right)}^3 \leadsto (\left(\frac{-1}{x}\right) * \left(\frac{-1}{y}\right) + \left(\frac{-1}{z}\right))_* - 1\]
      0.2
    5. Taylor expanded around -inf to get
      \[\color{red}{(\left(\frac{-1}{x}\right) * \left(\frac{-1}{y}\right) + \left(\frac{-1}{z}\right))_* - 1} \leadsto \color{blue}{(\left(\frac{-1}{x}\right) * \left(\frac{-1}{y}\right) + \left(\frac{-1}{z}\right))_* - 1}\]
      0.2

  1. Removed slow pow expressions

Original test:


(lambda ((x default) (y default) (z default))
  #:name "simple fma test"
  (- (fma x y z) (+ 1 (+ (* x y) z)))
  #:target
  -1)