Average Error: 0.0 → 0.0
Time: 16.5s
Precision: 64
Internal Precision: 576
\[v0 + t \cdot \left(v1 - v0\right)\]
\[v0 + \left(t \cdot v1 + t \cdot \left(-v0\right)\right)\]

Error

Bits error versus v0

Bits error versus t

Bits error versus v1

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[v0 + t \cdot \left(v1 - v0\right)\]
  2. Using strategy rm
  3. Applied sub-neg0.0

    \[\leadsto v0 + t \cdot \color{blue}{\left(v1 + \left(-v0\right)\right)}\]
  4. Applied distribute-lft-in0.0

    \[\leadsto v0 + \color{blue}{\left(t \cdot v1 + t \cdot \left(-v0\right)\right)}\]

Runtime

Time bar (total: 16.5s)Debug log

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