Average Error: 0.4 → 0.4
Time: 5.1s
Precision: 64
Internal precision: 128
\[\left(\left(\left(e + d\right) + c\right) + b\right) + a\]
\[\left(\left(\left(e + d\right) + c\right) + b\right) + a\]

Error

Bits error versus a

Bits error versus b

Bits error versus c

Bits error versus d

Bits error versus e

Target

Original0.4
Comparison0.2
Herbie0.4
\[ \left(d + \left(c + \left(a + b\right)\right)\right) + e \]

Derivation

  1. Initial program 0.4

    \[\left(\left(\left(e + d\right) + c\right) + b\right) + a\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 5.1s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(1029825443 3536939418 572944807 1854264451 4158022497 3090594505)'
(FPCore (a b c d e)
  :name "Expression 1, p15"
  :pre (<= 1 a 2 b 4 c 8 d 16 e 32)

  :target
  (+ (+ d (+ c (+ a b))) e)

  (+ (+ (+ (+ e d) c) b) a))