Rechercher une page de manuel
pow
Langue: ja
Version: 2002-07-27 (fedora - 25/11/07)
Section: 3 (Bibliothèques de fonctions)
名前
pow, powf, powl - 累乗関数書式
#include <math.h> double pow(double x, double y);
float powf(float x, float y);
long double powl(long double x, long double y);
-lm でリンクする。
説明
pow() 関数は x の y 乗の値を返す。エラー
pow() 関数は以下のエラーを返す:- EDOM
- 引き数 x が負、かつ y が整数値でない。 この場合、結果は複素数になるからである。
準拠
SVr4, 4.3BSD, C89. float 版と long double 版は C99 の要求仕様である。関連項目
cbrt(3), cpow(3), sqrt(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre