Average Error: 0.0 → 0.0
Time: 19.1s
Precision: 64
Internal Precision: 320
\[\left(x \cdot x + y \cdot y\right) + z \cdot z\]
\[y \cdot y + \left(z \cdot z + x \cdot x\right)\]

Error

Bits error versus x

Bits error versus y

Bits error versus z

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\left(x \cdot x + y \cdot y\right) + z \cdot z\]
  2. Initial simplification0.0

    \[\leadsto y \cdot y + \left(x \cdot x + z \cdot z\right)\]
  3. Final simplification0.0

    \[\leadsto y \cdot y + \left(z \cdot z + x \cdot x\right)\]

Runtime

Time bar (total: 19.1s)Debug log

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