Average Error: 0.1 → 0
Time: 5.3s
Precision: 64
Internal precision: 128
\[\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)}^2 \cdot {\left(d1 \cdot d1\right)}^2}\]
  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: 5.3s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(4134449142 4257511685 2745296156 1501967769 1745930783 2702870525)'
(FPCore (d1)
  :name "FastMath test5"

  :target
  (pow d1 10)

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