Average Error: 0.0 → 0.0
Time: 8.4s
Precision: 64
Internal precision: 128
\[x - y \cdot y\]
\[x - {y}^2\]

Error

Bits error versus x

Bits error versus y

Target

Original0.0
Comparison0.0
Herbie0.0
\[ x - {y}^2 \]

Derivation

  1. Initial program 0.0

    \[x - y \cdot y\]
  2. Applied simplify 0.0

    \[\leadsto \color{blue}{x - {y}^2}\]
  3. Removed slow pow expressions

Runtime

Time bar (total: 8.4s) Debug log

Please include this information when filing a bug report:

herbie --seed '#(566732350 2353506340 4222299995 1679412169 1780225088 226342810)'
(FPCore (x y)
  :name "Graphics.Rasterific.Shading:$sradialGradientWithFocusShader from Rasterific-0.6.1"

  :target
  (- x (sqr y))

  (- x (* y y)))