Average Error: 0.0 → 0.0
Time: 5.4s
Precision: 64
Internal Precision: 832
\[\left(\left(4 \cdot a + b\right) + c\right) + d\]
\[\left(c + \left(b + 4 \cdot a\right)\right) + d\]

Error

Bits error versus a

Bits error versus b

Bits error versus c

Bits error versus d

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\left(\left(4 \cdot a + b\right) + c\right) + d\]
  2. Final simplification0.0

    \[\leadsto \left(c + \left(b + 4 \cdot a\right)\right) + d\]

Runtime

Time bar (total: 5.4s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (a b c d)
  :name "4 * a + b + c + d"
  (+ (+ (+ (* 4 a) b) c) d))