System.Math.IntPower

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function IntPower(const Base: Single; const Exponent: Integer): Single;
function IntPower(const Base: Double; const Exponent: Integer): Double;
function IntPower(const Base: Extended; const Exponent: Integer): Extended;

C++

extern DELPHI_PACKAGE float __fastcall IntPower(const float Base, const int Exponent)/* overload */;

プロパティ

種類 可視性 ソース ユニット
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

説明

底として指定された値の整数乗を計算します。

IntPower は、Base で指定された底を Exponent で指定された指数で累乗した値を返します。

関連項目