Average Error: 0.0 → 0.0
Time: 5.1s
Precision: 64
Internal Precision: 320
\[{x}^{2} + {y}^{2}\]
\[x \cdot x + y \cdot y\]

Error

Bits error versus x

Bits error versus y

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[{x}^{2} + {y}^{2}\]
  2. Initial simplification0.0

    \[\leadsto x \cdot x + y \cdot y\]
  3. Final simplification0.0

    \[\leadsto x \cdot x + y \cdot y\]

Runtime

Time bar (total: 5.1s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (x y)
  :name "x^2 + y^2"
  (+ (pow x 2) (pow y 2)))