Average Error: 0.1 → 0
Time: 839.0ms
Precision: 64
Internal precision: 384
\[\left(x \cdot x\right) \cdot x\]
\[{x}^{3}\]

Error

Bits error versus x

Target

Original0.1
Comparison0
Herbie0
\[ {x}^{3} \]

Derivation

  1. Initial program 0.1

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

    \[\leadsto \color{blue}{{x}^3}\]
  3. Using strategy rm
  4. Applied pow3 0

    \[\leadsto \color{blue}{{x}^{3}}\]
  5. Removed slow pow expressions

Runtime

Time bar (total: 839.0ms) Debug logProfile

Please include this information when filing a bug report:

herbie shell --seed '#(1064524629 4159152179 2999149171 575749698 4006532819 692958815)'
(FPCore (x)
  :name "math.cube on real"

  :target
  (pow x 3)

  (* (* x x) x))