thebookofshaders/glossary/exp2/README-ua.md

22 lines
705 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## exp2
Повертає число 2 піднесене до заданого степеня.
### Оголошення
```glsl
float exp2(float x)
vec2 exp2(vec2 x)
vec3 exp2(vec3 x)
vec4 exp2(vec4 x)
```
### Параметри
**```x```** — значення степеня, до якого буде піднесено число 2.
### Опис
**```exp2()```** повертає число 2 у степені **`x`**.
<div class="simpleFunction" data="y = exp2(x); "></div>
### Дивіться також
[log](/glossary/?lan=ua&search=log), [log2](/glossary/?lan=ua&search=log2), [exp](/glossary/?lan=ua&search=exp), [Розділ 05: Формотворчі функції](/05/?lan=ua)