\[(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: 9.4 s
Input Error: 44.7
Output Error: 30.1
Log:
Profile: 🕒
\(\log \left(e^{\left((x * y + z)_* - z\right) - \left(y \cdot x + 1\right)}\right)\)
  1. Started with
    \[(x * y + z)_* - \left(1 + \left(x \cdot y + z\right)\right)\]
    44.7
  2. Using strategy rm
    44.7
  3. Applied add-cbrt-cube to get
    \[(x * y + z)_* - \left(1 + \color{red}{\left(x \cdot y + z\right)}\right) \leadsto (x * y + z)_* - \left(1 + \color{blue}{\sqrt[3]{{\left(x \cdot y + z\right)}^3}}\right)\]
    45.3
  4. Using strategy rm
    45.3
  5. Applied add-log-exp to get
    \[\color{red}{(x * y + z)_* - \left(1 + \sqrt[3]{{\left(x \cdot y + z\right)}^3}\right)} \leadsto \color{blue}{\log \left(e^{(x * y + z)_* - \left(1 + \sqrt[3]{{\left(x \cdot y + z\right)}^3}\right)}\right)}\]
    45.4
  6. Applied simplify to get
    \[\log \color{red}{\left(e^{(x * y + z)_* - \left(1 + \sqrt[3]{{\left(x \cdot y + z\right)}^3}\right)}\right)} \leadsto \log \color{blue}{\left(e^{\left((x * y + z)_* - z\right) - \left(y \cdot x + 1\right)}\right)}\]
    30.1

Original test:


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