[math.sqrt]

math.sqrt is a slot in the math namespace, in Hyperlambda, the language of Magic Cloud. Calculates the square root of the specified value.

  • Value (number), required: Numeric value to transform
  • Returns: Resolves to the square root of the supplied value

Guide: How to use [math.sqrt]

JSON declaration

This is the complete declaration of math.sqrt, as the running system describes it. It is also published as slot.json.

JSON declaration
{
  "name": "math.sqrt",
  "description": "Calculates the square root of the specified value",
  "signature": {
    "input": {
      "kind": "number",
      "description": "Numeric value to transform",
      "required": true,
      "mode": "ValueOrExpression"
    },
    "output": {
      "mode": "Value",
      "kind": "number",
      "description": "Resolves to the square root of the supplied value"
    }
  }
}

← math.sin all math.* slots math.subtract →