Average Error: 0.1 → 0
Time: 5.0s
Precision: 64
Internal Precision: 320
\[\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

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

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. Taylor expanded around -inf 0.1

    \[\leadsto \left(d1 \cdot \left(\color{blue}{{d1}^{7}} \cdot d1\right)\right) \cdot d1\]
  3. Taylor expanded around -inf 0

    \[\leadsto \color{blue}{{d1}^{10}}\]
  4. Final simplification0

    \[\leadsto {d1}^{10}\]

Runtime

Time bar (total: 5.0s)Debug logProfile

BaselineHerbieOracleSpan%
Regimes0000100%
herbie shell --seed 2018286 +o rules:numerics
(FPCore (d1)
  :name "FastMath test5"

  :herbie-target
  (pow d1 10)

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