C Tutorial/math.h/exp2 — различия между версиями
Admin (обсуждение | вклад) м (1 версия: Импорт контента...) |
Admin (обсуждение | вклад) м (1 версия: Импорт контента...) |
(нет различий)
|
Текущая версия на 10:32, 25 мая 2010
exp2
Item Value Header file math.h Declaration float exp2f(float arg);double exp2(double arg);long double exp2l(long double arg); Return returns 2 raised to the arg power.
#include <math.h>
#include <stdio.h>
int main(void)
{
printf("Value of e to the first: %f.", exp2(1.0));
}