sqrt function

CityEngine 2024.1    |    |  

Syntax

  • float sqrt(x)

Parameters

  1. xfloat

Returns

The non-negative square root of x. If x is negative, nan is generated.

Description

The sqrt function calculates the square root of x.