Average Error: 0.1 → 0.1
Time: 8.5s
Precision: 64
Internal precision: 128
\[x \cdot \frac{\sin y}{y}\]
\[x \cdot \frac{\sin y}{y}\]

Error

Bits error versus x

Bits error versus y

Target

Original0.1
Comparison0.1
Herbie0.1
\[ x \cdot \frac{\sin y}{y} \]

Derivation

  1. Initial program 0.1

    \[x \cdot \frac{\sin y}{y}\]
  2. Removed slow pow expressions

Runtime

Time bar (total: 8.5s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(4166568450 146086331 3685696508 810994455 77077482 1516472654)'
(FPCore (x y)
  :name "Linear.Quaternion:$cexp from linear-1.19.1.3"

  :target
  (* x (/ (sin y) y))

  (* x (/ (sin y) y)))