Average Error: 0.2 → 0.2
Time: 1.9s
Precision: binary64
\[\sin x - \log y \cdot y\]
\[\sin x - \log y \cdot y\]
\sin x - \log y \cdot y
\sin x - \log y \cdot y
double code(double x, double y) {
	return ((double) (((double) sin(x)) - ((double) (((double) log(y)) * y))));
}
double code(double x, double y) {
	return ((double) (((double) sin(x)) - ((double) (((double) log(y)) * y))));
}

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.2

    \[\sin x - \log y \cdot y\]
  2. Final simplification0.2

    \[\leadsto \sin x - \log y \cdot y\]

Reproduce

herbie shell --seed 2020153 
(FPCore (x y)
  :name "(- (sin x) (* (log y) y))"
  :precision binary64
  (- (sin x) (* (log y) y)))