Вниз
Скачать: CL | DM;

C++   Найти похожие ветки 

 
Silica ©   (2006-03-15 20:31) [0]

Подскажите, пожалуйста, что такое pow(...). В С++ не работает справка, а книг нет. Нужно написать прогу в дельфи, а пример программы написан на C++.
Буду оч благодарна. Заранее спасибо. :)


 
Джо ©   (2006-03-15 20:39) [1]

Степень, наверное.


 
Cash ©   (2006-03-15 20:41) [2]

Pow - от power.

На по справке:

Header File
math.h

Category
Math Routines

Syntax
#include <math.h>
double pow(double x, double y);
long double powl(long double x, long double y);

Description
Calculates x to the power of y.

powl is the long double version; it takes long double arguments and returns a long double result.

Return Value
On success, pow and powl return the value calculated of x to the power of y.

Sometimes the arguments passed to these functions produce results that overflow or are incalculable. When the correct value would overflow, the functions return the value HUGE_VAL (pow) or _LHUGE_VAL (powl). Results of excessively large magnitude can cause the global variable errno to be set to

ERANGE Result out of range
If the argument x passed to pow or powl is real and less than 0, and y is not a whole number, or you call pow(0,0), the global variable errno is set to



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.043 c
2-1143039918
Vitalik__
2006-03-22 18:05
2006.04.09
наверное работа с таймером. не уверен


2-1142815153
BOB_KAMIKAZE
2006-03-20 03:39
2006.04.09
ПАНЕЛЬ ЗАДАЧ


4-1137450924
snowkam
2006-01-17 01:35
2006.04.09
Принтера HP


15-1142361812
zlib
2006-03-14 21:43
2006.04.09
Алгоритм сжатия


15-1142588571
msguns
2006-03-17 12:42
2006.04.09
Коплектация в мелкосерийном и единичном произодстве




   Наверх