Average Error: 0.3 → 0.3
Time: 651.0ms
Precision: binary64
\[\frac{\sqrt{x}}{3}\]
\[\frac{\sqrt{x}}{3}\]
\frac{\sqrt{x}}{3}
\frac{\sqrt{x}}{3}
double code(double x) {
	return ((double) (((double) sqrt(x)) / 3.0));
}
double code(double x) {
	return ((double) (((double) sqrt(x)) / 3.0));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.3

    \[\frac{\sqrt{x}}{3}\]
  2. Final simplification0.3

    \[\leadsto \frac{\sqrt{x}}{3}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(/ (sqrt x) 3)"
  :precision binary64
  (/ (sqrt x) 3.0))