Average Error: 0.0 → 0.0
Time: 3.7s
Precision: 64
Internal precision: 384
\[x \cdot \left(x \cdot x\right) + x \cdot x\]
\[\left(1 + x\right) \cdot \left(x \cdot x\right)\]

Error

Bits error versus x

Target

Original0.0
Comparison0.0
Herbie0.0
\[ \left(\left(1.0 + x\right) \cdot x\right) \cdot x \]

Derivation

  1. Initial program 0.0

    \[x \cdot \left(x \cdot x\right) + x \cdot x\]
  2. Applied simplify 0.0

    \[\leadsto \color{blue}{\left(1 + x\right) \cdot \left(x \cdot x\right)}\]
  3. Removed slow pow expressions

Runtime

Time bar (total: 3.7s) Debug logProfile

Please include this information when filing a bug report:

herbie shell --seed '#(1064524629 4159152179 2999149171 575749698 4006532819 692958815)'
(FPCore (x)
  :name "Expression 3, p15"
  :pre (<= 0 x 2)

  :target
  (* (* (+ 1.0 x) x) x)

  (+ (* x (* x x)) (* x x)))