Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2006.04.09;
Скачать: 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 вся ветка

Текущий архив: 2006.04.09;
Скачать: CL | DM;

Наверх




Память: 0.44 MB
Время: 0.019 c
15-1142787736
Predator
2006-03-19 20:02
2006.04.09
Как зарабатывать деньги в инете ?


2-1143012046
Ньюб2
2006-03-22 10:20
2006.04.09
предотвратить отключение монитора


2-1143205376
san_pancho
2006-03-24 16:02
2006.04.09
Кодировка


4-1137944963
Dyakon_Frost
2006-01-22 18:49
2006.04.09
Отключение системных служб


15-1142694690
Vlad_
2006-03-18 18:11
2006.04.09
Кто напишет простенькую прогу за 5 Баксов(На мобильный или WM)





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский