Average Error: 0.0 → 0.0
Time: 3.2s
Precision: 64
Internal Precision: 320
\[\left(a - 2 \cdot b\right) + c\]
\[c + \left(a - 2 \cdot b\right)\]

Error

Bits error versus a

Bits error versus b

Bits error versus c

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

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

    \[\leadsto c + \left(a - 2 \cdot b\right)\]

Runtime

Time bar (total: 3.2s)Debug log

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