You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
## Sqrt
Tính căn bậc hai của một số.
### Các phiên bản
```glsl
float sqrt(float x)
vec2 sqrt(vec2 x)
vec3 sqrt(vec3 x)
vec4 sqrt(vec4 x)
```
### Các tham số
```x``` Số cần tính căn bậc 2.
### Mô tả
```sqrt()``` trả về căn bậc 2 của ```x```.
< div class = "simpleFunction" data = "y = sqrt(x); " > < / div >
< div class = "codeAndCanvas" data = "../07/circle-making.frag" > < / div >
### Tham khảo thêm
[inversesqrt ](/glossary/?lan=vi&search=inversesqrt ), [pow ](/glossary/?lan=vi&search=pow ), [Các hàm số cơ bản (Hàm hình dạng - Shape function) ](/05/?lan=vi )