Home
Manual
Topics
Types
Symbols
std::sqr
returns the square of its (numerical) argument
Parameter
value
the value to square
Result
value
the square of the argument
Example
println! sqr(4)
Output
16
Topic
Math
See also
std::pow
computes the power of its first argument to the second argument
std::sqrt
computes the square root of its argument
std::isqrt
returns the integer square root of its argument