Average Error: 0.1 → 0.1
Time: 935.0ms
Precision: binary64
\[\log x - \frac{1}{\sqrt{x}}\]
\[\log x - \frac{1}{\sqrt{x}}\]
\log x - \frac{1}{\sqrt{x}}
\log x - \frac{1}{\sqrt{x}}
double code(double x) {
	return ((double) (((double) log(x)) - ((double) (1.0 / ((double) sqrt(x))))));
}
double code(double x) {
	return ((double) (((double) log(x)) - ((double) (1.0 / ((double) sqrt(x))))));
}

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.1

    \[\log x - \frac{1}{\sqrt{x}}\]
  2. Final simplification0.1

    \[\leadsto \log x - \frac{1}{\sqrt{x}}\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x)
  :name "(- (log x) (/ 1 (sqrt x)))"
  :precision binary64
  (- (log x) (/ 1.0 (sqrt x))))