Average Error: 0.1 → 0
Time: 18.5s
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}^{\left(2 \cdot \left(3 + 2\right)\right)}\]

Error

Bits error versus d1

Target

Original0.1
Target0
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 simplify0.2

    \[\leadsto \color{blue}{{\left(d1 \cdot d1\right)}^{\left(3 + 2\right)}}\]
  3. Using strategy rm
  4. Applied pow20.2

    \[\leadsto {\color{blue}{\left({d1}^{2}\right)}}^{\left(3 + 2\right)}\]
  5. Applied pow-pow0

    \[\leadsto \color{blue}{{d1}^{\left(2 \cdot \left(3 + 2\right)\right)}}\]
  6. Removed slow pow expressions.

Runtime

Time bar (total: 18.5s)Debug logProfile

herbie shell --seed '#(1063185673 2139736501 2393378123 1907444849 1070993796 1007244912)' 
(FPCore (d1)
  :name "FastMath test5"

  :herbie-target
  (pow d1 10)

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