Average Error: 0.0 → 0.0
Time: 8.4s
Precision: 64
Internal Precision: 384
\[2.0 \cdot \left(x \cdot x + x \cdot y\right)\]
\[2.0 \cdot \left(x \cdot x + x \cdot y\right)\]

Error

Bits error versus x

Bits error versus y

Target

Original0.0
Target0.0
Herbie0.0
\[\left(x \cdot 2.0\right) \cdot \left(x + y\right)\]

Derivation

  1. Initial program 0.0

    \[2.0 \cdot \left(x \cdot x + x \cdot y\right)\]

Runtime

Time bar (total: 8.4s)Debug log

herbie shell --seed '#(1567391828 2030694642 2833800258 828025724 3004380912 3532991858)' +o setup:early-exit
(FPCore (x y)
  :name "Linear.Matrix:fromQuaternion from linear-1.19.1.3, B"

  :herbie-target
  (* (* x 2.0) (+ x y))

  (* 2.0 (+ (* x x) (* x y))))