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.
23 lines
595 B
Markdown
23 lines
595 B
Markdown
4 years ago
|
## Exp2
|
||
|
Return 2 raised to the power of the parameter
|
||
|
|
||
|
### Các phiên bản
|
||
|
```glsl
|
||
|
float exp2(float x)
|
||
|
vec2 exp2(vec2 x)
|
||
|
vec3 exp2(vec3 x)
|
||
|
vec4 exp2(vec4 x)
|
||
|
```
|
||
|
|
||
|
### Các tham số
|
||
|
```x``` specify the value of the power to which 2 will be raised.
|
||
|
|
||
|
### Mô tả
|
||
|
```exp2()``` returns 2 raised to the power of ```x```.
|
||
|
|
||
|
<div class="simpleFunction" data="y = exp2(x); "></div>
|
||
|
|
||
|
### Tham khảo thêm
|
||
|
|
||
|
[log](/glossary/?lan=vi&search=log), [log2](/glossary/?lan=vi&search=log2), [exp](/glossary/?lan=vi&search=exp), [Các hàm số cơ bản (Hàm hình dạng - Shape function)](/05/?lan=vi)
|