mir-core — Libmir Archive
Libmir Archive
API Reference Index
mir-core Guide
Dlang.org
sqrt
mir
math
common
Computes the square root of x for any arithmetic type T.
T
sqrt
(T x)
T
sqrt
(T x)
T
sqrt
(T x)
version(!LDC && !GNU)
static if
(!(
__VERSION__ >= 2082
))
T
sqrt
(
T
)
(
in
T
x
)
if
(
isFloatingPoint
!
T
)
mir
math
common
aliases
fastmath
fmamath
optmath
functions
approxEqual
ceil
copysign
cos
exp
exp2
fabs
floor
fmax
fmin
fmuladd
log
log10
log2
nearbyint
pow
powi
rint
round
sin
sqrt
trunc
Computes the square root of x for any arithmetic type T.