Average Error: 3.8 → 0
Time: 4.3s
Precision: binary64
\[\left({x}^{80} - 1\right) - {x}^{80}\]
\[-1\]

Error

Bits error versus x

Derivation

  1. Initial program 3.8

    \[\left({x}^{80} - 1\right) - {x}^{80}\]
  2. Simplified0

    \[\leadsto \color{blue}{-1}\]
  3. Final simplification0

    \[\leadsto -1\]

Reproduce

herbie shell --seed 2020152 
(FPCore (x)
  :name "(- (- (pow x 80) 1) (pow x 80))"
  :precision binary64
  (- (- (pow x 80.0) 1.0) (pow x 80.0)))