Average Error: 0.0 → 0.3
Time: 14.6s
Precision: 64
Internal precision: 128
\[\left(x + \cos y\right) - z \cdot \sin y\]
\[\left(x + \cos y\right) - {\left(\sqrt[3]{z \cdot \sin y}\right)}^3\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Target

Original0.0
Comparison0.0
Herbie0.3
\[ \left(x + \cos y\right) - z \cdot \sin y \]

Derivation

  1. Initial program 0.0

    \[\left(x + \cos y\right) - z \cdot \sin y\]
  2. Using strategy rm
  3. Applied add-cube-cbrt 0.3

    \[\leadsto \left(x + \cos y\right) - \color{blue}{{\left(\sqrt[3]{z \cdot \sin y}\right)}^3}\]
  4. Removed slow pow expressions

Runtime

Time bar (total: 14.6s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(72801181 3587123413 4044988771 107139423 4158501774 697780877)'
(FPCore (x y z)
  :name "Graphics.Rasterific.Svg.PathConverter:segmentToBezier from rasterific-svg-0.2.3.1, B"

  :target
  (- (+ x (cos y)) (* z (sin y)))

  (- (+ x (cos y)) (* z (sin y))))