company logo

Value :: sqrt - Calculate square root

The function returns the square root for the value.

Return value:  Value ( odaba::Value & )

Value of any type.

Implementation details

odaba::Value Value  :: sqrt (  )

The function converts the value into a double float point value. When conversion fails, the function throws an exception. Otherwise, the function calculated the square root.