The Open
D
Programming Language
Learn
Language
Library
Contribute
Blog
sqrt
core
math
Compute square root of x.
Special Values
x
sqrt(x)
invalid?
-0.0
-0.0
no
<0.0
NaN
yes
+∞
+∞
no
float
sqrt
(float x)
version(LDC)
@
nogc
nothrow @
safe
pure pragma(
inline
, true)
float
sqrt
(
float
x
)
double
sqrt
(double x)
real
sqrt
(real x)
Meta
Source
See Implementation
core
math
aliases
cos
fabs
rint
rndtol
sin
functions
ldexp
rndtonl
sqrt
toPrec
Compute square root of x.