aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/arduino/sqrt.rst
blob: 5b8a73eba5ec8cccbf22d467e599e6effb5d70a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.. _arduino-sqrt:

sqrt(x)
=======

Description
-----------

Calculates the square root of a number.



Parameters
----------

x: the number, any data type



Returns
-------

double, the number's square root.



See also
--------


-  `pow <http://arduino.cc/en/Reference/Pow>`_\ ()
-  `sq <http://arduino.cc/en/Reference/Sq>`_\ ()