Average Error: 0.5 → 0.5
Time: 20.6s
Precision: 64
Internal Precision: 576
\[\sqrt{x - 1} \cdot \sqrt{x}\]
\[\sqrt{x - 1} \cdot \sqrt{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 - 1} \cdot \sqrt{x}\]
  2. Final simplification0.5

    \[\leadsto \sqrt{x - 1} \cdot \sqrt{x}\]

Runtime

Time bar (total: 20.6s)Debug logProfile

herbie shell --seed 2018225 
(FPCore (x)
  :name "sqrt times"
  (* (sqrt (- x 1)) (sqrt x)))