Average Error: 0.0 → 0.0
Time: 18.9s
Precision: 64
Internal Precision: 576
\[a \cdot \left(1 - t\right) + b \cdot t\]
\[a - t \cdot \left(a - b\right)\]

Error

Bits error versus a

Bits error versus t

Bits error versus b

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[a \cdot \left(1 - t\right) + b \cdot t\]
  2. Applied simplify0.0

    \[\leadsto \color{blue}{a - t \cdot \left(a - b\right)}\]

Runtime

Time bar (total: 18.9s)Debug log

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