Non-negative real x—principal square root.
The script rejects v < 0 (square root of a negative real is not computed here). Output is √v to eight decimals using the IEEE double result of Math.sqrt.
This calculator uses plain decimal numbers. If a result looks wrong, check whether you used a comma instead of a dot (or vice versa) where the field expects one.