Average Error: 0.0 → 0.0
Time: 7.9s
Precision: 64
Internal Precision: 576
\[\sqrt{\frac{\left|s\right| + a}{2}}\]
\[\sqrt{\frac{\left|s\right| + a}{2}}\]

Error

Bits error versus s

Bits error versus a

Try it out

Your Program's Arguments

Results

Enter valid numbers for all inputs

Derivation

  1. Initial program 0.0

    \[\sqrt{\frac{\left|s\right| + a}{2}}\]
  2. Final simplification0.0

    \[\leadsto \sqrt{\frac{\left|s\right| + a}{2}}\]

Runtime

Time bar (total: 7.9s)Debug log

herbie shell --seed '#(2775764126 3555076145 3898259844 1891440260 2599947619 1948460636)' 
(FPCore (s a)
  :name "sqrt((abs(s)+a)/2)"
  (sqrt (/ (+ (fabs s) a) 2)))