Average Error: 0.1 → 0
Time: 1.1s
Precision: 64
Internal precision: 384
\[\left(\left(d1 \cdot d1\right) \cdot d1\right) \cdot d1\]
\[{d1}^{4}\]

Error

Bits error versus d1

Target

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

Derivation

  1. Initial program 0.1

    \[\left(\left(d1 \cdot d1\right) \cdot d1\right) \cdot d1\]
  2. Applied simplify 0.2

    \[\leadsto \color{blue}{{\left(d1 \cdot d1\right)}^2}\]
  3. Applied taylor 0

    \[\leadsto {d1}^{4}\]
  4. Taylor expanded around 0 0

    \[\leadsto \color{blue}{{d1}^{4}}\]
  5. Removed slow pow expressions

Runtime

Time bar (total: 1.1s) Debug logProfile

Please include this information when filing a bug report:

herbie shell --seed '#(1064524629 4159152179 2999149171 575749698 4006532819 692958815)'
(FPCore (d1)
  :name "FastMath repmul"

  :target
  (pow d1 4)

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