Average Error: 23.3 → 23.3
Time: 1.2s
Precision: binary64
\[\sqrt{\left(\left(a + b\right) + c \cdot c\right) + t}\]
\[\sqrt{\left(\left(a + b\right) + c \cdot c\right) + t}\]
\sqrt{\left(\left(a + b\right) + c \cdot c\right) + t}
\sqrt{\left(\left(a + b\right) + c \cdot c\right) + t}
double code(double a, double b, double c, double t) {
	return ((double) sqrt(((double) (((double) (((double) (a + b)) + ((double) (c * c)))) + t))));
}
double code(double a, double b, double c, double t) {
	return ((double) sqrt(((double) (((double) (((double) (a + b)) + ((double) (c * c)))) + t))));
}

Error

Bits error versus a

Bits error versus b

Bits error versus c

Bits error versus t

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 23.3

    \[\sqrt{\left(\left(a + b\right) + c \cdot c\right) + t}\]
  2. Final simplification23.3

    \[\leadsto \sqrt{\left(\left(a + b\right) + c \cdot c\right) + t}\]

Reproduce

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