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

Error

Bits error versus d1

Target

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

Derivation

  1. Initial program 0.1

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

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

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

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

Runtime

Time bar (total: 1.9s) Debug logProfile

Please include this information when filing a bug report:

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

  :target
  (pow d1 10)

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