Average Error: 13.7 → 10.4
Time: 12.8s
Precision: binary64
\[\]
\[\]

Error

Bits error versus F

Bits error versus B

Bits error versus x

Derivation

  1. Initial program 13.7

    \[\]
  2. Simplified10.5

    \[\leadsto \]
  3. Using strategy rm
  4. Applied associate-*r/10.4

    \[\leadsto \]
  5. Final simplification10.4

    \[\leadsto \]

Reproduce

herbie shell --seed 2020191 
(FPCore (F B x)
  :name "VandenBroeck and Keller, Equation (23)"
  :precision binary64
  (+ (neg (* x (/ 1.0 (tan B)))) (* (/ F (sin B)) (pow (+ (+ (* F F) 2.0) (* 2.0 x)) (neg (/ 1.0 2.0))))))