This is a beta autodoc build; expect bugs and missing information.
std
math
sqrt
fn
sqrt
(
x
:
anytype
)
Sqrt
(
@TypeOf
(
x
)
)
[
src
]
Returns the square root of x.
Special Cases:
sqrt(+inf) = +inf
sqrt(+-0) = +-0
sqrt(x) = nan if x < 0
sqrt(nan) = nan TODO Decide if all this logic should be implemented directly in the @sqrt builtin function.
Parameters
x
:
anytype
,