Average Error: 0.1 → 0
Time: 2.6s
Precision: 64
Internal Precision: 384
\[\left(\left(d1 \cdot d1\right) \cdot d1\right) \cdot d1\]
\[{d1}^{\left(3 + 1\right)}\]

Error

Bits error versus d1

Target

Original0.1
Target0
Herbie0
\[{d1}^{4}\]

Derivation

  1. Initial program 0.1

    \[\left(\left(d1 \cdot d1\right) \cdot d1\right) \cdot d1\]
  2. Using strategy rm
  3. Applied pow30.1

    \[\leadsto \color{blue}{{d1}^{3}} \cdot d1\]
  4. Applied pow-plus0

    \[\leadsto \color{blue}{{d1}^{\left(3 + 1\right)}}\]

Runtime

Time bar (total: 2.6s)Debug logProfile

herbie shell --seed '#(1064173506 2580572819 2847706409 4129882574 1125180799 1845288547)' +o rules:numerics
(FPCore (d1)
  :name "FastMath repmul"

  :herbie-target
  (pow d1 4)

  (* (* (* d1 d1) d1) d1))