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

Error

Bits error versus d1

Try it out

  1. Inputs

  2. Original Output:

    Herbie Output:

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 '#(1072361757 3390613284 2339397988 1175251238 145061547 3101881848)' +o rules:numerics
(FPCore (d1)
  :name "FastMath repmul"

  :herbie-target
  (pow d1 4)

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