Average Error: 0.5 → 0.5
Time: 36.3s
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

  1. Inputs

  2. Original Output:

    Herbie Output:

Derivation

  1. Initial program 0.5

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

Runtime

Time bar (total: 36.3s)Debug logProfile

herbie shell --seed '#(1072361757 3390613284 2339397988 1175251238 145061547 3101881848)' +o rules:numerics
(FPCore (x)
  :name "sqrt times"
  (* (sqrt (- x 1)) (sqrt x)))