Average Error: 0.5 → 0
Time: 3.8s
Precision: 64
Internal Precision: 320
\[\sqrt{-x} \cdot \sqrt{-x}\]
\[-x\]

Error

Bits error versus x

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.5

    \[\sqrt{-x} \cdot \sqrt{-x}\]
  2. Initial simplification0

    \[\leadsto -x\]
  3. Final simplification0

    \[\leadsto -x\]

Runtime

Time bar (total: 3.8s)Debug log

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