Average Error: 0.1 → 0.1
Time: 6.0s
Precision: binary64
\[\]
\[\]
double code(double x, double y, double z, double t, double a, double b) {
	return ((double) (((double) (((double) (((double) (x + y)) + z)) - ((double) (z * ((double) log(t)))))) + ((double) (((double) (a - 0.5)) * b))));
}
double code(double x, double y, double z, double t, double a, double b) {
	return ((double) (((double) (((double) (z + ((double) (x + ((double) (y - ((double) (z * ((double) (((double) log(((double) cbrt(t)))) * 2.0)))))))))) - ((double) (z * ((double) log(((double) cbrt(t)))))))) + ((double) (((double) (a - 0.5)) * b))));
}

Error

Bits error versus x

Bits error versus y

Bits error versus z

Bits error versus t

Bits error versus a

Bits error versus b

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Target

Original0.1
Target0.4
Herbie0.1
\[\]

Derivation

  1. Initial program 0.1

    \[\]
  2. Using strategy rm
  3. Applied add-cube-cbrt0.1

    \[\leadsto \]
  4. Applied log-prod0.1

    \[\leadsto \]
  5. Applied distribute-lft-in0.1

    \[\leadsto \]
  6. Applied associate--r+0.1

    \[\leadsto \]
  7. Simplified0.1

    \[\leadsto \]
  8. Final simplification0.1

    \[\leadsto \]

Reproduce

herbie shell --seed 2020180 
(FPCore (x y z t a b)
  :name "Numeric.SpecFunctions:logBeta from math-functions-0.1.5.2, A"
  :precision binary64

  :herbie-target
  (+ (+ (+ x y) (/ (* (- 1.0 (pow (log t) 2.0)) z) (+ 1.0 (log t)))) (* (- a 0.5) b))

  (+ (- (+ (+ x y) z) (* z (log t))) (* (- a 0.5) b)))