C Tutorial/math.h/expm1 — различия между версиями

Материал из C\C++ эксперт
Перейти к: навигация, поиск
м (1 версия: Импорт контента...)
 
(нет различий)

Текущая версия на 13:32, 25 мая 2010

expm1

Item Value Header file math.h Declaration float expm1f(float arg);double expm1(double arg);long double expm1l(long double arg); Return returns the natural logarithm e raised to the arg power, minus 1( e^arg-1).


<source lang="cpp">#include <math.h>

 #include <stdio.h>
 int main(void)
 {
    printf("Value of e to the first: %f.", expm1f(1.0));
 }</source>