sqrt function

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.


In this topic