Average Error: 0.0 → 0.0
Time: 22.5s
Precision: 64
Internal Precision: 384
\[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\]
\[(z \cdot t + \left((i \cdot c + \left((b \cdot a + \left(x \cdot y\right))_*\right))_*\right))_*\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Bits error versus t

Bits error versus a

Bits error versus b

Bits error versus c

Bits error versus i

Derivation

  1. Initial program 0.0

    \[\left(\left(x \cdot y + z \cdot t\right) + a \cdot b\right) + c \cdot i\]
  2. Applied simplify0.0

    \[\leadsto \color{blue}{(z \cdot t + \left(y \cdot x\right))_* + (i \cdot c + \left(b \cdot a\right))_*}\]
  3. Using strategy rm
  4. Applied fma-udef0.0

    \[\leadsto \color{blue}{\left(z \cdot t + y \cdot x\right)} + (i \cdot c + \left(b \cdot a\right))_*\]
  5. Applied associate-+l+0.0

    \[\leadsto \color{blue}{z \cdot t + \left(y \cdot x + (i \cdot c + \left(b \cdot a\right))_*\right)}\]
  6. Applied simplify0.0

    \[\leadsto z \cdot t + \color{blue}{(i \cdot c + \left((b \cdot a + \left(x \cdot y\right))_*\right))_*}\]
  7. Using strategy rm
  8. Applied fma-def0.0

    \[\leadsto \color{blue}{(z \cdot t + \left((i \cdot c + \left((b \cdot a + \left(x \cdot y\right))_*\right))_*\right))_*}\]

Runtime

Time bar (total: 22.5s)Debug logProfile

herbie shell --seed '#(1070578969 3140398606 632207097 462683394 1189254563 964980650)' +o rules:numerics
(FPCore (x y z t a b c i)
  :name "Linear.V4:$cdot from linear-1.19.1.3"
  (+ (+ (+ (* x y) (* z t)) (* a b)) (* c i)))