Average Error: 0.0 → 0.0
Time: 644.0ms
Precision: binary64
\[\left(axx + bx\right) + c\]
\[\left(axx + bx\right) + c\]
\left(axx + bx\right) + c
\left(axx + bx\right) + c
double code(double axx, double bx, double c) {
	return ((double) (((double) (axx + bx)) + c));
}
double code(double axx, double bx, double c) {
	return ((double) (((double) (axx + bx)) + c));
}

Error

Bits error versus axx

Bits error versus bx

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(axx + bx\right) + c\]
  2. Final simplification0.0

    \[\leadsto \left(axx + bx\right) + c\]

Reproduce

herbie shell --seed 2020153 
(FPCore (axx bx c)
  :name "(+ (+ axx bx) c)"
  :precision binary64
  (+ (+ axx bx) c))