Average Error: 0.0 → 0.0
Time: 719.0ms
Precision: binary64
\[a + b \cdot t\]
\[a + b \cdot t\]
a + b \cdot t
a + b \cdot t
double code(double a, double b, double t) {
	return ((double) (a + ((double) (b * t))));
}
double code(double a, double b, double t) {
	return ((double) (a + ((double) (b * t))));
}

Error

Bits error versus a

Bits error versus b

Bits error versus t

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[a + b \cdot t\]
  2. Final simplification0.0

    \[\leadsto a + b \cdot t\]

Reproduce

herbie shell --seed 2020153 
(FPCore (a b t)
  :name "(+ a (* b t))"
  :precision binary64
  (+ a (* b t)))