Average Error: 0.0 → 0
Time: 2.7s
Precision: 64
Internal Precision: 576
\[\frac{{x}^{2}}{2}\]
\[x \cdot \frac{x}{2}\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\frac{{x}^{2}}{2}\]
  2. Initial simplification0

    \[\leadsto \frac{x}{2} \cdot x\]
  3. Final simplification0

    \[\leadsto x \cdot \frac{x}{2}\]

Runtime

Time bar (total: 2.7s)Debug log

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