C Tutorial/math.h/cbrt

Материал из C\C++ эксперт
Версия от 10:32, 25 мая 2010; Admin (обсуждение | вклад) (1 версия: Импорт контента...)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

cbrt

Item Value Header file math.h Declaration float cbrtf(float num);double cbrt(double num);long double cbrtl(long double num); Return returns the cube root of num.


#include <math.h>
  #include <stdio.h>
  int main(void)
  {
  printf("%f", cbrt(8));
}