Average Error: 0.0 → 0.0
Time: 43.5s
Precision: 64
Internal Precision: 576
\[a \cdot a - b \cdot b\]
\[a \cdot a - b \cdot b\]

Error

Bits error versus a

Bits error versus b

Try it out

  1. Inputs

  2. Original Output:

    Herbie Output:

Target

Original0.0
Target0.0
Herbie0.0
\[\left(a + b\right) \cdot \left(a - b\right)\]

Derivation

  1. Initial program 0.0

    \[a \cdot a - b \cdot b\]

Runtime

Time bar (total: 43.5s)Debug logProfile

herbie shell --seed '#(1072361757 3390613284 2339397988 1175251238 145061547 3101881848)' 
(FPCore (a b)
  :name "Difference of squares"

  :herbie-target
  (* (+ a b) (- a b))

  (- (* a a) (* b b)))